#include <OSPFcommon.h>
inet::ospf::IPv4AddressRange::IPv4AddressRange |
( |
| ) |
|
|
inline |
IPv4Address address
Definition: OSPFcommon.h:79
IPv4Address mask
Definition: OSPFcommon.h:80
IPv4Address address
Definition: OSPFcommon.h:79
IPv4Address mask
Definition: OSPFcommon.h:80
bool inet::ospf::IPv4AddressRange::containedByRange |
( |
const IPv4Address & |
otherAddress, |
|
|
const IPv4Address & |
otherMask |
|
) |
| const |
|
inline |
Referenced by inet::ospf::Area::calculateInterAreaRoutes().
static bool maskedAddrAreEqual(const IPv4Address &addr1, const IPv4Address &addr2, const IPv4Address &netmask)
Test if the masked addresses (ie the mask is applied to addr1 and addr2) are equal.
Definition: IPv4Address.cc:260
IPv4Address address
Definition: OSPFcommon.h:79
IPv4Address mask
Definition: OSPFcommon.h:80
bool inet::ospf::IPv4AddressRange::contains |
( |
const IPv4Address & |
other | ) |
const |
|
inline |
Referenced by inet::ospf::Area::addAddressRange().
static bool maskedAddrAreEqual(const IPv4Address &addr1, const IPv4Address &addr2, const IPv4Address &netmask)
Test if the masked addresses (ie the mask is applied to addr1 and addr2) are equal.
Definition: IPv4Address.cc:260
IPv4Address address
Definition: OSPFcommon.h:79
IPv4Address mask
Definition: OSPFcommon.h:80
bool inet::ospf::IPv4AddressRange::contains |
( |
const IPv4AddressRange & |
other | ) |
const |
|
inline |
static bool maskedAddrAreEqual(const IPv4Address &addr1, const IPv4Address &addr2, const IPv4Address &netmask)
Test if the masked addresses (ie the mask is applied to addr1 and addr2) are equal.
Definition: IPv4Address.cc:260
IPv4Address address
Definition: OSPFcommon.h:79
IPv4Address mask
Definition: OSPFcommon.h:80
bool inet::ospf::IPv4AddressRange::containsRange |
( |
const IPv4Address & |
otherAddress, |
|
|
const IPv4Address & |
otherMask |
|
) |
| const |
|
inline |
Referenced by inet::ospf::Router::lookup(), and inet::ospf::Area::originateSummaryLSA().
static bool maskedAddrAreEqual(const IPv4Address &addr1, const IPv4Address &addr2, const IPv4Address &netmask)
Test if the masked addresses (ie the mask is applied to addr1 and addr2) are equal.
Definition: IPv4Address.cc:260
IPv4Address address
Definition: OSPFcommon.h:79
IPv4Address mask
Definition: OSPFcommon.h:80
bool operator==(const IPv4AddressRange &other) const
Definition: OSPFcommon.h:89
bool inet::ospf::IPv4AddressRange::operator< |
( |
const IPv4AddressRange & |
other | ) |
const |
|
inline |
86 return (
mask > other.mask) || ((
mask == other.mask) && (
address < other.address));
IPv4Address address
Definition: OSPFcommon.h:79
IPv4Address mask
Definition: OSPFcommon.h:80
bool inet::ospf::IPv4AddressRange::operator== |
( |
const IPv4AddressRange & |
other | ) |
const |
|
inline |
91 return (
address == other.address) && (
mask == other.mask);
IPv4Address address
Definition: OSPFcommon.h:79
IPv4Address mask
Definition: OSPFcommon.h:80
std::string inet::ospf::IPv4AddressRange::str |
( |
| ) |
const |
|
inline |
Referenced by inet::ospf::Area::addAddressRange().
std::string str(bool printUnspec=true) const
Returns the string representation of the address (e.g.
Definition: IPv4Address.cc:109
IPv4Address address
Definition: OSPFcommon.h:79
std::string str() const
Definition: OSPFcommon.h:122
IPv4Address mask
Definition: OSPFcommon.h:80
Referenced by inet::ospf::InterfaceState::calculateDesignatedRouter(), inet::ospf::Area::calculateInterAreaRoutes(), inet::ospf::Area::calculateShortestPathTree(), inet::ospf::InterfaceState::changeState(), inet::ospf::NeighborState::changeState(), contains(), inet::ospf::Area::createRoutingTableEntryFromSummaryLSA(), inet::bgp::BGPRouting::decisionProcess(), inet::ospf::Area::findSameOrWorseCostRoute(), inet::ospf::Area::getUniqueLinkStateID(), inet::ospf::Router::getUniqueLinkStateID(), inet::ospf::OSPFRouting::insertExternalRoute(), inet::ospf::OSPFConfigReader::loadAreaFromXML(), inet::ospf::OSPFConfigReader::loadExternalRoute(), inet::ospf::Router::lookup(), inet::ospf::Router::notifyAboutRoutingTableChanges(), operator<(), operator==(), inet::ospf::Area::originateNetworkLSA(), inet::ospf::Area::originateRouterLSA(), inet::ospf::Area::originateSummaryLSA(), inet::ospf::HelloHandler::processPacket(), inet::ospf::Area::recheckSummaryLSAs(), inet::ospf::Interface::sendHelloPacket(), and inet::ospf::Interface::setIfIndex().
Referenced by inet::ospf::Area::calculateInterAreaRoutes(), inet::ospf::Area::calculateShortestPathTree(), contains(), inet::ospf::Area::createRoutingTableEntryFromSummaryLSA(), inet::bgp::BGPRouting::decisionProcess(), inet::ospf::Area::findSameOrWorseCostRoute(), inet::ospf::Area::getUniqueLinkStateID(), inet::ospf::Router::getUniqueLinkStateID(), inet::ospf::OSPFRouting::insertExternalRoute(), inet::ospf::OSPFConfigReader::loadAreaFromXML(), inet::ospf::OSPFConfigReader::loadExternalRoute(), inet::ospf::Router::lookup(), inet::ospf::Router::notifyAboutRoutingTableChanges(), operator<(), operator==(), inet::ospf::Area::originateNetworkLSA(), inet::ospf::Area::originateRouterLSA(), inet::ospf::Area::originateSummaryLSA(), inet::ospf::HelloHandler::processPacket(), inet::ospf::Area::recheckSummaryLSAs(), inet::ospf::Interface::sendHelloPacket(), and inet::ospf::Interface::setIfIndex().
The documentation for this struct was generated from the following file: