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

#include <Ospfv3Lsa.h>

Inheritance diagram for inet::ospfv3::IntraAreaPrefixLSA:
inet::ospfv3::Ospfv3IntraAreaPrefixLsa inet::ospfv3::RoutingInfo inet::ospfv3::LSATrackingInfo inet::ospfv3::Ospfv3Lsa

Public Member Functions

 IntraAreaPrefixLSA ()
 
 IntraAreaPrefixLSA (const Ospfv3IntraAreaPrefixLsa &lsa)
 
 IntraAreaPrefixLSA (const IntraAreaPrefixLSA &lsa)
 
virtual ~IntraAreaPrefixLSA ()
 
bool validateLSChecksum () const
 
bool update (const Ospfv3IntraAreaPrefixLsa *lsa)
 
bool differsFrom (const Ospfv3IntraAreaPrefixLsa *intraAreaPrefixLSA) const
 
- Public Member Functions inherited from inet::ospfv3::Ospfv3IntraAreaPrefixLsa
 Ospfv3IntraAreaPrefixLsa ()
 
 Ospfv3IntraAreaPrefixLsa (const Ospfv3IntraAreaPrefixLsa &other)
 
virtual ~Ospfv3IntraAreaPrefixLsa ()
 
Ospfv3IntraAreaPrefixLsaoperator= (const Ospfv3IntraAreaPrefixLsa &other)
 
virtual Ospfv3IntraAreaPrefixLsadup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned short getNumPrefixes () const
 
virtual void setNumPrefixes (unsigned short numPrefixes)
 
virtual unsigned short getReferencedLSType () const
 
virtual void setReferencedLSType (unsigned short referencedLSType)
 
virtual const ::inet::Ipv4AddressgetReferencedLSID () const
 
virtual ::inet::Ipv4AddressgetReferencedLSIDForUpdate ()
 
virtual void setReferencedLSID (const ::inet::Ipv4Address &referencedLSID)
 
virtual const ::inet::Ipv4AddressgetReferencedAdvRtr () const
 
virtual ::inet::Ipv4AddressgetReferencedAdvRtrForUpdate ()
 
virtual void setReferencedAdvRtr (const ::inet::Ipv4Address &referencedAdvRtr)
 
virtual void setPrefixesArraySize (size_t size)
 
virtual size_t getPrefixesArraySize () const
 
virtual const Ospfv3LsaPrefixMetricgetPrefixes (size_t k) const
 
virtual Ospfv3LsaPrefixMetricgetPrefixesForUpdate (size_t k)
 
virtual void setPrefixes (size_t k, const Ospfv3LsaPrefixMetric &prefixes)
 
virtual void insertPrefixes (size_t k, const Ospfv3LsaPrefixMetric &prefixes)
 
void insertPrefixes (const Ospfv3LsaPrefixMetric &prefixes)
 
virtual void appendPrefixes (const Ospfv3LsaPrefixMetric &prefixes)
 
virtual void erasePrefixes (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::Ospfv3IntraAreaPrefixLsa
bool operator== (const Ospfv3IntraAreaPrefixLsa &)=delete
 
- Protected Member Functions inherited from inet::ospfv3::Ospfv3Lsa
bool operator== (const Ospfv3Lsa &)=delete
 
- Protected Attributes inherited from inet::ospfv3::Ospfv3IntraAreaPrefixLsa
unsigned short numPrefixes = 0
 
unsigned short referencedLSType = 0
 
::inet::Ipv4Address referencedLSID
 
::inet::Ipv4Address referencedAdvRtr
 
Ospfv3LsaPrefixMetricprefixes = nullptr
 
size_t prefixes_arraysize = 0
 
- Protected Attributes inherited from inet::ospfv3::Ospfv3Lsa
Ospfv3LsaHeader header
 

Constructor & Destructor Documentation

◆ IntraAreaPrefixLSA() [1/3]

inet::ospfv3::IntraAreaPrefixLSA::IntraAreaPrefixLSA ( )
inline

◆ IntraAreaPrefixLSA() [2/3]

inet::ospfv3::IntraAreaPrefixLSA::IntraAreaPrefixLSA ( const Ospfv3IntraAreaPrefixLsa lsa)
inline

◆ IntraAreaPrefixLSA() [3/3]

inet::ospfv3::IntraAreaPrefixLSA::IntraAreaPrefixLSA ( const IntraAreaPrefixLSA lsa)
inline

◆ ~IntraAreaPrefixLSA()

virtual inet::ospfv3::IntraAreaPrefixLSA::~IntraAreaPrefixLSA ( )
inlinevirtual
163 {}

Member Function Documentation

◆ differsFrom()

bool inet::ospfv3::IntraAreaPrefixLSA::differsFrom ( const Ospfv3IntraAreaPrefixLsa intraAreaPrefixLSA) const

◆ update()

bool inet::ospfv3::IntraAreaPrefixLSA::update ( const Ospfv3IntraAreaPrefixLsa lsa)

◆ validateLSChecksum()

bool inet::ospfv3::IntraAreaPrefixLSA::validateLSChecksum ( ) const
inline
165 { 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::Ospfv3IntraAreaPrefixLsa::Ospfv3IntraAreaPrefixLsa
Ospfv3IntraAreaPrefixLsa()