#include <senf/Ext/NetEmu/P2PTunnel/TunnelCtrlPacket.hh>
Public Types | |
enum | CmdCode { SetupRequest =1, SetupAck, SetupReject, TerminateRequest, TerminateAck, EchoRequest, EchoReply } |
typedef UInt8Parser | code_t |
Public Types inherited from senf::PacketParserBase | |
typedef detail::packet::iterator | data_iterator |
typedef detail::packet::size_type | size_type |
typedef detail::packet::difference_type | difference_type |
typedef detail::packet::byte | byte |
typedef PacketData * | state_type |
typedef PacketParserBase | parser_base_type |
Public Member Functions | |
UInt8Parser | code () const |
senf::Parse_Variant_Direct< code_t,?,(ids(na, na, na, key(0, VoidPacketParser)))(ids(capacity, has_capacity, add_capacity, key(SetupRequest, TunnelCapacityPacketParser))) >::parser | code__ () const |
Public Member Functions inherited from senf::PacketParserBase | |
data_iterator | i () const |
data_iterator | i (size_type offset) const |
state_type | state () const |
PacketData & | data () const |
void | init () const |
Additional Inherited Members | |
Protected Member Functions inherited from senf::PacketParserBase | |
ParserProtector | protect () const |
PacketParserBase (data_iterator i, state_type s) | |
PacketParserBase (data_iterator i, state_type s, size_type size) | |
bool | check (size_type size) const |
void | validate (size_type size) const |
Parser | parse (data_iterator i) const |
Parser | parse (Arg const &arg, data_iterator i) const |
Parser | parse (size_type n) const |
Parser | parse (Arg const &arg, size_type n) const |
void | defaultInit () const |
Packet | packet () const |
void | resize (size_type oldSize, size_type newSize) |
Definition at line 36 of file TunnelCtrlPacket.hh.
Definition at line 42 of file TunnelCtrlPacket.hh.
Enumerator | |
---|---|
SetupRequest | |
SetupAck | |
SetupReject | |
TerminateRequest | |
TerminateAck | |
EchoRequest | |
EchoReply |
Definition at line 38 of file TunnelCtrlPacket.hh.
UInt8Parser senf::emu::TunnelCtrlPacketParser::code | ( | ) | const |
senf::Parse_Variant_Direct< code_t,?, ( ids( na, na, na, key(0, VoidPacketParser )) ) ( ids( capacity, has_capacity, add_capacity, key(SetupRequest, TunnelCapacityPacketParser)) ) >::parser senf::emu::TunnelCtrlPacketParser::code__ | ( | ) | const |