17 #ifndef HH_SENF_Packets_DefaultBundle_TCPPacket_ 18 #define HH_SENF_Packets_DefaultBundle_TCPPacket_ 1 38 # include SENF_PARSER() 141 using mixin::nextPacketRange;
142 using mixin::initSize;
146 static void dump(packet p, std::ostream & os);
148 static void finalize(packet p);
UInt32Parser acknowledgmentnumber() const
#define SENF_PARSER_BITFIELD(name, bits, type)
Define bit-field.
senf::FlagParser<?> synf() const
UInt32Parser sequencenumber() const
Mixin to provide standard implementations for nextPacketRange and nextPacketType. ...
ConcretePacket< TCPPacketType > packet
TCP packet typedef.
senf::FlagParser<?> rstf() const
DefaultBundle packet registries public header.
senf::UIntFieldParser<?,?+6 > reserved() const
PacketTypeMixin< TCPPacketType > mixin
boost::uint16_t calcChecksum() const
calculate (pseudo-)header checksum
#define SENF_PARSER_FIELD(name, type)
Define normal parser field.
UInt16Parser urgentpointer() const
TCPPacketParser parser
typedef to the parser of TCP packet
#define SENF_PARSER_FINALIZE(name)
Generate parser control members.
ConcretePacket< TCPPacketType > TCPPacket
TCP packet typedef.
void dump(std::ostream &os, DirectoryNode &dir=root())
Protocol specific packet handle.
senf::FlagParser<?> ackf() const
Helper base-class implementing the PacketType interface.
bool validateChecksum() const
validate header checksum
#define SENF_PARSER_INIT()
Define parser initialization routine.
senf::UIntFieldParser<?,?+4 > dataoffset() const
#define SENF_PARSER_SKIP(skip)
Skip bytes.
SENF_PACKET_PREVENT_TEMPLATE_INSTANTIATION(RadiotapPacket)
UInt16Parser destination() const
UInt16Parser checksum() const
senf::FlagParser<?> finf() const
Parse 32bit unsigned byte aligned integer.
#define SENF_PARSER_PRIVATE_BITFIELD(name, bits, type)
Define bit-field (private)
Parse 16bit unsigned byte aligned integer.
senf::FlagParser<?> pshf() const
UInt16Parser source() const
senf::FlagParser<?> urgf() const
UInt16Parser window() const