X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2F80211Bundle%2FWLANBeaconPacket.hh;h=3451770f625f835f997f8d2369734f05b6307d69;hb=eb2dc72ff79098515b03945c611955704b1babe3;hp=fcfe80d06aa9dd6f8610de2191731ca222e616ea;hpb=a3f9296f648c4991a1576d4200abfdc72788bc16;p=senf.git diff --git a/senf/Packets/80211Bundle/WLANBeaconPacket.hh b/senf/Packets/80211Bundle/WLANBeaconPacket.hh index fcfe80d..3451770 100644 --- a/senf/Packets/80211Bundle/WLANBeaconPacket.hh +++ b/senf/Packets/80211Bundle/WLANBeaconPacket.hh @@ -38,12 +38,12 @@ namespace senf { { # include SENF_PARSER() - SENF_PARSER_FIELD( timestamp, UInt64LSBParser ); - SENF_PARSER_FIELD( beaconInterval, UInt16LSBParser ); - SENF_PARSER_SKIP(2,2); //capability flags + SENF_PARSER_FIELD( timestamp, UInt64LSBParser ); + SENF_PARSER_FIELD( beaconInterval, UInt16LSBParser ); + SENF_PARSER_SKIP ( 2,2); //capability flags - //SSID element -// SENF_PARSER_FIELD() + SENF_PARSER_FIELD( ssidIE, WLANSSIDInfoElementParser ); + WLANSSIDInfoElementParser::value_t ssid() const { return ssidIE().value(); } SENF_PARSER_FINALIZE( WLANBeaconPacketParser ); @@ -60,16 +60,16 @@ namespace senf { \ingroup protocolbundle_80211 */ struct WLANBeaconPacketType - : public senf::PacketTypeBase, - public senf::PacketTypeMixin + : public PacketTypeBase, + public PacketTypeMixin { - typedef senf::PacketTypeMixin mixin; - typedef senf::ConcretePacket packet; + typedef PacketTypeMixin mixin; + typedef ConcretePacket packet; typedef WLANBeaconPacketParser parser; using mixin::init; using mixin::initSize; - using senf::PacketTypeBase::nextPacketRange; + using PacketTypeBase::nextPacketRange; static void dump(packet p, std::ostream &os); };