IPv6 packet. More...
#include <senf/Packets/DefaultBundle/IPv6Packet.hh>
Public Types | |
typedef PacketTypeMixin< IPv6PacketType, IPTypes > | mixin |
typedef ConcretePacket< IPv6PacketType > | packet |
IPv6 packet typedef. More... | |
typedef IPv6PacketParser | parser |
typedef to the parser of IPv6 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< IPv6PacketType, IPTypes > | |
typedef IPTypes ::key_t | key_t |
typedef boost::optional< key_t > | optional_key_t |
Static Public Member Functions | |
static key_t | nextPacketKey (packet p) |
static void | dump (packet p, std::ostream &os) |
Dump given IPv6Packet in readable form to given output stream. More... | |
static void | finalize (packet p) |
Finalize packet. More... | |
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< IPv6PacketType, IPTypes > | |
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< IPv6PacketType > const &p) |
static PacketInterpreterBase::factory_t | nextPacketType (ConcretePacket< IPv6PacketType > const &p) |
static PacketInterpreterBase::size_type | initSize () |
static void | init (ConcretePacket< IPv6PacketType > const &p) |
Static Public Attributes | |
static const EtherTypes::key_t | etherType = 0x86dd |
IPv6 packet.
0 | 4 | 8 | 12 | 16 | 20 | 24 | 28 | 31 |
---|---|---|---|---|---|---|---|---|
Version | Traffic Class | Flow Label | ||||||
Payload Length | Next Header | Hop Limit | ||||||
Source Address | ||||||||
Destination Address |
Definition at line 107 of file IPv6Packet.hh.
Definition at line 111 of file IPv6Packet.hh.
IPv6 packet typedef.
Definition at line 112 of file IPv6Packet.hh.
typedef to the parser of IPv6 packet
Definition at line 113 of file IPv6Packet.hh.
|
static |
Dump given IPv6Packet in readable form to given output stream.
Definition at line 33 of file IPv6Packet.cc.
|
static |
Finalize packet.
Definition at line 49 of file IPv6Packet.cc.
Definition at line 120 of file IPv6Packet.hh.
|
static |
Definition at line 133 of file IPv6Packet.hh.