INET Framework for OMNeT++/OMNEST
inet::ospfv3::NetworkLSA Class Reference

#include <Ospfv3Lsa.h>

Inheritance diagram for inet::ospfv3::NetworkLSA:
inet::ospfv3::Ospfv3NetworkLsa inet::ospfv3::RoutingInfo inet::ospfv3::LSATrackingInfo inet::ospfv3::Ospfv3Lsa

Public Member Functions

 NetworkLSA ()
 
 NetworkLSA (const Ospfv3NetworkLsa &lsa)
 
 NetworkLSA (const NetworkLSA &lsa)
 
virtual ~NetworkLSA ()
 
bool validateLSChecksum () const
 
bool update (const Ospfv3NetworkLsa *lsa)
 
bool differsFrom (const Ospfv3NetworkLsa *networkLSA) const
 
- Public Member Functions inherited from inet::ospfv3::Ospfv3NetworkLsa
 Ospfv3NetworkLsa ()
 
 Ospfv3NetworkLsa (const Ospfv3NetworkLsa &other)
 
virtual ~Ospfv3NetworkLsa ()
 
Ospfv3NetworkLsaoperator= (const Ospfv3NetworkLsa &other)
 
virtual Ospfv3NetworkLsadup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual const Ospfv3OptionsgetOspfOptions () const
 
virtual Ospfv3OptionsgetOspfOptionsForUpdate ()
 
virtual void setOspfOptions (const Ospfv3Options &ospfOptions)
 
virtual void setAttachedRouterArraySize (size_t size)
 
virtual size_t getAttachedRouterArraySize () const
 
virtual const ::inet::Ipv4AddressgetAttachedRouter (size_t k) const
 
virtual ::inet::Ipv4AddressgetAttachedRouterForUpdate (size_t k)
 
virtual void setAttachedRouter (size_t k, const ::inet::Ipv4Address &attachedRouter)
 
virtual void insertAttachedRouter (size_t k, const ::inet::Ipv4Address &attachedRouter)
 
void insertAttachedRouter (const ::inet::Ipv4Address &attachedRouter)
 
virtual void appendAttachedRouter (const ::inet::Ipv4Address &attachedRouter)
 
virtual void eraseAttachedRouter (size_t k)
 
- Public Member Functions inherited from inet::ospfv3::Ospfv3Lsa
 Ospfv3Lsa ()
 
 Ospfv3Lsa (const Ospfv3Lsa &other)
 
virtual ~Ospfv3Lsa ()
 
Ospfv3Lsaoperator= (const Ospfv3Lsa &other)
 
virtual const Ospfv3LsaHeadergetHeader () const
 
virtual Ospfv3LsaHeadergetHeaderForUpdate ()
 
virtual void setHeader (const Ospfv3LsaHeader &header)
 
- Public Member Functions inherited from inet::ospfv3::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 (Ospfv3Lsa *p)
 
Ospfv3LsagetParent () const
 
- Public Member Functions inherited from inet::ospfv3::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::ospfv3::LSATrackingInfo
enum  InstallSource { ORIGINATED = 0, FLOODED = 1 }
 
- Protected Member Functions inherited from inet::ospfv3::Ospfv3NetworkLsa
bool operator== (const Ospfv3NetworkLsa &)=delete
 
- Protected Member Functions inherited from inet::ospfv3::Ospfv3Lsa
bool operator== (const Ospfv3Lsa &)=delete
 
- Protected Attributes inherited from inet::ospfv3::Ospfv3NetworkLsa
Ospfv3Options ospfOptions
 
::inet::Ipv4AddressattachedRouter = nullptr
 
size_t attachedRouter_arraysize = 0
 
- Protected Attributes inherited from inet::ospfv3::Ospfv3Lsa
Ospfv3LsaHeader header
 

Constructor & Destructor Documentation

◆ NetworkLSA() [1/3]

inet::ospfv3::NetworkLSA::NetworkLSA ( )
inline

◆ NetworkLSA() [2/3]

inet::ospfv3::NetworkLSA::NetworkLSA ( const Ospfv3NetworkLsa lsa)
inline
77 : Ospfv3NetworkLsa(lsa), RoutingInfo() {}

◆ NetworkLSA() [3/3]

inet::ospfv3::NetworkLSA::NetworkLSA ( const NetworkLSA lsa)
inline
78 : Ospfv3NetworkLsa(lsa), RoutingInfo(lsa) {}

◆ ~NetworkLSA()

virtual inet::ospfv3::NetworkLSA::~NetworkLSA ( )
inlinevirtual
79 {}

Member Function Documentation

◆ differsFrom()

bool inet::ospfv3::NetworkLSA::differsFrom ( const Ospfv3NetworkLsa networkLSA) const

◆ update()

bool inet::ospfv3::NetworkLSA::update ( const Ospfv3NetworkLsa lsa)

◆ validateLSChecksum()

bool inet::ospfv3::NetworkLSA::validateLSChecksum ( ) const
inline
81 { return true; } // not implemented

Referenced by inet::ospfv3::Ospfv3Area::ageDatabase().


The documentation for this class was generated from the following file:
inet::ospfv3::RoutingInfo::RoutingInfo
RoutingInfo()
Definition: Ospfv3Lsa.h:45
inet::ospfv3::Ospfv3NetworkLsa::Ospfv3NetworkLsa
Ospfv3NetworkLsa()