Helper class to assign IPv6 address statically. More...
#include <ipv6-address-helper.h>
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. |
Helper class to assign IPv6 address statically.
Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign | ( | const NetDeviceContainer & | c, | |
std::vector< bool > | withConfiguration | |||
) |
Allocate an Ipv6InterfaceContainer.
c | netdevice container | |
withConfiguration | true : interface statically configured, false : no static configuration |
Ipv6InterfaceContainer ns3::Ipv6AddressHelper::Assign | ( | const NetDeviceContainer & | c | ) |
Allocate an Ipv6InterfaceContainer.
c | netdevice container |
Ipv6InterfaceContainer ns3::Ipv6AddressHelper::AssignWithoutAddress | ( | const NetDeviceContainer & | c | ) |
Allocate an Ipv6InterfaceContainer without static IPv6 configuration.
c | netdevice container |
Ipv6Address ns3::Ipv6AddressHelper::NewAddress | ( | Address | addr | ) |
Allocate a new address.
addr | L2 address (currently only ethernet address is supported) |
void ns3::Ipv6AddressHelper::NewNetwork | ( | Ipv6Address | network, | |
Ipv6Prefix | prefix | |||
) |
Allocate a new network.
network | The IPv6 network | |
prefix | The prefix |