NS-3
ns3::Ipv6AddressHelper Class Reference

Helper class to assign IPv6 address statically. More...

#include <ipv6-address-helper.h>

Collaboration diagram for ns3::Ipv6AddressHelper:

List of all members.

Public Member Functions

 Ipv6AddressHelper ()
 Constructor.
void NewNetwork (Ipv6Address network, Ipv6Prefix prefix)
 Allocate a new network.
Ipv6Address NewAddress (Address addr)
 Allocate a new address.
Ipv6InterfaceContainer Assign (const NetDeviceContainer &c)
 Allocate an Ipv6InterfaceContainer.
Ipv6InterfaceContainer Assign (const NetDeviceContainer &c, std::vector< bool > withConfiguration)
 Allocate an Ipv6InterfaceContainer.
Ipv6InterfaceContainer AssignWithoutAddress (const NetDeviceContainer &c)
 Allocate an Ipv6InterfaceContainer without static IPv6 configuration.

Detailed Description

Helper class to assign IPv6 address statically.


Member Function Documentation

Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign ( const NetDeviceContainer c)

Allocate an Ipv6InterfaceContainer.

Parameters:
cnetdevice container
Returns:
newly created Ipv6InterfaceContainer
Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign ( const NetDeviceContainer c,
std::vector< bool >  withConfiguration 
)

Allocate an Ipv6InterfaceContainer.

Parameters:
cnetdevice container
withConfigurationtrue : interface statically configured, false : no static configuration
Returns:
newly created Ipv6InterfaceContainer
Ipv6InterfaceContainer ns3::Ipv6AddressHelper::AssignWithoutAddress ( const NetDeviceContainer c)

Allocate an Ipv6InterfaceContainer without static IPv6 configuration.

Parameters:
cnetdevice container
Returns:
newly created Ipv6InterfaceContainer
Ipv6Address ns3::Ipv6AddressHelper::NewAddress ( Address  addr)

Allocate a new address.

Parameters:
addrL2 address (currently only ethernet address is supported)
Returns:
newly created Ipv6Address
void ns3::Ipv6AddressHelper::NewNetwork ( Ipv6Address  network,
Ipv6Prefix  prefix 
)

Allocate a new network.

Parameters:
networkThe IPv6 network
prefixThe prefix

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