senf::AnnotationsPacketParser Struct Reference

Parse an Annotations packet. More...

#include <senf/Ext/NetEmu/AnnotationsPacket.hh>

Inheritance diagram for senf::AnnotationsPacketParser:

Public Types

typedef MACAddressParser interfaceId_t
 
typedef senf::UInt64Parser timestampMAC_t
 
typedef senf::Int64Parser timestamp_t
 
typedef senf::UInt32Parser modulationId_t
 
typedef senf::UInt16Parser snr_t
 
typedef senf::Int16Parser rssi_t
 
typedef senf::UInt16Parser airTime_t
 
typedef senf::UInt8Parser type_t
 
- Public Types inherited from senf::PacketParserBase
typedef detail::packet::iterator data_iterator
 
typedef detail::packet::size_type size_type
 
typedef detail::packet::difference_type difference_type
 
typedef detail::packet::byte byte
 
typedef PacketDatastate_type
 
typedef PacketParserBase parser_base_type
 

Public Member Functions

MACAddressParser interfaceId () const
 
senf::UInt64Parser timestampMAC () const
 
senf::Int64Parser timestamp () const
 
senf::UInt32Parser modulationId () const
 
senf::UInt16Parser snr () const
 
senf::Int16Parser rssi () const
 
senf::UInt16Parser airTime () const
 
senf::UInt8Parser type () const
 
senf::FlagParser<?> corrupt () const
 
senf::FlagParser<?> retransmitted () const
 
senf::FlagParser<?> duplicated () const
 
senf::FlagParser<?> reordered () const
 
senf::FlagParser<?> aggregated () const
 
senf::UIntFieldParser<?,?+7 > unused () const
 
senf::UIntFieldParser<?,?+8 > gap () const
 
senf::UIntFieldParser<?,?+12 > length () const
 
- Public Member Functions inherited from senf::PacketParserBase
data_iterator i () const
 
data_iterator i (size_type offset) const
 
state_type state () const
 
PacketDatadata () const
 
void init () const
 

Additional Inherited Members

- Protected Member Functions inherited from senf::PacketParserBase
ParserProtector protect () const
 
 PacketParserBase (data_iterator i, state_type s)
 
 PacketParserBase (data_iterator i, state_type s, size_type size)
 
bool check (size_type size) const
 
void validate (size_type size) const
 
Parser parse (data_iterator i) const
 
Parser parse (Arg const &arg, data_iterator i) const
 
Parser parse (size_type n) const
 
Parser parse (Arg const &arg, size_type n) const
 
void defaultInit () const
 
Packet packet () const
 
void resize (size_type oldSize, size_type newSize)
 

Detailed Description

Parse an Annotations packet.

Parser implementing an ethernet header.

See also
AnnotationsPacketType

Definition at line 32 of file AnnotationsPacket.hh.

Member Typedef Documentation

◆ airTime_t

◆ interfaceId_t

◆ modulationId_t

◆ rssi_t

◆ snr_t

◆ timestamp_t

◆ timestampMAC_t

◆ type_t

Member Function Documentation

◆ aggregated()

senf::FlagParser<?> senf::AnnotationsPacketParser::aggregated ( ) const

◆ airTime()

senf::UInt16Parser senf::AnnotationsPacketParser::airTime ( ) const

◆ corrupt()

senf::FlagParser<?> senf::AnnotationsPacketParser::corrupt ( ) const

◆ duplicated()

senf::FlagParser<?> senf::AnnotationsPacketParser::duplicated ( ) const

◆ gap()

senf::UIntFieldParser<?,?+ 8 > senf::AnnotationsPacketParser::gap ( ) const

◆ interfaceId()

MACAddressParser senf::AnnotationsPacketParser::interfaceId ( ) const

◆ length()

senf::UIntFieldParser<?,?+ 12 > senf::AnnotationsPacketParser::length ( ) const

◆ modulationId()

senf::UInt32Parser senf::AnnotationsPacketParser::modulationId ( ) const

◆ reordered()

senf::FlagParser<?> senf::AnnotationsPacketParser::reordered ( ) const

◆ retransmitted()

senf::FlagParser<?> senf::AnnotationsPacketParser::retransmitted ( ) const

◆ rssi()

senf::Int16Parser senf::AnnotationsPacketParser::rssi ( ) const

◆ snr()

senf::UInt16Parser senf::AnnotationsPacketParser::snr ( ) const

◆ timestamp()

senf::Int64Parser senf::AnnotationsPacketParser::timestamp ( ) const

◆ timestampMAC()

senf::UInt64Parser senf::AnnotationsPacketParser::timestampMAC ( ) const

◆ type()

senf::UInt8Parser senf::AnnotationsPacketParser::type ( ) const

◆ unused()

senf::UIntFieldParser<?,?+ 7 > senf::AnnotationsPacketParser::unused ( ) const

The documentation for this struct was generated from the following file: