INET Framework for OMNeT++/OMNEST
inet::ospf::OSPFLSAHeader Class Reference

Class generated from inet/routing/ospfv2/OSPFPacket.msg:96 by nedtool. More...

#include <OSPFPacket_m.h>

Inheritance diagram for inet::ospf::OSPFLSAHeader:

Public Member Functions

 OSPFLSAHeader ()
 
 OSPFLSAHeader (const OSPFLSAHeader &other)
 
virtual ~OSPFLSAHeader ()
 
OSPFLSAHeaderoperator= (const OSPFLSAHeader &other)
 
virtual OSPFLSAHeaderdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned short getLsAge () const
 
virtual void setLsAge (unsigned short lsAge)
 
virtual OSPFOptionsgetLsOptions ()
 
virtual const OSPFOptionsgetLsOptions () const
 
virtual void setLsOptions (const OSPFOptions &lsOptions)
 
virtual char getLsType () const
 
virtual void setLsType (char lsType)
 
virtual IPv4AddressgetLinkStateID ()
 
virtual const IPv4AddressgetLinkStateID () const
 
virtual void setLinkStateID (const IPv4Address &linkStateID)
 
virtual IPv4AddressgetAdvertisingRouter ()
 
virtual const IPv4AddressgetAdvertisingRouter () const
 
virtual void setAdvertisingRouter (const IPv4Address &advertisingRouter)
 
virtual long getLsSequenceNumber () const
 
virtual void setLsSequenceNumber (long lsSequenceNumber)
 
virtual unsigned short getLsaLength () const
 
virtual void setLsaLength (unsigned short lsaLength)
 

Protected Member Functions

bool operator== (const OSPFLSAHeader &)
 

Protected Attributes

unsigned short lsAge
 
OSPFOptions lsOptions
 
char lsType
 
IPv4Address linkStateID
 
IPv4Address advertisingRouter
 
long lsSequenceNumber
 
unsigned short lsaLength
 

Private Member Functions

void copy (const OSPFLSAHeader &other)
 

Detailed Description

Class generated from inet/routing/ospfv2/OSPFPacket.msg:96 by nedtool.

//
// Represents an OSPF LSA header
//
class OSPFLSAHeader
{
    unsigned short lsAge = 0;
    OSPFOptions lsOptions;
    char lsType @enum(LSAType) = ROUTERLSA_TYPE;
    IPv4Address linkStateID;
    IPv4Address advertisingRouter;
    long lsSequenceNumber = 0;
    unsigned short lsaLength = 0;
}

Constructor & Destructor Documentation

inet::ospf::OSPFLSAHeader::OSPFLSAHeader ( )
inet::ospf::OSPFLSAHeader::OSPFLSAHeader ( const OSPFLSAHeader other)
virtual inet::ospf::OSPFLSAHeader::~OSPFLSAHeader ( )
virtual

Member Function Documentation

void inet::ospf::OSPFLSAHeader::copy ( const OSPFLSAHeader other)
private
virtual OSPFLSAHeader* inet::ospf::OSPFLSAHeader::dup ( ) const
inlineoverridevirtual
293 {return new OSPFLSAHeader(*this);}
virtual const IPv4Address& inet::ospf::OSPFLSAHeader::getAdvertisingRouter ( ) const
inlinevirtual

Referenced by getAdvertisingRouter().

309 {return const_cast<OSPFLSAHeader*>(this)->getAdvertisingRouter();}
virtual IPv4Address & getAdvertisingRouter()
virtual const IPv4Address& inet::ospf::OSPFLSAHeader::getLinkStateID ( ) const
inlinevirtual

Referenced by getLinkStateID().

306 {return const_cast<OSPFLSAHeader*>(this)->getLinkStateID();}
virtual IPv4Address & getLinkStateID()
virtual unsigned short inet::ospf::OSPFLSAHeader::getLsaLength ( ) const
virtual
virtual const OSPFOptions& inet::ospf::OSPFLSAHeader::getLsOptions ( ) const
inlinevirtual

Referenced by getLsOptions().

301 {return const_cast<OSPFLSAHeader*>(this)->getLsOptions();}
virtual OSPFOptions & getLsOptions()
OSPFLSAHeader& inet::ospf::OSPFLSAHeader::operator= ( const OSPFLSAHeader other)
bool inet::ospf::OSPFLSAHeader::operator== ( const OSPFLSAHeader )
protected
virtual void inet::ospf::OSPFLSAHeader::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::ospf::OSPFLSAHeader::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::ospf::OSPFLSAHeader::setAdvertisingRouter ( const IPv4Address advertisingRouter)
virtual
virtual void inet::ospf::OSPFLSAHeader::setLinkStateID ( const IPv4Address linkStateID)
virtual
virtual void inet::ospf::OSPFLSAHeader::setLsaLength ( unsigned short  lsaLength)
virtual

Member Data Documentation

IPv4Address inet::ospf::OSPFLSAHeader::advertisingRouter
protected
IPv4Address inet::ospf::OSPFLSAHeader::linkStateID
protected
unsigned short inet::ospf::OSPFLSAHeader::lsAge
protected
unsigned short inet::ospf::OSPFLSAHeader::lsaLength
protected
OSPFOptions inet::ospf::OSPFLSAHeader::lsOptions
protected
long inet::ospf::OSPFLSAHeader::lsSequenceNumber
protected
char inet::ospf::OSPFLSAHeader::lsType
protected

The documentation for this class was generated from the following file: