17 #ifndef HH_SENF_Ext_NetEmu_Packets_ 18 #define HH_SENF_Ext_NetEmu_Packets_ 1 34 # include SENF_FIXED_PARSER() 73 using mixin::nextPacketRange;
74 using mixin::nextPacketType;
75 using mixin::initSize;
78 static key_t nextPacketKey(packet p);
80 static void dump(packet p, std::ostream & os);
81 static void finalize(packet p);
114 # include SENF_PARSER() 132 using mixin::nextPacketRange;
133 using mixin::initSize;
136 static factory_t nextPacketType(packet p);
137 static void dump(packet p, std::ostream & os);
138 static void finalize(packet p);
148 # include SENF_FIXED_PARSER() 163 public PacketTypeMixin<EmulatedWirelessPacketHeaderType, InterfaceTypes>
169 using mixin::nextPacketRange;
170 using mixin::nextPacketType;
171 using mixin::initSize;
174 static key_t nextPacketKey(packet p);
175 static void dump(packet p, std::ostream & os);
176 static void finalize(packet p);
186 # include SENF_FIXED_PARSER() 201 using mixin::nextPacketRange;
202 using mixin::initSize;
205 static factory_t nextPacketType(packet p);
206 static void dump(packet p, std::ostream & os);
216 # include SENF_FIXED_PARSER() 231 using mixin::nextPacketRange;
232 using mixin::initSize;
235 static factory_t nextPacketType(packet p);
236 static void dump(packet p, std::ostream & os);
#define SENF_PARSER_BITFIELD(name, bits, type)
ConcretePacket< PacketHeaderType > PacketHeader
PacketHeader packet typedef.
SENF_PACKET_PREVENT_TEMPLATE_INSTANTIATION(AnnotationsPacket)
#define SENF_PARSER_FIELD(name, type)
ConcretePacket< WLANPacketHeaderType > WLANPacketHeader
Helper to log all emulated packet information.
#define SENF_PARSER_FINALIZE(name)
void dump(std::ostream &os, DirectoryNode &dir=root())
#define SENF_PARSER_INIT()
dumpPacketInfo(senf::Packet const &p)
ConcretePacket< EmulatedWirelessPacketHeaderType > EmulatedWirelessPacketHeader
ConcretePacket< EthernetPacketHeaderType > EthernetPacketHeader
ConcretePacket< DVBPacketHeaderType > DVBPacketHeader
std::ostream & operator<<(std::ostream &os, InterfaceDeviceId const &id)
PacketInterpreterBase::factory_t factory_t
Emulated interface header type packet registry.
InterfaceTypes ::key_t key_t