14 #ifndef HH_SENF_Packets_DefaultBundle_NDPOptions_ 15 #define HH_SENF_Packets_DefaultBundle_NDPOptions_ 1 31 # include SENF_PARSER() 52 # include SENF_PARSER() 63 void dump(std::ostream & os)
const;
68 # include SENF_PARSER() 83 void dump(std::ostream & os)
const;
88 # include SENF_PARSER() 116 void dump(std::ostream & os)
const;
121 # include SENF_PARSER() 136 void dump(std::ostream & os)
const;
#define SENF_PARSER_INHERIT(base)
Define parser inheritance.
IPv6Packet public header.
EthernetPacket public header.
#define SENF_PARSER_BITFIELD(name, bits, type)
Define bit-field.
Parse 8bit unsigned byte aligned integer.
TLV parser registration facility.
Base class for generic TLV parsers.
#define SENF_PARSER_FIELD(name, type)
Define normal parser field.
#define SENF_PARSER_PRIVATE_FIELD(name, type)
Define parser field (private)
Parse an Ethernet MAC address.
senf::PacketParserBase::size_type bytes(NDPTargetLLAddressTLVParser p)
#define SENF_PARSER_FINALIZE(name)
Generate parser control members.
GenericTLVParserBase< NDPOptionParser > base
void dump(std::ostream &os, DirectoryNode &dir=root())
void defaultInit() const
Default implementation.
Packet data STL-sequence view.
#define SENF_PARSER_INIT()
Define parser initialization routine.
boost::uint8_t value_type
data_iterator i() const
Return beginning of data to parse.
detail::packet::size_type size_type
Unsigned integral type.
UInt8Parser length() const
NDPGenericOptionParser(data_iterator i, state_type s)
Parse 32bit unsigned byte aligned integer.
#define SENF_PARSER_PRIVATE_BITFIELD(name, bits, type)
Define bit-field (private)
Parse 16bit unsigned byte aligned integer.
GenericTLVParserRegistry< NDPOptionParser > Registry
senf::PacketParserBase::size_type bytes() const
detail::packet::iterator data_iterator
Raw data iterator type.