Public Member Functions

ns3::Ipv6AddressHelper Class Reference

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

#include <ipv6-address-helper.h>

Collaboration diagram for ns3::Ipv6AddressHelper:
Collaboration graph
[legend]

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:
c netdevice container
Returns:
newly created Ipv6InterfaceContainer
Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign ( const NetDeviceContainer c,
std::vector< bool >  withConfiguration 
)

Allocate an Ipv6InterfaceContainer.

Parameters:
c netdevice container
withConfiguration true : 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:
c netdevice container
Returns:
newly created Ipv6InterfaceContainer
Ipv6Address ns3::Ipv6AddressHelper::NewAddress ( Address  addr  ) 

Allocate a new address.

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

Allocate a new network.

Parameters:
network The IPv6 network
prefix The prefix

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