Emulated network packet header parser. More...
#include <senf/Ext/NetEmu/Packets.hh>
Public Types | |
typedef UInt32Parser | interfaceType_t |
typedef UInt32Parser | sequenceNumber_t |
typedef Int64Parser | timestamp_t |
typedef UInt32Parser | nodeId_t |
typedef UInt32Parser | interfaceIndex_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 | |
UInt32Parser | interfaceType () const |
UInt32Parser | sequenceNumber () const |
Int64Parser | timestamp () const |
UInt32Parser | nodeId () const |
UInt32Parser | interfaceIndex () 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) |
Emulated network packet header parser.
Definition at line 32 of file Packets.hh.
Definition at line 40 of file Packets.hh.
Definition at line 36 of file Packets.hh.
Definition at line 39 of file Packets.hh.
Definition at line 37 of file Packets.hh.
Definition at line 38 of file Packets.hh.
UInt32Parser senf::emu::PacketHeaderParser::interfaceIndex | ( | ) | const |
UInt32Parser senf::emu::PacketHeaderParser::interfaceType | ( | ) | const |
UInt32Parser senf::emu::PacketHeaderParser::nodeId | ( | ) | const |
UInt32Parser senf::emu::PacketHeaderParser::sequenceNumber | ( | ) | const |
Int64Parser senf::emu::PacketHeaderParser::timestamp | ( | ) | const |