17 #ifndef HH_SENF_Packets_DefaultBundle_ICMPv6Packet_ 18 #define HH_SENF_Packets_DefaultBundle_ICMPv6Packet_ 1 29 # include SENF_FIXED_PARSER() 61 using mixin::nextPacketRange;
62 using mixin::nextPacketType;
64 using mixin::initSize;
66 static void dump(packet p, std::ostream & os);
74 p->checksum() << p->calcChecksum();
PacketTypeMixin< ICMPv6PacketType, ICMPTypes > mixin
ICMPv6PacketParser parser
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.
ConcretePacket< ICMPv6PacketType > packet
#define SENF_PARSER_FINALIZE(name)
Generate parser control members.
void dump(std::ostream &os, DirectoryNode &dir=root())
Protocol specific packet handle.
Helper base-class implementing the PacketType interface.
Packet next() const
Get next packet in chain.
SENF_PACKET_PREVENT_TEMPLATE_INSTANTIATION(RadiotapPacket)
static void finalize(packet p)
UInt16Parser checksum() const
boost::uint16_t calcChecksum() const
static key_t nextPacketKey(packet p)
Parse 16bit unsigned byte aligned integer.
ConcretePacket< ICMPv6PacketType > ICMPv6Packet
ICMPv6 packet typedef.