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

#include <Ospfv3Lsa.h>

Inheritance diagram for inet::ospfv3::LinkLSA:
inet::ospfv3::Ospfv3LinkLsa inet::ospfv3::RoutingInfo inet::ospfv3::LSATrackingInfo inet::ospfv3::Ospfv3Lsa

Public Member Functions

 LinkLSA ()
 
 LinkLSA (const Ospfv3LinkLsa &lsa)
 
 LinkLSA (const LinkLSA &lsa)
 
virtual ~LinkLSA ()
 
bool validateLSChecksum () const
 
bool update (const Ospfv3LinkLsa *lsa)
 
bool differsFrom (const Ospfv3LinkLsa *linkLSA) const
 
- 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::Ospfv3Lsa
bool operator== (const Ospfv3Lsa &)=delete
 
- Protected Attributes inherited from inet::ospfv3::Ospfv3Lsa
Ospfv3LsaHeader header
 

Constructor & Destructor Documentation

◆ LinkLSA() [1/3]

inet::ospfv3::LinkLSA::LinkLSA ( )
inline
146 : Ospfv3LinkLsa(), RoutingInfo() {}

◆ LinkLSA() [2/3]

inet::ospfv3::LinkLSA::LinkLSA ( const Ospfv3LinkLsa lsa)
inline
147 : Ospfv3LinkLsa(lsa), RoutingInfo() {}

◆ LinkLSA() [3/3]

inet::ospfv3::LinkLSA::LinkLSA ( const LinkLSA lsa)
inline
148 : Ospfv3LinkLsa(lsa), RoutingInfo(lsa) {}

◆ ~LinkLSA()

virtual inet::ospfv3::LinkLSA::~LinkLSA ( )
inlinevirtual
149 {}

Member Function Documentation

◆ differsFrom()

bool inet::ospfv3::LinkLSA::differsFrom ( const Ospfv3LinkLsa linkLSA) const

◆ update()

bool inet::ospfv3::LinkLSA::update ( const Ospfv3LinkLsa lsa)

◆ validateLSChecksum()

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

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


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