ns-3
ns3::Ipv6AddressHelper Class Reference

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

#include <ipv6-address-helper.h>

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

Allocate a new address.

Parameters:
addrL2 address (currently only ethernet address is supported)
Returns:
newly created Ipv6Address

References ns3::Mac48Address::ConvertFrom(), ns3::Address::GetLength(), ns3::Ipv6Address::MakeAutoconfiguredAddress(), and NS_LOG_FUNCTION.

Referenced by Assign().

Allocate a new network.

Parameters:
networkThe IPv6 network
prefixThe prefix

References NS_LOG_FUNCTION.


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