17 #ifndef HH_SENF_Packets_MPEGDVBBundle_GREPacket_ 18 #define HH_SENF_Packets_MPEGDVBBundle_GREPacket_ 1 36 # include SENF_PARSER() 44 # include SENF_PARSER() 79 using mixin::nextPacketRange;
80 using mixin::nextPacketType;
82 using mixin::initSize;
84 static void dump(packet p, std::ostream & os);
86 return p->protocol_type();
88 static void finalize(packet p);
#define SENF_PARSER_BITFIELD(name, bits, type)
Define bit-field.
Mixin to provide standard implementations for nextPacketRange and nextPacketType. ...
DefaultBundle packet registries public header.
#define SENF_PARSER_FIELD(name, type)
Define normal parser field.
#define SENF_PARSER_PRIVATE_VARIANT(name, chooser, types)
Define private VariantParser field.
#define SENF_PARSER_PRIVATE_FIELD(name, type)
Define parser field (private)
ConcretePacket< GREPacketType > packet
#define SENF_PARSER_FINALIZE(name)
Generate parser control members.
UInt16Parser reserved1_() const
void dump(std::ostream &os, DirectoryNode &dir=root())
Protocol specific packet handle.
Helper base-class implementing the PacketType interface.
Default parser parsing nothing.
PacketTypeMixin< GREPacketType, EtherTypes > mixin
UInt16Parser checksum1_() const
GREPacketType::packet GREPacket
GRE packet typedef.
static EtherTypes::key_t nextPacketKey(packet p)
#define SENF_PARSER_PRIVATE_BITFIELD(name, bits, type)
Define bit-field (private)
Parse 16bit unsigned byte aligned integer.