Data frame parser Re-ordering of bits due to LSB byte order More...
#include <senf/Packets/80211Bundle/WLANPacket.hh>
Public Types | |
typedef UIntFieldParser< 4, 4+4 > | fragmentNumber_t |
Public Types inherited from senf::WLANPacketParser | |
typedef UInt16LSBParser | duration_t |
Public Types inherited from senf::PacketParserBase | |
typedef detail::packet::iterator | data_iterator |
Raw data iterator type. More... | |
typedef detail::packet::size_type | size_type |
Unsigned integral type. More... | |
typedef detail::packet::difference_type | difference_type |
Signed integral type. More... | |
typedef detail::packet::byte | byte |
Unsigned 8bit value, the raw value type. More... | |
typedef PacketData * | state_type |
Type of the 'state' parameter. More... | |
typedef PacketParserBase | parser_base_type |
Base type of the next parser. More... | |
Public Member Functions | |
fragmentNumber_t | fragmentNumber () const |
boost::uint16_t | sequenceNumber () const |
void | sequenceNumber (boost::uint16_t sn) |
senf::Parse_Variant_Direct< subtype_t,?,(ids(na, na, set_data, key(0, VoidPacketParser)))(ids(na, na, set_nullData, key(4, VoidPacketParser)))(ids(qosField, has_qosField, set_qosData, key(8, UInt16LSBParser)))(ids(na, na, set_qosNullData, key(12, UInt16LSBParser))) >::parser | qosField_ () const |
senf::Parse_Variant_Direct< dsBits_t,?,(novalue(disable_mcf, VoidPacketParser))(id(meshControlField, key(3, WLANPacket_MeshControlFieldParser))) >::parser | mcf_ () const |
void | init () |
MACAddressParser | receiverAddress () const |
MACAddressParser | transmitterAddress () const |
MACAddressParser | sourceAddress () const |
MACAddressParser | destinationAddress () const |
MACAddressParser | bssid () const |
Public Member Functions inherited from senf::WLANPacketParser | |
senf::UIntFieldParser<?,?+4 >::value_type | subtype () const |
senf::UIntFieldParser<?,?+2 >::value_type | type () const |
senf::UIntFieldParser<?,?+2 > | version () const |
senf::FlagParser<?> | order () const |
senf::FlagParser<?> | protectedFrame () const |
senf::FlagParser<?> | moreData () const |
senf::FlagParser<?> | pwrMgt () const |
senf::FlagParser<?> | retry () const |
senf::FlagParser<?> | moreFrag () const |
senf::FlagParser<?> | fromDS () const |
senf::FlagParser<?> | toDS () const |
UInt16LSBParser | duration () const |
senf::UIntFieldParser<?,?+2 > | dsBits () const |
Public Member Functions inherited from senf::PacketParserBase | |
data_iterator | i () const |
Return beginning of data to parse. More... | |
data_iterator | i (size_type offset) const |
Return iterator offset bytes from the start. More... | |
state_type | state () const |
Return state of this parser. More... | |
PacketData & | data () const |
Access the packets raw data container. More... | |
void | init () const |
Default implementation. More... | |
Protected Types | |
typedef UIntFieldParser< 0, 0+4 > | seqNumber_1_t |
Protected Member Functions | |
MACAddressParser | addr1 () const |
MACAddressParser | addr2 () const |
MACAddressParser | addr3 () const |
seqNumber_1_t | seqNumber_1 () const |
UInt8Parser | seqNumber_2 () const |
senf::Parse_Variant_Direct< dsBits_t,?,(novalue(disable_addr4, VoidPacketParser))(id(addr4, key(3, MACAddressParser))) >::parser | wds_ () const |
Protected Member Functions inherited from senf::PacketParserBase | |
ParserProtector | protect () const |
PacketParserBase (data_iterator i, state_type s) | |
Standard constructor. More... | |
PacketParserBase (data_iterator i, state_type s, size_type size) | |
Size checking constructor. More... | |
bool | check (size_type size) const |
Check size of data container. More... | |
void | validate (size_type size) const |
Validate size of data container. More... | |
template<class Parser > | |
Parser | parse (data_iterator i) const |
Create sub-parser. More... | |
template<class Parser , class Arg > | |
Parser | parse (Arg const &arg, data_iterator i) const |
Create sub-parser. More... | |
template<class Parser > | |
Parser | parse (size_type n) const |
Create sub-parser. More... | |
template<class Parser , class Arg > | |
Parser | parse (Arg const &arg, size_type n) const |
Create sub-parser. More... | |
void | defaultInit () const |
Default implementation. More... | |
Packet | packet () const |
Get packet this parser is parsing from. More... | |
void | resize (size_type oldSize, size_type newSize) |
Resize data container. More... | |
Data frame parser Re-ordering of bits due to LSB byte order
Definition at line 210 of file WLANPacket.hh.
typedef UIntFieldParser<4, 4+4> senf::WLANPacket_DataFrameParser::fragmentNumber_t |
Definition at line 229 of file WLANPacket.hh.
|
protected |
Definition at line 224 of file WLANPacket.hh.
|
inlineprotected |
Definition at line 217 of file WLANPacket.hh.
|
inlineprotected |
Definition at line 218 of file WLANPacket.hh.
|
inlineprotected |
Definition at line 219 of file WLANPacket.hh.
senf::MACAddressParser senf::WLANPacket_DataFrameParser::bssid | ( | ) | const |
Definition at line 116 of file WLANPacket.cc.
senf::MACAddressParser senf::WLANPacket_DataFrameParser::destinationAddress | ( | ) | const |
Definition at line 90 of file WLANPacket.cc.
|
inline |
Definition at line 230 of file WLANPacket.hh.
|
inline |
Definition at line 260 of file WLANPacket.hh.
senf::Parse_Variant_Direct< dsBits_t,?, ( novalue( disable_mcf, VoidPacketParser )) ( id ( meshControlField, key(3, WLANPacket_MeshControlFieldParser ))) >::parser senf::WLANPacket_DataFrameParser::mcf_ | ( | ) | const |
senf::Parse_Variant_Direct< subtype_t,?, ( ids( na, na, set_data, key(0, VoidPacketParser)) ) ( ids( na, na, set_nullData, key(4, VoidPacketParser)) ) ( ids( qosField, has_qosField, set_qosData, key(8, UInt16LSBParser )) ) ( ids( na, na, set_qosNullData, key(12, UInt16LSBParser)) ) >::parser senf::WLANPacket_DataFrameParser::qosField_ | ( | ) | const |
|
inline |
Definition at line 262 of file WLANPacket.hh.
|
inlineprotected |
Definition at line 225 of file WLANPacket.hh.
|
inlineprotected |
Definition at line 226 of file WLANPacket.hh.
|
inline |
Definition at line 232 of file WLANPacket.hh.
void senf::WLANPacket_DataFrameParser::sequenceNumber | ( | boost::uint16_t | sn | ) |
Definition at line 84 of file WLANPacket.cc.
senf::MACAddressParser senf::WLANPacket_DataFrameParser::sourceAddress | ( | ) | const |
Definition at line 102 of file WLANPacket.cc.
|
inline |
Definition at line 263 of file WLANPacket.hh.
|
protected |