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.
- Public Member Functions inherited from ns3::Ipv6Option
virtual ~Ipv6Option ()
 Destructor.
void SetNode (Ptr< Node > node)
 Set the node.
- Public Member Functions inherited from ns3::Object
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Dispose (void)
void AggregateObject (Ptr< Object > other)
AggregateIterator GetAggregateIterator (void) const
void Start (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount (const SimpleRefCount &o)
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
uint32_t GetReferenceCount (void) const
- Public Member Functions inherited from ns3::ObjectBase
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)

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.

TypeId ns3::Ipv6OptionJumbogram::GetTypeId ( void  )
static

Get the type identificator.

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

Returns:
type identificator

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: