senf::PPPoEPacketTypeBase< PacketType > Struct Template Reference

#include <senf/Packets/DefaultBundle/PPPoEPacket.hh>

Inheritance diagram for senf::PPPoEPacketTypeBase< PacketType >:

Public Types

typedef PacketTypeMixin< PacketType, EtherTypesmixin
 
typedef ConcretePacket< PacketType > packet
 
typedef PPPoEPacketParser parser
 
- 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< PacketType, EtherTypes >
typedef EtherTypes ::key_t key_t
 
typedef boost::optional< key_toptional_key_t
 

Static Public Member Functions

static factory_t nextPacketType (packet p)
 
static void dump (packet p, std::ostream &os)
 
- 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< PacketType, EtherTypes >
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< PacketType > const &p)
 
static PacketInterpreterBase::factory_t nextPacketType (ConcretePacket< PacketType > const &p)
 
static PacketInterpreterBase::size_type initSize ()
 
static void init (ConcretePacket< PacketType > const &p)
 

Detailed Description

template<typename PacketType>
struct senf::PPPoEPacketTypeBase< PacketType >

Definition at line 55 of file PPPoEPacket.hh.

Member Typedef Documentation

◆ mixin

template<typename PacketType>
typedef PacketTypeMixin<PacketType, EtherTypes> senf::PPPoEPacketTypeBase< PacketType >::mixin

Definition at line 59 of file PPPoEPacket.hh.

◆ packet

template<typename PacketType>
typedef ConcretePacket<PacketType> senf::PPPoEPacketTypeBase< PacketType >::packet

Definition at line 60 of file PPPoEPacket.hh.

◆ parser

template<typename PacketType>
typedef PPPoEPacketParser senf::PPPoEPacketTypeBase< PacketType >::parser

Definition at line 61 of file PPPoEPacket.hh.

Member Function Documentation

◆ dump()

template<typename PacketType >
void senf::PPPoEPacketTypeBase< PacketType >::dump ( packet  p,
std::ostream &  os 
)
static

Definition at line 35 of file PPPoEPacket.cc.

◆ nextPacketType()

template<typename PacketType >
senf::PacketInterpreterBase::factory_t senf::PPPoEPacketTypeBase< PacketType >::nextPacketType ( packet  p)
static

Definition at line 49 of file PPPoEPacket.cc.


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