This generator assigns addresses sequentially from a provided network address; used in topology code. More...
#include <ipv4-address-generator.h>
Static Public Member Functions | |
static bool | AddAllocated (const Ipv4Address addr) |
static Ipv4Address | GetAddress (const Ipv4Mask mask) |
static Ipv4Address | GetNetwork (const Ipv4Mask mask) |
static void | Init (const Ipv4Address net, const Ipv4Mask mask, const Ipv4Address addr="0.0.0.1") |
static void | InitAddress (const Ipv4Address addr, const Ipv4Mask mask) |
static Ipv4Address | NextAddress (const Ipv4Mask mask) |
static Ipv4Address | NextNetwork (const Ipv4Mask mask) |
static void | Reset (void) |
static void | TestMode (void) |
This generator assigns addresses sequentially from a provided network address; used in topology code.
Definition at line 32 of file ipv4-address-generator.h.
|
static |
Definition at line 446 of file ipv4-address-generator.cc.
References NS_LOG_FUNCTION_NOARGS.
Referenced by ns3::Ipv4AddressHelper::NewAddress().
|
static |
Definition at line 419 of file ipv4-address-generator.cc.
References NS_LOG_FUNCTION_NOARGS.
|
static |
Definition at line 399 of file ipv4-address-generator.cc.
References NS_LOG_FUNCTION_NOARGS.
|
static |
Definition at line 378 of file ipv4-address-generator.cc.
References NS_LOG_FUNCTION_NOARGS.
|
static |
Definition at line 408 of file ipv4-address-generator.cc.
References NS_LOG_FUNCTION_NOARGS.
|
static |
Definition at line 428 of file ipv4-address-generator.cc.
References NS_LOG_FUNCTION_NOARGS.
|
static |
Definition at line 390 of file ipv4-address-generator.cc.
References NS_LOG_FUNCTION_NOARGS.
|
static |
Definition at line 437 of file ipv4-address-generator.cc.
References NS_LOG_FUNCTION_NOARGS.
|
static |
Definition at line 455 of file ipv4-address-generator.cc.
References NS_LOG_FUNCTION_NOARGS.