ns-3
ns3::Ipv6ExtensionDemux Class Reference

Demultiplexes IPv6 extensions. More...

#include <ipv6-extension-demux.h>

Inheritance diagram for ns3::Ipv6ExtensionDemux:
Collaboration diagram for ns3::Ipv6ExtensionDemux:

List of all members.

Public Member Functions

 Ipv6ExtensionDemux ()
 Constructor.
virtual ~Ipv6ExtensionDemux ()
 Destructor.
void SetNode (Ptr< Node > node)
 Set the node.
void Insert (Ptr< Ipv6Extension > extension)
 Insert a new IPv6 Extension.
Ptr< Ipv6ExtensionGetExtension (uint8_t extensionNumber)
 Get the extension corresponding to extensionNumber.
void Remove (Ptr< Ipv6Extension > extension)
 Remove an extension from this demux.

Static Public Member Functions

static TypeId GetTypeId (void)
 The interface ID.

Protected Member Functions

virtual void DoDispose ()
 Dispose object.

Detailed Description

Demultiplexes IPv6 extensions.


Member Function Documentation

Ptr< Ipv6Extension > ns3::Ipv6ExtensionDemux::GetExtension ( uint8_t  extensionNumber)

Get the extension corresponding to extensionNumber.

Parameters:
extensionNumberextension number of the extension to retrieve
Returns:
a matching IPv6 extension

The interface ID.

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

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::Ipv6ExtensionDemux
  • /NodeList/[i]/DeviceList/[i]/$ns3::NonCommunicatingNetDevice/Phy/$ns3::Ipv6ExtensionDemux

Attributes defined for this type:

No TraceSources defined for this type.

Reimplemented from ns3::Object.

References ns3::TypeId::SetParent().

Insert a new IPv6 Extension.

Parameters:
extensionthe extension to insert

Remove an extension from this demux.

Parameters:
extensionpointer on the extension to remove

Set the node.

Parameters:
nodethe node to set

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