17 #ifndef HH_SENF_Ext_NetEmu_P2PTunnel_TunnelCtrlPacket_ 18 #define HH_SENF_Ext_NetEmu_P2PTunnel_TunnelCtrlPacket_ 1 30 # include SENF_FIXED_PARSER() 39 SetupRequest=1, SetupAck, SetupReject,
TerminateRequest, TerminateAck, EchoRequest, EchoReply };
41 # include SENF_PARSER() 57 using mixin::nextPacketRange;
58 using mixin::initSize;
61 static void dump(packet p, std::ostream & os);
SENF_PACKET_PREVENT_TEMPLATE_INSTANTIATION(AnnotationsPacket)
ConcretePacket< TunnelCtrlPacketType > packet
#define SENF_PARSER_FIELD(name, type)
#define SENF_PARSER_VARIANT(name, chooser, types)
TunnelCtrlPacketParser parser
#define SENF_PARSER_FINALIZE(name)
void dump(std::ostream &os, DirectoryNode &dir=root())
UInt32Parser fromClientToServer() const
PacketTypeMixin< TunnelCtrlPacketType > mixin
ConcretePacket< TunnelCtrlPacketType > TunnelCtrlPacket
UInt32Parser fromServerToClient() const