INET Framework for OMNeT++/OMNEST
|
#include <LSA.h>
Public Member Functions | |
NetworkLSA () | |
NetworkLSA (const OSPFNetworkLSA &lsa) | |
NetworkLSA (const NetworkLSA &lsa) | |
virtual | ~NetworkLSA () |
bool | validateLSChecksum () const |
bool | update (const OSPFNetworkLSA *lsa) |
bool | differsFrom (const OSPFNetworkLSA *networkLSA) const |
Public Member Functions inherited from inet::ospf::OSPFNetworkLSA | |
OSPFNetworkLSA () | |
OSPFNetworkLSA (const OSPFNetworkLSA &other) | |
virtual | ~OSPFNetworkLSA () |
OSPFNetworkLSA & | operator= (const OSPFNetworkLSA &other) |
virtual OSPFNetworkLSA * | dup () const override |
virtual void | parsimPack (omnetpp::cCommBuffer *b) const override |
virtual void | parsimUnpack (omnetpp::cCommBuffer *b) override |
virtual IPv4Address & | getNetworkMask () |
virtual const IPv4Address & | getNetworkMask () const |
virtual void | setNetworkMask (const IPv4Address &networkMask) |
virtual void | setAttachedRoutersArraySize (unsigned int size) |
virtual unsigned int | getAttachedRoutersArraySize () const |
virtual IPv4Address & | getAttachedRouters (unsigned int k) |
virtual const IPv4Address & | getAttachedRouters (unsigned int k) const |
virtual void | setAttachedRouters (unsigned int k, const IPv4Address &attachedRouters) |
Public Member Functions inherited from inet::ospf::OSPFLSA | |
OSPFLSA () | |
OSPFLSA (const OSPFLSA &other) | |
virtual | ~OSPFLSA () |
OSPFLSA & | operator= (const OSPFLSA &other) |
virtual OSPFLSAHeader & | getHeader () |
virtual const OSPFLSAHeader & | getHeader () const |
virtual void | setHeader (const OSPFLSAHeader &header) |
Public Member Functions inherited from inet::ospf::RoutingInfo | |
RoutingInfo () | |
RoutingInfo (const RoutingInfo &routingInfo) | |
virtual | ~RoutingInfo () |
void | addNextHop (NextHop nextHop) |
void | clearNextHops () |
unsigned int | getNextHopCount () const |
NextHop | getNextHop (unsigned int index) const |
void | setDistance (unsigned long d) |
unsigned long | getDistance () const |
void | setParent (OSPFLSA *p) |
OSPFLSA * | getParent () const |
Public Member Functions inherited from inet::ospf::LSATrackingInfo | |
LSATrackingInfo () | |
LSATrackingInfo (const LSATrackingInfo &info) | |
void | setSource (InstallSource installSource) |
InstallSource | getSource () const |
void | incrementInstallTime () |
void | resetInstallTime () |
unsigned long | getInstallTime () const |
Additional Inherited Members | |
Public Types inherited from inet::ospf::LSATrackingInfo | |
enum | InstallSource { ORIGINATED = 0, FLOODED = 1 } |
Protected Member Functions inherited from inet::ospf::OSPFNetworkLSA | |
bool | operator== (const OSPFNetworkLSA &) |
Protected Member Functions inherited from inet::ospf::OSPFLSA | |
bool | operator== (const OSPFLSA &) |
Protected Attributes inherited from inet::ospf::OSPFNetworkLSA | |
IPv4Address | networkMask |
IPv4Address * | attachedRouters |
unsigned int | attachedRouters_arraysize |
Protected Attributes inherited from inet::ospf::OSPFLSA | |
OSPFLSAHeader | header |
|
inline |
|
inline |
|
inline |
bool inet::ospf::NetworkLSA::differsFrom | ( | const OSPFNetworkLSA * | networkLSA | ) | const |
Referenced by update().
bool inet::ospf::NetworkLSA::update | ( | const OSPFNetworkLSA * | lsa | ) |
Referenced by inet::ospf::Area::ageDatabase(), and inet::ospf::NeighborState::changeState().
|
inline |
Referenced by inet::ospf::Area::ageDatabase().