INET Framework for OMNeT++/OMNEST
inet::bgp::BgpUpdateMessage Class Reference

Class generated from inet/routing/bgpv4/bgpmessage/BgpHeader.msg:215 by opp_msgtool. More...

#include <BgpHeader_m.h>

Inheritance diagram for inet::bgp::BgpUpdateMessage:
inet::bgp::BgpHeader inet::FieldsChunk inet::Chunk inet::IPrintableObject inet::IRegionTaggedObject

Public Member Functions

 BgpUpdateMessage ()
 
 BgpUpdateMessage (const BgpUpdateMessage &other)
 
virtual ~BgpUpdateMessage ()
 
BgpUpdateMessageoperator= (const BgpUpdateMessage &other)
 
virtual BgpUpdateMessagedup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual uint16_t getWithDrawnRoutesLength () const
 
virtual void setWithDrawnRoutesLength (uint16_t withDrawnRoutesLength)
 
virtual void setWithdrawnRoutesArraySize (size_t size)
 
virtual size_t getWithdrawnRoutesArraySize () const
 
virtual const BgpUpdateWithdrawnRoutesgetWithdrawnRoutes (size_t k) const
 
virtual BgpUpdateWithdrawnRoutesgetWithdrawnRoutesForUpdate (size_t k)
 
virtual void setWithdrawnRoutes (size_t k, const BgpUpdateWithdrawnRoutes &withdrawnRoutes)
 
virtual void insertWithdrawnRoutes (size_t k, const BgpUpdateWithdrawnRoutes &withdrawnRoutes)
 
void insertWithdrawnRoutes (const BgpUpdateWithdrawnRoutes &withdrawnRoutes)
 
virtual void appendWithdrawnRoutes (const BgpUpdateWithdrawnRoutes &withdrawnRoutes)
 
virtual void eraseWithdrawnRoutes (size_t k)
 
virtual uint16_t getTotalPathAttributeLength () const
 
virtual void setTotalPathAttributeLength (uint16_t totalPathAttributeLength)
 
virtual void setPathAttributesArraySize (size_t size)
 
virtual size_t getPathAttributesArraySize () const
 
virtual const BgpUpdatePathAttributesgetPathAttributes (size_t k) const
 
virtual BgpUpdatePathAttributesgetPathAttributesForUpdate (size_t k)
 
virtual void setPathAttributes (size_t k, BgpUpdatePathAttributes *pathAttributes)
 
virtual BgpUpdatePathAttributesremovePathAttributes (size_t k)
 
BgpUpdatePathAttributesdropPathAttributes (size_t k)
 
virtual void insertPathAttributes (size_t k, BgpUpdatePathAttributes *pathAttributes)
 
void insertPathAttributes (BgpUpdatePathAttributes *pathAttributes)
 
virtual void appendPathAttributes (BgpUpdatePathAttributes *pathAttributes)
 
virtual void erasePathAttributes (size_t k)
 
virtual void setNLRIArraySize (size_t size)
 
virtual size_t getNLRIArraySize () const
 
virtual const BgpUpdateNlrigetNLRI (size_t k) const
 
virtual BgpUpdateNlrigetNLRIForUpdate (size_t k)
 
virtual void setNLRI (size_t k, const BgpUpdateNlri &NLRI)
 
virtual void insertNLRI (size_t k, const BgpUpdateNlri &NLRI)
 
void insertNLRI (const BgpUpdateNlri &NLRI)
 
virtual void appendNLRI (const BgpUpdateNlri &NLRI)
 
virtual void eraseNLRI (size_t k)
 
- Public Member Functions inherited from inet::bgp::BgpHeader
 BgpHeader ()
 
 BgpHeader (const BgpHeader &other)
 
virtual ~BgpHeader ()
 
BgpHeaderoperator= (const BgpHeader &other)
 
virtual size_t getMarkerArraySize () const
 
virtual uint8_t getMarker (size_t k) const
 
virtual void setMarker (size_t k, uint8_t marker)
 
virtual uint16_t getTotalLength () const
 
virtual void setTotalLength (uint16_t totalLength)
 
virtual BgpType getType () const
 
virtual void setType (BgpType type)
 
- Public Member Functions inherited from inet::FieldsChunk
 FieldsChunk ()
 
 FieldsChunk (const FieldsChunk &other)
 
virtual ~FieldsChunk ()
 
virtual void parsimPack (cCommBuffer *buffer) const override
 
virtual void parsimUnpack (cCommBuffer *buffer) override
 
virtual void handleChange () override
 
virtual ChunkType getChunkType () const override
 Returns the type of this chunk as an enum member. More...
 
virtual bool containsSameData (const Chunk &other) const override
 Returns true if the two chunks represent the same binary data. More...
 
virtual b getChunkLength () const override
 Returns the length of data represented by this chunk. More...
 
virtual void setChunkLength (b chunkLength)
 
virtual void addChunkLength (b chunkLength)
 
virtual std::ostream & printFieldsToStream (std::ostream &stream, int level, int evFlags=0) const override
 Prints an optinally formatted human readable string representation of the feilds of this chunk to the given stream. More...
 
- Public Member Functions inherited from inet::Chunk
 Chunk ()
 
 Chunk (const Chunk &other)
 
virtual const Ptr< ChunkdupShared () const
 Returns a mutable copy of this chunk in a shared pointer. More...
 
virtual void forEachChild (cVisitor *v) override
 
virtual bool isMutable () const
 
virtual bool isImmutable () const
 
virtual void markImmutable ()
 
void markMutableIfExclusivelyOwned ()
 
virtual bool isComplete () const
 
virtual bool isIncomplete () const
 
virtual void markIncomplete ()
 
virtual bool isCorrect () const
 
virtual bool isIncorrect () const
 
virtual void markIncorrect ()
 
virtual bool isProperlyRepresented () const
 
virtual bool isImproperlyRepresented () const
 
virtual void markImproperlyRepresented ()
 
virtual void moveIterator (Iterator &iterator, b length) const
 
virtual void seekIterator (Iterator &iterator, b position) const
 
virtual bool canInsertAtFront (const Ptr< const Chunk > &chunk) const
 Returns true if this chunk is capable of representing the result. More...
 
virtual bool canInsertAtBack (const Ptr< const Chunk > &chunk) const
 Returns true if this chunk is capable of representing the result. More...
 
virtual bool canInsertAt (const Ptr< const Chunk > &chunk, b offset) const
 Returns true if this chunk is capable of representing the result. More...
 
void insertAtFront (const Ptr< const Chunk > &chunk)
 Inserts the provided chunk at the beginning of this chunk. More...
 
void insertAtBack (const Ptr< const Chunk > &chunk)
 Inserts the provided chunk at the end of this chunk. More...
 
void insertAt (const Ptr< const Chunk > &chunk, b offset)
 Inserts the provided chunk into this chunk. More...
 
virtual bool canRemoveAtFront (b length) const
 Returns true if this chunk is capable of representing the result. More...
 
virtual bool canRemoveAtBack (b length) const
 Returns true if this chunk is capable of representing the result. More...
 
virtual bool canRemoveAt (b offset, b length) const
 Returns true if this chunk is capable of representing the result. More...
 
void removeAtFront (b length)
 Removes the requested part from the beginning of this chunk. More...
 
void removeAtBack (b length)
 Removes the requested part from the end of this chunk. More...
 
void removeAt (b offset, b length)
 Removes the requested part from this chunk. More...
 
int getChunkId () const
 Returns the sequentially assigned id. More...
 
virtual bool isEmpty () const
 Returns true if this chunk contains no data. More...
 
const Ptr< Chunksimplify () const
 Returns the simplified representation of this chunk eliminating all potential redundancies. More...
 
const Ptr< Chunkpeek (const Iterator &iterator, b length=unspecifiedLength, int flags=0) const
 Returns the designated part of the data represented by this chunk in its default representation. More...
 
template<typename T >
bool has (const Iterator &iterator, b length=unspecifiedLength) const
 Returns whether if the designated part of the data is available in the requested representation. More...
 
template<typename T >
const Ptr< Tpeek (const Iterator &iterator, b length=unspecifiedLength, int flags=0) const
 Returns the designated part of the data represented by this chunk in the requested representation. More...
 
virtual SharingRegionTagSetgetRegionTags () override
 Returns all region tags. More...
 
int getNumTags () const
 Returns the number of chunk tags. More...
 
const Ptr< const TagBasegetTag (int index) const
 Returns the chunk tag at the given index. More...
 
void clearTags (b offset=b(0), b length=b(-1))
 Clears the set of chunk tags in the given region. More...
 
void copyTags (const Chunk &source, b sourceOffset=b(0), b offset=b(0), b length=b(-1))
 Copies the set of chunk tags from the source region to the provided region. More...
 
template<typename T >
const Ptr< const TfindTag (b offset=b(0), b length=b(-1)) const
 Returns the chunk tag for the provided type and range, or returns nullptr if no such chunk tag is found. More...
 
template<typename T >
const Ptr< const TgetTag (b offset=b(0), b length=b(-1)) const
 Returns the chunk tag for the provided type and range, or throws an exception if no such chunk tag is found. More...
 
template<typename T >
void mapAllTags (b offset, b length, std::function< void(b, b, const Ptr< const T > &)> f) const
 Maps all tags in the provided range to to the function. More...
 
template<typename T >
void mapAllTagsForUpdate (b offset, b length, std::function< void(b, b, const Ptr< T > &)> f)
 Maps all tags in the provided range to to the function. More...
 
template<typename T >
std::vector< SharingRegionTagSet::RegionTag< const T > > getAllTags (b offset=b(0), b length=b(-1)) const
 Returns all chunk tags for the provided type and range in a detached vector of region tags. More...
 
template<typename T >
std::vector< SharingRegionTagSet::RegionTag< T > > getAllTagsForUpdate (b offset=b(0), b length=b(-1))
 Returns all chunk tags for the provided type and range in a detached vector of region tags. More...
 
template<typename T >
const Ptr< TaddTag (b offset=b(0), b length=b(-1))
 Returns a newly added chunk tag for the provided type and range, or throws an exception if such a chunk tag is already present. More...
 
template<typename T >
const Ptr< TaddTagIfAbsent (b offset=b(0), b length=b(-1))
 Returns a newly added chunk tag for the provided type and range if absent, or returns the chunk tag that is already present. More...
 
template<typename T >
std::vector< SharingRegionTagSet::RegionTag< T > > addTagsWhereAbsent (b offset=b(0), b length=b(-1))
 Returns the newly added chunk tags for the provided type and range where the tag is absent. More...
 
template<typename T >
const Ptr< TremoveTag (b offset, b length)
 Removes the chunk tag for the provided type and range, or throws an exception if no such chunk tag is found. More...
 
template<typename T >
const Ptr< TremoveTagIfPresent (b offset, b length)
 Removes the chunk tag for the provided type and range if present, or returns nullptr if no such chunk tag is found. More...
 
template<typename T >
std::vector< SharingRegionTagSet::RegionTag< T > > removeTagsWherePresent (b offset, b length)
 Removes and returns all chunk tags for the provided type and range. More...
 
virtual std::ostream & printToStream (std::ostream &stream, int level, int evFlags=0) const override
 Prints an optinally formatted human readable string representation of the data present in this chunk to the given stream. More...
 
virtual std::string str () const override
 Returns a human readable string representation of the data present in this chunk. More...
 
- Public Member Functions inherited from inet::IPrintableObject
virtual ~IPrintableObject ()
 
virtual std::string printToString () const
 
virtual std::string printToString (int level, int evFlags=0) const
 
virtual std::string getInfoStringRepresentation (int evFlags=0) const
 
virtual std::string getDetailStringRepresentation (int evFlags=0) const
 
virtual std::string getDebugStringRepresentation (int evFlags=0) const
 
virtual std::string getTraceStringRepresentation (int evFlags=0) const
 
virtual std::string getCompleteStringRepresentation (int evFlags=0) const
 

Protected Member Functions

bool operator== (const BgpUpdateMessage &)=delete
 
- Protected Member Functions inherited from inet::bgp::BgpHeader
bool operator== (const BgpHeader &)=delete
 
- Protected Member Functions inherited from inet::FieldsChunk
const std::vector< uint8_t > * getSerializedBytes () const
 
void setSerializedBytes (const std::vector< uint8_t > *bytes) const
 
virtual const Ptr< ChunkpeekUnchecked (PeekPredicate predicate, PeekConverter converter, const Iterator &iterator, b length, int flags) const override
 
- Protected Member Functions inherited from inet::Chunk
int getBinDumpNumLines () const
 
int getHexDumpNumLines () const
 
const char * getBinDumpLine (int index)
 
const char * getHexDumpLine (int index)
 
const SharingRegionTagSet::RegionTag< TagBase > & _getTag (int index) const
 
void checkMutable () const
 
virtual void doInsertAtFront (const Ptr< const Chunk > &chunk)
 
virtual void doInsertAtBack (const Ptr< const Chunk > &chunk)
 
virtual void doInsertAt (const Ptr< const Chunk > &chunk, b offset)
 
virtual void doRemoveAtFront (b length)
 
virtual void doRemoveAtBack (b length)
 
virtual void doRemoveAt (b offset, b length)
 
template<typename T >
const Ptr< TpeekConverted (const Iterator &iterator, b length, int flags) const
 
template<typename T >
const Ptr< TcheckPeekResult (const Ptr< T > &chunk, int flags) const
 

Protected Attributes

uint16_t withDrawnRoutesLength = 0
 
BgpUpdateWithdrawnRouteswithdrawnRoutes = nullptr
 
size_t withdrawnRoutes_arraysize = 0
 
uint16_t totalPathAttributeLength = 0
 
BgpUpdatePathAttributes ** pathAttributes = nullptr
 
size_t pathAttributes_arraysize = 0
 
BgpUpdateNlriNLRI = nullptr
 
size_t NLRI_arraysize = 0
 
- Protected Attributes inherited from inet::bgp::BgpHeader
uint8_t marker [16]
 
uint16_t totalLength = B(BGP_HEADER_OCTETS).get()
 
BgpType type = static_cast<BgpType>(-1)
 
- Protected Attributes inherited from inet::FieldsChunk
b chunkLength
 
const std::vector< uint8_t > * serializedBytes
 The serialized representation of this chunk or nullptr if not available. More...
 
- Protected Attributes inherited from inet::Chunk
int id
 The id is automatically assigned sequentially during construction. More...
 
int flags
 The boolean chunk flags are merged into a single integer. More...
 
SharingRegionTagSet regionTags
 The set of region tags attached to the data represented by this chunk. More...
 
const typedef Ptr< Chunk >(* PeekConverter )(const Ptr< Chunk > &chunk, const Chunk::Iterator &iterator, b length, int flags)
 

Private Member Functions

void copy (const BgpUpdateMessage &other)
 

Additional Inherited Members

- Public Types inherited from inet::Chunk
enum  ChunkType {
  CT_EMPTY, CT_BITCOUNT, CT_BITS, CT_BYTECOUNT,
  CT_BYTES, CT_SLICE, CT_ENCRYPTED, CT_CPACKET,
  CT_SEQUENCE, CT_FIELDS
}
 This enum is used to avoid std::dynamic_cast and dynamicPtrCast. More...
 
enum  PeekFlag {
  PF_ALLOW_NULLPTR = (1 << 0), PF_ALLOW_EMPTY = (1 << 1), PF_ALLOW_INCOMPLETE = (1 << 2), PF_ALLOW_INCORRECT = (1 << 3),
  PF_ALLOW_IMPROPERLY_REPRESENTED = (1 << 4), PF_ALLOW_SERIALIZATION = (1 << 5), PF_ALLOW_ALL = -1
}
 This enum specifies bitmasks for the flags argument of various peek functions. More...
 
- Public Types inherited from inet::IPrintableObject
enum  PrintLevel {
  PRINT_LEVEL_TRACE, PRINT_LEVEL_DEBUG, PRINT_LEVEL_DETAIL, PRINT_LEVEL_INFO,
  PRINT_LEVEL_COMPLETE = INT_MIN
}
 
enum  PrintFlag { PRINT_FLAG_FORMATTED = (1 << 0), PRINT_FLAG_MULTILINE = (1 << 1) }
 
- Static Public Member Functions inherited from inet::Chunk
static void serialize (MemoryOutputStream &stream, const Ptr< const Chunk > &chunk, b offset=b(0), b length=b(-1))
 Serializes a chunk into the given stream. More...
 
static const Ptr< Chunkdeserialize (MemoryInputStream &stream, const std::type_info &typeInfo)
 Deserializes a chunk from the given stream. More...
 
- Static Public Attributes inherited from inet::Chunk
static const b unspecifiedLength = b(-std::numeric_limits<int64_t>::max())
 
static bool enableImplicitChunkSerialization = false
 Peeking some part into a chunk that requires automatic serialization will throw an exception when implicit chunk serialization is disabled. More...
 
static int nextId = 0
 
- Protected Types inherited from inet::Chunk
enum  ChunkFlag { CF_IMMUTABLE = (1 << 0), CF_INCOMPLETE = (1 << 1), CF_INCORRECT = (1 << 2), CF_IMPROPERLY_REPRESENTED = (1 << 3) }
 This enum specifies bitmasks for the flags field of Chunk. More...
 
typedef bool(* PeekPredicate) (const Ptr< Chunk > &)
 
- Static Protected Member Functions inherited from inet::FieldsChunk
static const Ptr< ChunkconvertChunk (const std::type_info &typeInfo, const Ptr< Chunk > &chunk, b offset, b length, int flags)
 
- Static Protected Member Functions inherited from inet::Chunk
static const Ptr< ChunkconvertChunk (const std::type_info &typeInfo, const Ptr< Chunk > &chunk, b offset, b length, int flags)
 Creates a new chunk of the given type that represents the designated part of the provided chunk. More...
 

Detailed Description

Class generated from inet/routing/bgpv4/bgpmessage/BgpHeader.msg:215 by opp_msgtool.

//
// Represents a BGPv4 UPDATE message.
//
// see RFC 4271 Section 4.3
//
class BgpUpdateMessage extends BgpHeader
{
    type = BGP_UPDATE;
    chunkLength = BGP_HEADER_OCTETS + BGP_EMPTY_UPDATE_OCTETS;
    totalLength = B(BGP_HEADER_OCTETS + BGP_EMPTY_UPDATE_OCTETS).get();
    uint16_t withDrawnRoutesLength = 0;    // This 2-octets unsigned integer indicates the total length of
                                           // the Withdrawn Routes field in octets.  Its value allows the
                                           // length of the Network Layer Reachability Information field to
                                           // be determined, as specified below.
                                           //
                                           // A value of 0 indicates that no routes are being withdrawn from
                                           // service, and that the WITHDRAWN ROUTES field is not present in
                                           // this UPDATE message.
    BgpUpdateWithdrawnRoutes withdrawnRoutes[];
    uint16_t totalPathAttributeLength = 0;    // This 2-octets unsigned integer indicates the total length of
                                              // Path Attributes field in octets.  Its value allows the length
                                              // of the Network Layer Reachability field to be determined as
                                              // specified below.
                                              //
                                              // A value of 0 indicates that neither the Network Layer
                                              // Reachability Information field nor the Path Attribute field is
                                              // present in this UPDATE message.
    BgpUpdatePathAttributes *pathAttributes[] @owned @allowReplace;
    BgpUpdateNlri NLRI[];
}

Constructor & Destructor Documentation

◆ BgpUpdateMessage() [1/2]

inet::bgp::BgpUpdateMessage::BgpUpdateMessage ( )

◆ BgpUpdateMessage() [2/2]

inet::bgp::BgpUpdateMessage::BgpUpdateMessage ( const BgpUpdateMessage other)

◆ ~BgpUpdateMessage()

virtual inet::bgp::BgpUpdateMessage::~BgpUpdateMessage ( )
virtual

Member Function Documentation

◆ appendNLRI()

virtual void inet::bgp::BgpUpdateMessage::appendNLRI ( const BgpUpdateNlri NLRI)
virtual

◆ appendPathAttributes()

virtual void inet::bgp::BgpUpdateMessage::appendPathAttributes ( BgpUpdatePathAttributes pathAttributes)
virtual

◆ appendWithdrawnRoutes()

virtual void inet::bgp::BgpUpdateMessage::appendWithdrawnRoutes ( const BgpUpdateWithdrawnRoutes withdrawnRoutes)
virtual

◆ copy()

void inet::bgp::BgpUpdateMessage::copy ( const BgpUpdateMessage other)
private

◆ dropPathAttributes()

BgpUpdatePathAttributes* inet::bgp::BgpUpdateMessage::dropPathAttributes ( size_t  k)
inline
920 {return removePathAttributes(k);}

◆ dup()

virtual BgpUpdateMessage* inet::bgp::BgpUpdateMessage::dup ( ) const
inlineoverridevirtual

Reimplemented from inet::bgp::BgpHeader.

894 {return new BgpUpdateMessage(*this);}

◆ eraseNLRI()

virtual void inet::bgp::BgpUpdateMessage::eraseNLRI ( size_t  k)
virtual

◆ erasePathAttributes()

virtual void inet::bgp::BgpUpdateMessage::erasePathAttributes ( size_t  k)
virtual

◆ eraseWithdrawnRoutes()

virtual void inet::bgp::BgpUpdateMessage::eraseWithdrawnRoutes ( size_t  k)
virtual

◆ getNLRI()

virtual const BgpUpdateNlri& inet::bgp::BgpUpdateMessage::getNLRI ( size_t  k) const
virtual

◆ getNLRIArraySize()

virtual size_t inet::bgp::BgpUpdateMessage::getNLRIArraySize ( ) const
virtual

◆ getNLRIForUpdate()

virtual BgpUpdateNlri& inet::bgp::BgpUpdateMessage::getNLRIForUpdate ( size_t  k)
inlinevirtual
929 { handleChange();return const_cast<BgpUpdateNlri&>(const_cast<BgpUpdateMessage*>(this)->getNLRI(k));}

◆ getPathAttributes()

virtual const BgpUpdatePathAttributes* inet::bgp::BgpUpdateMessage::getPathAttributes ( size_t  k) const
virtual

◆ getPathAttributesArraySize()

virtual size_t inet::bgp::BgpUpdateMessage::getPathAttributesArraySize ( ) const
virtual

◆ getPathAttributesForUpdate()

virtual BgpUpdatePathAttributes* inet::bgp::BgpUpdateMessage::getPathAttributesForUpdate ( size_t  k)
inlinevirtual
917 { handleChange();return const_cast<BgpUpdatePathAttributes *>(const_cast<BgpUpdateMessage*>(this)->getPathAttributes(k));}

◆ getTotalPathAttributeLength()

virtual uint16_t inet::bgp::BgpUpdateMessage::getTotalPathAttributeLength ( ) const
virtual

◆ getWithdrawnRoutes()

virtual const BgpUpdateWithdrawnRoutes& inet::bgp::BgpUpdateMessage::getWithdrawnRoutes ( size_t  k) const
virtual

◆ getWithdrawnRoutesArraySize()

virtual size_t inet::bgp::BgpUpdateMessage::getWithdrawnRoutesArraySize ( ) const
virtual

◆ getWithdrawnRoutesForUpdate()

virtual BgpUpdateWithdrawnRoutes& inet::bgp::BgpUpdateMessage::getWithdrawnRoutesForUpdate ( size_t  k)
inlinevirtual
904 { handleChange();return const_cast<BgpUpdateWithdrawnRoutes&>(const_cast<BgpUpdateMessage*>(this)->getWithdrawnRoutes(k));}

◆ getWithDrawnRoutesLength()

virtual uint16_t inet::bgp::BgpUpdateMessage::getWithDrawnRoutesLength ( ) const
virtual

◆ insertNLRI() [1/2]

void inet::bgp::BgpUpdateMessage::insertNLRI ( const BgpUpdateNlri NLRI)
inline
932 {appendNLRI(NLRI);}

◆ insertNLRI() [2/2]

virtual void inet::bgp::BgpUpdateMessage::insertNLRI ( size_t  k,
const BgpUpdateNlri NLRI 
)
virtual

◆ insertPathAttributes() [1/2]

void inet::bgp::BgpUpdateMessage::insertPathAttributes ( BgpUpdatePathAttributes pathAttributes)
inline

◆ insertPathAttributes() [2/2]

virtual void inet::bgp::BgpUpdateMessage::insertPathAttributes ( size_t  k,
BgpUpdatePathAttributes pathAttributes 
)
virtual

◆ insertWithdrawnRoutes() [1/2]

void inet::bgp::BgpUpdateMessage::insertWithdrawnRoutes ( const BgpUpdateWithdrawnRoutes withdrawnRoutes)
inline

◆ insertWithdrawnRoutes() [2/2]

virtual void inet::bgp::BgpUpdateMessage::insertWithdrawnRoutes ( size_t  k,
const BgpUpdateWithdrawnRoutes withdrawnRoutes 
)
virtual

◆ operator=()

BgpUpdateMessage& inet::bgp::BgpUpdateMessage::operator= ( const BgpUpdateMessage other)

◆ operator==()

bool inet::bgp::BgpUpdateMessage::operator== ( const BgpUpdateMessage )
protecteddelete

◆ parsimPack()

virtual void inet::bgp::BgpUpdateMessage::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual

Reimplemented from inet::bgp::BgpHeader.

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

◆ parsimUnpack()

virtual void inet::bgp::BgpUpdateMessage::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual

Reimplemented from inet::bgp::BgpHeader.

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

◆ removePathAttributes()

virtual BgpUpdatePathAttributes* inet::bgp::BgpUpdateMessage::removePathAttributes ( size_t  k)
virtual

◆ setNLRI()

virtual void inet::bgp::BgpUpdateMessage::setNLRI ( size_t  k,
const BgpUpdateNlri NLRI 
)
virtual

◆ setNLRIArraySize()

virtual void inet::bgp::BgpUpdateMessage::setNLRIArraySize ( size_t  size)
virtual

◆ setPathAttributes()

virtual void inet::bgp::BgpUpdateMessage::setPathAttributes ( size_t  k,
BgpUpdatePathAttributes pathAttributes 
)
virtual

◆ setPathAttributesArraySize()

virtual void inet::bgp::BgpUpdateMessage::setPathAttributesArraySize ( size_t  size)
virtual

◆ setTotalPathAttributeLength()

virtual void inet::bgp::BgpUpdateMessage::setTotalPathAttributeLength ( uint16_t  totalPathAttributeLength)
virtual

◆ setWithdrawnRoutes()

virtual void inet::bgp::BgpUpdateMessage::setWithdrawnRoutes ( size_t  k,
const BgpUpdateWithdrawnRoutes withdrawnRoutes 
)
virtual

◆ setWithdrawnRoutesArraySize()

virtual void inet::bgp::BgpUpdateMessage::setWithdrawnRoutesArraySize ( size_t  size)
virtual

◆ setWithDrawnRoutesLength()

virtual void inet::bgp::BgpUpdateMessage::setWithDrawnRoutesLength ( uint16_t  withDrawnRoutesLength)
virtual

Member Data Documentation

◆ NLRI

BgpUpdateNlri* inet::bgp::BgpUpdateMessage::NLRI = nullptr
protected

◆ NLRI_arraysize

size_t inet::bgp::BgpUpdateMessage::NLRI_arraysize = 0
protected

◆ pathAttributes

BgpUpdatePathAttributes* * inet::bgp::BgpUpdateMessage::pathAttributes = nullptr
protected

◆ pathAttributes_arraysize

size_t inet::bgp::BgpUpdateMessage::pathAttributes_arraysize = 0
protected

◆ totalPathAttributeLength

uint16_t inet::bgp::BgpUpdateMessage::totalPathAttributeLength = 0
protected

◆ withdrawnRoutes

BgpUpdateWithdrawnRoutes* inet::bgp::BgpUpdateMessage::withdrawnRoutes = nullptr
protected

◆ withdrawnRoutes_arraysize

size_t inet::bgp::BgpUpdateMessage::withdrawnRoutes_arraysize = 0
protected

◆ withDrawnRoutesLength

uint16_t inet::bgp::BgpUpdateMessage::withDrawnRoutesLength = 0
protected

The documentation for this class was generated from the following file:
inet::bgp::BgpUpdateMessage::removePathAttributes
virtual BgpUpdatePathAttributes * removePathAttributes(size_t k)
inet::bgp::BgpUpdateMessage::pathAttributes
BgpUpdatePathAttributes ** pathAttributes
Definition: BgpHeader_m.h:878
inet::bgp::BgpUpdateMessage::appendWithdrawnRoutes
virtual void appendWithdrawnRoutes(const BgpUpdateWithdrawnRoutes &withdrawnRoutes)
inet::FieldsChunk::handleChange
virtual void handleChange() override
Definition: FieldsChunk.cc:50
inet::bgp::BgpUpdateMessage::BgpUpdateMessage
BgpUpdateMessage()
inet::bgp::BgpUpdateMessage::appendNLRI
virtual void appendNLRI(const BgpUpdateNlri &NLRI)
inet::bgp::BgpUpdateMessage::appendPathAttributes
virtual void appendPathAttributes(BgpUpdatePathAttributes *pathAttributes)
inet::physicallayer::k
const double k
Definition: Qam1024Modulation.cc:14
inet::bgp::BgpUpdateMessage::getNLRI
virtual const BgpUpdateNlri & getNLRI(size_t k) const
inet::bgp::BgpUpdateMessage::withdrawnRoutes
BgpUpdateWithdrawnRoutes * withdrawnRoutes
Definition: BgpHeader_m.h:875
inet::bgp::BgpUpdateMessage::getWithdrawnRoutes
virtual const BgpUpdateWithdrawnRoutes & getWithdrawnRoutes(size_t k) const
inet::bgp::BgpUpdateMessage::NLRI
BgpUpdateNlri * NLRI
Definition: BgpHeader_m.h:880
inet::bgp::BgpUpdateMessage::getPathAttributes
virtual const BgpUpdatePathAttributes * getPathAttributes(size_t k) const