Emulated network packet header parser. More...

#include <senf/Ext/NetEmu/Packets.hh>

Inheritance diagram for senf::emu::PacketHeaderParser:

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 PacketDatastate_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
 
PacketDatadata () 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)
 

Detailed Description

Emulated network packet header parser.

See also
PacketHeaderType

Definition at line 32 of file Packets.hh.

Member Typedef Documentation

◆ interfaceIndex_t

◆ interfaceType_t

◆ nodeId_t

◆ sequenceNumber_t

◆ timestamp_t

Member Function Documentation

◆ interfaceIndex()

UInt32Parser senf::emu::PacketHeaderParser::interfaceIndex ( ) const

◆ interfaceType()

UInt32Parser senf::emu::PacketHeaderParser::interfaceType ( ) const

◆ nodeId()

UInt32Parser senf::emu::PacketHeaderParser::nodeId ( ) const

◆ sequenceNumber()

UInt32Parser senf::emu::PacketHeaderParser::sequenceNumber ( ) const

◆ timestamp()

Int64Parser senf::emu::PacketHeaderParser::timestamp ( ) const

The documentation for this struct was generated from the following file: