17 #ifndef HH_SENF_Ext_NetEmu_AnnotationsPacket_ 18 #define HH_SENF_Ext_NetEmu_AnnotationsPacket_ 1 34 # include SENF_FIXED_PARSER() 82 using mixin::nextPacketRange;
83 using mixin::initSize;
86 static factory_t nextPacketType(packet p);
88 static void dump(packet p, std::ostream & os);
89 static void finalize(packet p);
91 static const std::uint16_t extType = 0x50;
static MACAddress const None
senf::UInt8Parser type() const
#define SENF_PARSER_BITFIELD(name, bits, type)
SENF_PACKET_PREVENT_TEMPLATE_INSTANTIATION(AnnotationsPacket)
senf::UIntFieldParser<?,?+7 > unused() const
senf::UInt64Parser timestampMAC() const
senf::FlagParser<?> duplicated() const
senf::FlagParser<?> retransmitted() const
#define SENF_PARSER_FIELD(name, type)
PacketTypeMixin< AnnotationsPacketType > mixin
EthernetPacket prependAnnotationsPacket(Packet const &pkt, MACAddress const &src_=senf::MACAddress::None, MACAddress const &dst_=senf::MACAddress::Broadcast)
AnnotationsPacketParser parser
senf::FlagParser<?> corrupt() const
#define SENF_PARSER_FINALIZE(name)
senf::UInt32Parser modulationId() const
void dump(std::ostream &os, DirectoryNode &dir=root())
senf::FlagParser<?> reordered() const
senf::UIntFieldParser<?,?+12 > length() const
ConcretePacket< AnnotationsPacketType > packet
senf::Int64Parser timestamp() const
senf::UInt16Parser snr() const
senf::UIntFieldParser<?,?+8 > gap() const
senf::UInt16Parser airTime() const
senf::FlagParser<?> aggregated() const
PacketInterpreterBase::factory_t factory_t
ConcretePacket< EthernetPacketType > EthernetPacket
MACAddressParser interfaceId() const
senf::Int16Parser rssi() const
Parse an Annotations packet.
static MACAddress const Broadcast