MIH packet. More...

#include <senf/Packets/80221Bundle/MIHPacket.hh>

Inheritance diagram for senf::MIHPacketType:

Public Types

typedef PacketTypeMixin< MIHPacketType, MIHMessageRegistrymixin
 
typedef ConcretePacket< MIHPacketTypepacket
 MIH packet typedef. More...
 
typedef MIHPacketParser parser
 typedef to the parser of MIH packet More...
 
- Public Types inherited from senf::PacketTypeBase
typedef Packet packet
 
typedef senf::detail::packet::iterator iterator
 
typedef senf::detail::packet::const_iterator const_iterator
 
typedef senf::detail::packet::size_type size_type
 
typedef senf::detail::packet::difference_type difference_type
 
typedef senf::detail::packet::byte byte
 
typedef PacketInterpreterBase::range range
 
typedef PacketInterpreterBase::optional_range optional_range
 
typedef PacketInterpreterBase::factory_t factory_t
 
typedef VoidPacketParser parser
 Parser to parser packet fields. More...
 
- Public Types inherited from senf::PacketTypeMixin< MIHPacketType, MIHMessageRegistry >
typedef MIHMessageRegistry ::key_t key_t
 
typedef boost::optional< key_toptional_key_t
 

Static Public Member Functions

static void dump (packet p, std::ostream &os)
 Dump given MIH packet in readable form to given output stream. More...
 
static void finalize (packet p)
 
static factory_t nextPacketType (packet p)
 
static void validate (packet p)
 
- Static Public Member Functions inherited from senf::PacketTypeBase
static optional_range no_range ()
 
static factory_t no_factory ()
 
template<class PacketType >
static factory_t factory ()
 
static size_type initSize ()
 Get size of new (empty) packet. More...
 
static size_type initHeadSize ()
 Get size of new (empty) packet header. More...
 
static void init (packet p)
 Initialize new packet. More...
 
static optional_range nextPacketRange (packet p)
 Get next packet placement. More...
 
static factory_t nextPacketType (packet p)
 Get type of next packet. More...
 
static void finalize (packet p)
 Finalize packet. More...
 
static void dump (packet p, std::ostream &os)
 Dump packet data in readable form. More...
 
- Static Public Member Functions inherited from senf::PacketTypeMixin< MIHPacketType, MIHMessageRegistry >
static optional_key_t key (Packet const &p)
 Find key of packet from registry. More...
 
static PacketTypeBase::factory_t lookup (key_t key)
 Lookup the key in the registry. More...
 
static PacketInterpreterBase::optional_range nextPacketRange (ConcretePacket< MIHPacketType > const &p)
 
static PacketInterpreterBase::factory_t nextPacketType (ConcretePacket< MIHPacketType > const &p)
 
static PacketInterpreterBase::size_type initSize ()
 
static void init (ConcretePacket< MIHPacketType > const &p)
 

Static Public Attributes

static const EtherTypes::key_t etherType = 0x8917
 

Detailed Description

MIH packet.

Packet type (typedef):
MIHPacket
Fields:
MIHPacketParser

Definition at line 88 of file MIHPacket.hh.

Member Typedef Documentation

◆ mixin

◆ packet

MIH packet typedef.

Definition at line 93 of file MIHPacket.hh.

◆ parser

typedef to the parser of MIH packet

Definition at line 94 of file MIHPacket.hh.

Member Function Documentation

◆ dump()

void senf::MIHPacketType::dump ( packet  p,
std::ostream &  os 
)
static

Dump given MIH packet in readable form to given output stream.

Definition at line 34 of file MIHPacket.cc.

◆ finalize()

void senf::MIHPacketType::finalize ( packet  p)
static

Definition at line 55 of file MIHPacket.cc.

◆ nextPacketType()

senf::PacketInterpreterBase::factory_t senf::MIHPacketType::nextPacketType ( packet  p)
static

Definition at line 63 of file MIHPacket.cc.

◆ validate()

void senf::MIHPacketType::validate ( packet  p)
static

Definition at line 72 of file MIHPacket.cc.

Member Data Documentation

◆ etherType

const EtherTypes::key_t senf::MIHPacketType::etherType = 0x8917
static

Definition at line 106 of file MIHPacket.hh.


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