ns-3
ns3::Ipv6OptionJumbogram Class Reference

IPv6 Option Jumbogram. More...

#include <ipv6-option.h>

Inheritance diagram for ns3::Ipv6OptionJumbogram:
Collaboration diagram for ns3::Ipv6OptionJumbogram:

List of all members.

Public Member Functions

 Ipv6OptionJumbogram ()
 Constructor.
 ~Ipv6OptionJumbogram ()
 Destructor.
virtual uint8_t GetOptionNumber () const
 Get the option number.
virtual uint8_t Process (Ptr< Packet > packet, uint8_t offset, Ipv6Header const &ipv6Header, bool &isDropped)
 Process method Called from Ipv6L3Protocol::Receive.

Static Public Member Functions

static TypeId GetTypeId ()
 Get the type identificator.

Static Public Attributes

static const uint8_t OPT_NUMBER = 44
 Jumbogram option number.

Detailed Description

IPv6 Option Jumbogram.


Member Function Documentation

uint8_t ns3::Ipv6OptionJumbogram::GetOptionNumber ( ) const [virtual]

Get the option number.

Returns:
option number

Implements ns3::Ipv6Option.

References NS_LOG_FUNCTION_NOARGS, and OPT_NUMBER.

Get the type identificator.

This method returns the TypeId associated to ns3::Ipv6OptionJumbogram.

Returns:
type identificator

This object is accessible through the following paths with Config::Set and Config::Connect:

  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::Ipv6Option/$ns3::Ipv6OptionJumbogram
  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::Ipv6OptionDemux/Options/[i]/$ns3::Ipv6OptionJumbogram
  • /NodeList/[i]/DeviceList/[i]/$ns3::AlohaNoackNetDevice/Phy/$ns3::Ipv6OptionJumbogram
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::Ipv6Option/$ns3::Ipv6OptionJumbogram
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::Ipv6OptionDemux/Options/[i]/$ns3::Ipv6OptionJumbogram
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::Ipv6OptionJumbogram

No Attributes defined for this type.
Attributes defined in parent class ns3::Ipv6Option:

No TraceSources defined for this type.

Reimplemented from ns3::Ipv6Option.

References ns3::TypeId::SetParent().

uint8_t ns3::Ipv6OptionJumbogram::Process ( Ptr< Packet packet,
uint8_t  offset,
Ipv6Header const &  ipv6Header,
bool &  isDropped 
) [virtual]

Process method Called from Ipv6L3Protocol::Receive.

Parameters:
packetthe packet
offsetthe offset of the extension to process
ipv6Headerthe IPv6 header of packet received
isDroppedif the packet must be dropped
Returns:
the processed size

Implements ns3::Ipv6Option.

References ns3::Packet::Copy(), ns3::Ipv6OptionJumbogramHeader::GetSerializedSize(), NS_LOG_FUNCTION, ns3::Packet::RemoveAtStart(), and ns3::Packet::RemoveHeader().


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