INET Framework for OMNeT++/OMNEST
|
This class provides network addresses using the module path to interface modules. More...
#include <ModulePathAddress.h>
Public Member Functions | |
ModulePathAddress () | |
ModulePathAddress (int id) | |
int | getId () const |
bool | tryParse (const char *addr) |
bool | isUnspecified () const |
bool | isUnicast () const |
bool | isMulticast () const |
bool | isBroadcast () const |
bool | operator== (const ModulePathAddress &addr1) const |
Returns equals(addr). More... | |
bool | operator!= (const ModulePathAddress &addr1) const |
Returns !equals(addr). More... | |
bool | operator< (const ModulePathAddress &addr1) const |
Compares two addresses. More... | |
bool | operator<= (const ModulePathAddress &addr1) const |
bool | operator> (const ModulePathAddress &addr1) const |
bool | operator>= (const ModulePathAddress &addr1) const |
std::string | str () const |
Static Public Member Functions | |
static bool | maskedAddrAreEqual (const ModulePathAddress &addr1, const ModulePathAddress &addr2, int prefixLength) |
Private Attributes | |
int | id |
This class provides network addresses using the module path to interface modules.
The module path address supports unspecified, broadcast and multicast addresses too. TODO: add support for partial module paths addresses to allow prefix routing
|
inline |
|
inline |
|
inline |
Referenced by inet::GenericARP::mapUnicastAddress().
|
inline |
Referenced by inet::L3Address::isBroadcast().
|
inline |
Referenced by inet::L3Address::isMulticast().
|
inline |
Referenced by inet::L3Address::isUnicast().
|
inline |
Referenced by inet::L3Address::isUnspecified().
|
inlinestatic |
Referenced by inet::L3Address::matches().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::string inet::ModulePathAddress::str | ( | ) | const |
Referenced by inet::L3Address::str().
bool inet::ModulePathAddress::tryParse | ( | const char * | addr | ) |
Referenced by inet::L3Address::tryParse().
|
private |
Referenced by maskedAddrAreEqual(), operator!=(), operator<(), operator<=(), operator==(), operator>(), and operator>=().