17 #ifndef HH_SENF_Packets_DefaultBundle_LlcSnapPacket_ 18 #define HH_SENF_Packets_DefaultBundle_LlcSnapPacket_ 1 35 # include SENF_FIXED_PARSER() 80 using mixin::nextPacketRange;
81 using mixin::initSize;
84 static factory_t nextPacketType(packet p);
86 static void dump(packet p, std::ostream & os);
87 static void finalize(packet p);
Mixin to provide standard implementations for nextPacketRange and nextPacketType. ...
Parse 8bit unsigned byte aligned integer.
DefaultBundle packet registries public header.
#define SENF_PARSER_FIELD(name, type)
Define normal parser field.
#define SENF_PARSER_FINALIZE(name)
Generate parser control members.
UInt16Parser type_length() const
void dump(std::ostream &os, DirectoryNode &dir=root())
Protocol specific packet handle.
Helper base-class implementing the PacketType interface.
#define SENF_PARSER_INIT()
Define parser initialization routine.
PacketTypeMixin< LlcSnapPacketType, EtherTypes > mixin
SENF_PACKET_PREVENT_TEMPLATE_INSTANTIATION(RadiotapPacket)
ConcretePacket< LlcSnapPacketType > packet
LLC/SNAP packet typedef.
UInt24Parser protocolId() const
Parse 24bit unsigned byte aligned integer.
ConcretePacket< LlcSnapPacketType > LlcSnapPacket
LLC/SNAP packet typedef.
PacketInterpreterBase::factory_t factory_t
Parse 16bit unsigned byte aligned integer.
LlcSnapPacketParser parser
typedef to the parser of LLC/SNAP packet