17 #ifndef HH_SENF_Packets_MPEGDVBBundle_DTCPPacket_ 18 #define HH_SENF_Packets_MPEGDVBBundle_DTCPPacket_ 1 28 # define DTCP_V4_MCADDRESS "224.0.0.36" 29 # define DTCP_V6_MCADDRESS "FF02:0:0:0:0:0:1:4" 30 # define DTCP_UDP_PORT 652 34 # include SENF_PARSER() 50 # include SENF_PARSER() 74 # include SENF_PARSER() 131 using mixin::nextPacketRange;
133 using mixin::initSize;
135 static void dump(packet p, std::ostream & os);
Parse a DTCP HELLO packet.
IPv6Packet public header.
DTCPIPv4AddressListParser::fbips_t v4fbipList_t
#define SENF_PARSER_BITFIELD(name, bits, type)
Define bit-field.
DTCPHelloPacketType::packet DTCPHelloPacket
DTCP packet typedef.
Mixin to provide standard implementations for nextPacketRange and nextPacketType. ...
Parse 8bit unsigned byte aligned integer.
DTCPHelloPacketParser parser
v6fbipList_t v6fbipList()
#define SENF_PARSER_FIELD(name, type)
Define normal parser field.
#define SENF_PARSER_VARIANT(name, chooser, types)
Define VariantParser field.
#define SENF_PARSER_GOTO(name)
Change current offset.
ConcretePacket< DTCPHelloPacketType > packet
#define SENF_PARSER_PRIVATE_FIELD(name, type)
Define parser field (private)
PacketTypeMixin< DTCPHelloPacketType > mixin
UInt8Parser fbipCount_() const
#define SENF_PARSER_FINALIZE(name)
Generate parser control members.
senf::VectorParser< INet4AddressParser > fbips() const
void dump(std::ostream &os, DirectoryNode &dir=root())
Protocol specific packet handle.
Helper base-class implementing the PacketType interface.
#define SENF_PARSER_VECTOR(name, size, elt_type)
Define VectorParser field.
#define SENF_PARSER_BITFIELD_RO(name, bits, type)
Define bit-field (read-only)
#define SENF_PARSER_INIT()
Define parser initialization routine.
#define SENF_PARSER_FIELD_RO(name, type)
Define parser field (read-only)
UInt8Parser reserved_() const
Collection of fixed-size elements.
DTCPIPv6AddressListParser::fbips_t v6fbipList_t
IPv4Packet public header.
v4fbipList_t v4fbipList()
#define SENF_PARSER_PRIVATE_BITFIELD(name, bits, type)
Define bit-field (private)
Parse 16bit unsigned byte aligned integer.