17 #ifndef HH_SENF_Packets_DefaultBundle_IPv6Packet_ 18 #define HH_SENF_Packets_DefaultBundle_IPv6Packet_ 1 38 using Base::operator=;
49 # include SENF_FIXED_PARSER() 115 using mixin::nextPacketRange;
116 using mixin::nextPacketType;
117 using mixin::initSize;
121 {
return p->nextHeader(); }
124 static void dump(packet p, std::ostream & os);
126 static void finalize(packet p);
#define SENF_PARSER_BITFIELD(name, bits, type)
Define bit-field.
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.
INet6AddressParser(data_iterator i, state_type s)
#define SENF_PARSER_FINALIZE(name)
Generate parser control members.
ConcretePacket< IPv6PacketType > IPv6Packet
IPv6 packet typedef.
void dump(std::ostream &os, DirectoryNode &dir=root())
Protocol specific packet handle.
Helper base-class implementing the PacketType interface.
Packet data STL-sequence view.
#define SENF_PARSER_INIT()
Define parser initialization routine.
data_iterator i() const
Return beginning of data to parse.
SENF_PACKET_PREVENT_TEMPLATE_INSTANTIATION(RadiotapPacket)
PacketTypeMixin< IPv6PacketType, IPTypes > mixin
Parse 16bit unsigned byte aligned integer.
static key_t nextPacketKey(packet p)
detail::packet::iterator data_iterator
Raw data iterator type.
IPv6PacketParser parser
typedef to the parser of IPv6 packet
ConcretePacket< IPv6PacketType > packet
IPv6 packet typedef.