IPv6 Extension Routing Demux. More...
#include <ipv6-extension.h>
Public Member Functions | |
Ipv6ExtensionRoutingDemux () | |
Constructor. | |
virtual | ~Ipv6ExtensionRoutingDemux () |
Destructor. | |
void | SetNode (Ptr< Node > node) |
Set the node. | |
void | Insert (Ptr< Ipv6ExtensionRouting > extensionRouting) |
Insert a new IPv6 Routing Extension. | |
Ptr< Ipv6ExtensionRouting > | GetExtensionRouting (uint8_t typeRouting) |
Get the routing extension corresponding to typeRouting. | |
void | Remove (Ptr< Ipv6ExtensionRouting > extensionRouting) |
Remove a routing extension from this demux. | |
Static Public Member Functions | |
static TypeId | GetTypeId () |
The interface ID. | |
Protected Member Functions | |
virtual void | DoDispose () |
Dispose this object. |
IPv6 Extension Routing Demux.
Ptr<Ipv6ExtensionRouting> ns3::Ipv6ExtensionRoutingDemux::GetExtensionRouting | ( | uint8_t | typeRouting | ) |
Get the routing extension corresponding to typeRouting.
typeRouting | the number of the routing extension to retrieve |
static TypeId ns3::Ipv6ExtensionRoutingDemux::GetTypeId | ( | void | ) | [static] |
The interface ID.
This method returns the TypeId associated to ns3::Ipv6ExtensionRoutingDemux.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::Object.
void ns3::Ipv6ExtensionRoutingDemux::Insert | ( | Ptr< Ipv6ExtensionRouting > | extensionRouting | ) |
Insert a new IPv6 Routing Extension.
extensionRouting | the routing extension to insert |
void ns3::Ipv6ExtensionRoutingDemux::Remove | ( | Ptr< Ipv6ExtensionRouting > | extensionRouting | ) |
Remove a routing extension from this demux.
extensionRouting | pointer on the extension to remove |
Set the node.
node | the node to set |