ns-3
ns3::Ipv6OptionDemux Class Reference

IPv6 Option Demux. More...

#include <ipv6-option-demux.h>

Inheritance diagram for ns3::Ipv6OptionDemux:
Collaboration diagram for ns3::Ipv6OptionDemux:

List of all members.

Public Member Functions

 Ipv6OptionDemux ()
 Constructor.
virtual ~Ipv6OptionDemux ()
 Destructor.
void SetNode (Ptr< Node > node)
 Set the node.
void Insert (Ptr< Ipv6Option > option)
 Insert a new IPv6 Option.
Ptr< Ipv6OptionGetOption (int optionNumber)
 Get the option corresponding to optionNumber.
void Remove (Ptr< Ipv6Option > option)
 Remove an option from this demux.

Static Public Member Functions

static TypeId GetTypeId (void)
 The interface ID.

Protected Member Functions

virtual void DoDispose ()
 Dispose this object.

Detailed Description

IPv6 Option Demux.


Member Function Documentation

Get the option corresponding to optionNumber.

Parameters:
optionNumberthe option number of the option to retrieve
Returns:
a matching IPv6 option

The interface ID.

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

Returns:
type ID

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

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

Attributes defined for this type:

No TraceSources defined for this type.

Reimplemented from ns3::Object.

References ns3::TypeId::SetParent().

Insert a new IPv6 Option.

Parameters:
optionthe option to insert

Remove an option from this demux.

Parameters:
optionpointer on the option to remove

Set the node.

Parameters:
nodethe node to set

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