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

Class generated from inet/routing/ospfv3/Ospfv3Packet.msg:263 by opp_msgtool. More...

#include <Ospfv3Packet_m.h>

Inheritance diagram for inet::ospfv3::Ospfv3NssaLsa:
inet::ospfv3::Ospfv3Lsa inet::ospfv3::NssaLSA

Public Member Functions

 Ospfv3NssaLsa ()
 
 Ospfv3NssaLsa (const Ospfv3NssaLsa &other)
 
virtual ~Ospfv3NssaLsa ()
 
Ospfv3NssaLsaoperator= (const Ospfv3NssaLsa &other)
 
virtual Ospfv3NssaLsadup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual bool getEBit () const
 
virtual void setEBit (bool eBit)
 
virtual bool getFBit () const
 
virtual void setFBit (bool fBit)
 
virtual bool getTBit () const
 
virtual void setTBit (bool tBit)
 
virtual uint32_t getMetric () const
 
virtual void setMetric (uint32_t metric)
 
virtual const Ospfv3LsaPrefixMetricgetPrefOptions () const
 
virtual Ospfv3LsaPrefixMetricgetPrefOptionsForUpdate ()
 
virtual void setPrefOptions (const Ospfv3LsaPrefixMetric &prefOptions)
 
virtual uint16_t getReferencedLSType () const
 
virtual void setReferencedLSType (uint16_t referencedLSType)
 
virtual const ::inet::Ipv6AddressgetForwardingAddress () const
 
virtual ::inet::Ipv6AddressgetForwardingAddressForUpdate ()
 
virtual void setForwardingAddress (const ::inet::Ipv6Address &forwardingAddress)
 
virtual uint32_t getExternalRouteTag () const
 
virtual void setExternalRouteTag (uint32_t externalRouteTag)
 
virtual uint32_t getReferencedLSID () const
 
virtual void setReferencedLSID (uint32_t referencedLSID)
 
- 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)
 

Protected Member Functions

bool operator== (const Ospfv3NssaLsa &)=delete
 
- Protected Member Functions inherited from inet::ospfv3::Ospfv3Lsa
bool operator== (const Ospfv3Lsa &)=delete
 

Protected Attributes

bool eBit = false
 
bool fBit = false
 
bool tBit = false
 
uint32_t metric = 0
 
Ospfv3LsaPrefixMetric prefOptions
 
uint16_t referencedLSType = 0
 
::inet::Ipv6Address forwardingAddress
 
uint32_t externalRouteTag = 0
 
uint32_t referencedLSID = 0
 
- Protected Attributes inherited from inet::ospfv3::Ospfv3Lsa
Ospfv3LsaHeader header
 

Private Member Functions

void copy (const Ospfv3NssaLsa &other)
 

Detailed Description

Class generated from inet/routing/ospfv3/Ospfv3Packet.msg:263 by opp_msgtool.

//   NSSA-LSAs
// Routers in a Not-so-stubby-area (NSSA) do not receive external LSAs from Area Border Routers,
// but are allowed to send external routing information for redistribution.
// They use type 7 LSAs to tell the ABRs about these external routes,
// which the Area Border Router then translates to type 5 external LSAs and floods as normal to the rest of the OSPF network
class Ospfv3NssaLsa extends Ospfv3Lsa
{
    bool eBit;
    bool fBit;
    bool tBit;
    uint32_t metric;
    Ospfv3LsaPrefixMetric prefOptions;
    uint16_t referencedLSType;
    Ipv6Address forwardingAddress;
    uint32_t externalRouteTag;
    uint32_t referencedLSID;
}

Constructor & Destructor Documentation

◆ Ospfv3NssaLsa() [1/2]

inet::ospfv3::Ospfv3NssaLsa::Ospfv3NssaLsa ( )

◆ Ospfv3NssaLsa() [2/2]

inet::ospfv3::Ospfv3NssaLsa::Ospfv3NssaLsa ( const Ospfv3NssaLsa other)

◆ ~Ospfv3NssaLsa()

virtual inet::ospfv3::Ospfv3NssaLsa::~Ospfv3NssaLsa ( )
virtual

Member Function Documentation

◆ copy()

void inet::ospfv3::Ospfv3NssaLsa::copy ( const Ospfv3NssaLsa other)
private

◆ dup()

virtual Ospfv3NssaLsa* inet::ospfv3::Ospfv3NssaLsa::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::ospfv3::Ospfv3Lsa.

883 {return new Ospfv3NssaLsa(*this);}

◆ getEBit()

virtual bool inet::ospfv3::Ospfv3NssaLsa::getEBit ( ) const
virtual

◆ getExternalRouteTag()

virtual uint32_t inet::ospfv3::Ospfv3NssaLsa::getExternalRouteTag ( ) const
virtual

◆ getFBit()

virtual bool inet::ospfv3::Ospfv3NssaLsa::getFBit ( ) const
virtual

◆ getForwardingAddress()

virtual const ::inet::Ipv6Address& inet::ospfv3::Ospfv3NssaLsa::getForwardingAddress ( ) const
virtual

◆ getForwardingAddressForUpdate()

virtual ::inet::Ipv6Address& inet::ospfv3::Ospfv3NssaLsa::getForwardingAddressForUpdate ( )
inline
907 { return const_cast<::inet::Ipv6Address&>(const_cast<Ospfv3NssaLsa*>(this)->getForwardingAddress());}

◆ getMetric()

virtual uint32_t inet::ospfv3::Ospfv3NssaLsa::getMetric ( ) const
virtual

◆ getPrefOptions()

virtual const Ospfv3LsaPrefixMetric& inet::ospfv3::Ospfv3NssaLsa::getPrefOptions ( ) const
virtual

◆ getPrefOptionsForUpdate()

virtual Ospfv3LsaPrefixMetric& inet::ospfv3::Ospfv3NssaLsa::getPrefOptionsForUpdate ( )
inlinevirtual
900 { return const_cast<Ospfv3LsaPrefixMetric&>(const_cast<Ospfv3NssaLsa*>(this)->getPrefOptions());}

◆ getReferencedLSID()

virtual uint32_t inet::ospfv3::Ospfv3NssaLsa::getReferencedLSID ( ) const
virtual

◆ getReferencedLSType()

virtual uint16_t inet::ospfv3::Ospfv3NssaLsa::getReferencedLSType ( ) const
virtual

◆ getTBit()

virtual bool inet::ospfv3::Ospfv3NssaLsa::getTBit ( ) const
virtual

◆ operator=()

Ospfv3NssaLsa& inet::ospfv3::Ospfv3NssaLsa::operator= ( const Ospfv3NssaLsa other)

◆ operator==()

bool inet::ospfv3::Ospfv3NssaLsa::operator== ( const Ospfv3NssaLsa )
protecteddelete

◆ parsimPack()

virtual void inet::ospfv3::Ospfv3NssaLsa::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::ospfv3::Ospfv3Lsa.

Referenced by inet::ospfv3::doParsimPacking().

◆ parsimUnpack()

virtual void inet::ospfv3::Ospfv3NssaLsa::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::ospfv3::Ospfv3Lsa.

Referenced by inet::ospfv3::doParsimUnpacking().

◆ setEBit()

virtual void inet::ospfv3::Ospfv3NssaLsa::setEBit ( bool  eBit)
virtual

◆ setExternalRouteTag()

virtual void inet::ospfv3::Ospfv3NssaLsa::setExternalRouteTag ( uint32_t  externalRouteTag)
virtual

◆ setFBit()

virtual void inet::ospfv3::Ospfv3NssaLsa::setFBit ( bool  fBit)
virtual

◆ setForwardingAddress()

virtual void inet::ospfv3::Ospfv3NssaLsa::setForwardingAddress ( const ::inet::Ipv6Address forwardingAddress)
virtual

◆ setMetric()

virtual void inet::ospfv3::Ospfv3NssaLsa::setMetric ( uint32_t  metric)
virtual

◆ setPrefOptions()

virtual void inet::ospfv3::Ospfv3NssaLsa::setPrefOptions ( const Ospfv3LsaPrefixMetric prefOptions)
virtual

◆ setReferencedLSID()

virtual void inet::ospfv3::Ospfv3NssaLsa::setReferencedLSID ( uint32_t  referencedLSID)
virtual

◆ setReferencedLSType()

virtual void inet::ospfv3::Ospfv3NssaLsa::setReferencedLSType ( uint16_t  referencedLSType)
virtual

◆ setTBit()

virtual void inet::ospfv3::Ospfv3NssaLsa::setTBit ( bool  tBit)
virtual

Member Data Documentation

◆ eBit

bool inet::ospfv3::Ospfv3NssaLsa::eBit = false
protected

◆ externalRouteTag

uint32_t inet::ospfv3::Ospfv3NssaLsa::externalRouteTag = 0
protected

◆ fBit

bool inet::ospfv3::Ospfv3NssaLsa::fBit = false
protected

◆ forwardingAddress

::inet::Ipv6Address inet::ospfv3::Ospfv3NssaLsa::forwardingAddress
protected

◆ metric

uint32_t inet::ospfv3::Ospfv3NssaLsa::metric = 0
protected

◆ prefOptions

Ospfv3LsaPrefixMetric inet::ospfv3::Ospfv3NssaLsa::prefOptions
protected

◆ referencedLSID

uint32_t inet::ospfv3::Ospfv3NssaLsa::referencedLSID = 0
protected

◆ referencedLSType

uint16_t inet::ospfv3::Ospfv3NssaLsa::referencedLSType = 0
protected

◆ tBit

bool inet::ospfv3::Ospfv3NssaLsa::tBit = false
protected

The documentation for this class was generated from the following file:
inet::Ipv6Address
Stores a 128-bit Ipv6 address in an efficient way.
Definition: Ipv6Address.h:27
inet::ospfv3::Ospfv3NssaLsa::getPrefOptions
virtual const Ospfv3LsaPrefixMetric & getPrefOptions() const
inet::ospfv3::Ospfv3NssaLsa::getForwardingAddress
virtual const ::inet::Ipv6Address & getForwardingAddress() const
inet::ospfv3::Ospfv3NssaLsa::Ospfv3NssaLsa
Ospfv3NssaLsa()