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

Class generated from inet/routing/bgpv4/BGPMessage/BGPASPathSegment.msg:30 by nedtool. More...

#include <BGPASPathSegment_m.h>

Inheritance diagram for inet::bgp::BGPASPathSegment:

Public Member Functions

 BGPASPathSegment ()
 
 BGPASPathSegment (const BGPASPathSegment &other)
 
virtual ~BGPASPathSegment ()
 
BGPASPathSegmentoperator= (const BGPASPathSegment &other)
 
virtual BGPASPathSegmentdup () const override
 
virtual void parsimPack (omnetpp::cCommBuffer *b) const override
 
virtual void parsimUnpack (omnetpp::cCommBuffer *b) override
 
virtual unsigned char getType () const
 
virtual void setType (unsigned char type)
 
virtual unsigned char getLength () const
 
virtual void setLength (unsigned char length)
 
virtual void setAsValueArraySize (unsigned int size)
 
virtual unsigned int getAsValueArraySize () const
 
virtual unsigned short getAsValue (unsigned int k) const
 
virtual void setAsValue (unsigned int k, unsigned short asValue)
 

Protected Member Functions

bool operator== (const BGPASPathSegment &)
 

Protected Attributes

unsigned char type
 
unsigned char length
 
unsigned short * asValue
 
unsigned int asValue_arraysize
 

Private Member Functions

void copy (const BGPASPathSegment &other)
 

Detailed Description

Class generated from inet/routing/bgpv4/BGPMessage/BGPASPathSegment.msg:30 by nedtool.

//
// Represents a BGPv4 AS_PATH path attribute (RFC 4271 Section 4.3)
//
class BGPASPathSegment
{
    unsigned char type @enum(BGPPathSegmentType);
    unsigned char length;
    unsigned short asValue[];
}

Constructor & Destructor Documentation

inet::bgp::BGPASPathSegment::BGPASPathSegment ( )
inet::bgp::BGPASPathSegment::BGPASPathSegment ( const BGPASPathSegment other)
virtual inet::bgp::BGPASPathSegment::~BGPASPathSegment ( )
virtual

Member Function Documentation

void inet::bgp::BGPASPathSegment::copy ( const BGPASPathSegment other)
private
virtual BGPASPathSegment* inet::bgp::BGPASPathSegment::dup ( ) const
inlineoverridevirtual
72 {return new BGPASPathSegment(*this);}
virtual unsigned short inet::bgp::BGPASPathSegment::getAsValue ( unsigned int  k) const
virtual
virtual unsigned int inet::bgp::BGPASPathSegment::getAsValueArraySize ( ) const
virtual
virtual unsigned char inet::bgp::BGPASPathSegment::getLength ( ) const
virtual
virtual unsigned char inet::bgp::BGPASPathSegment::getType ( ) const
virtual
BGPASPathSegment& inet::bgp::BGPASPathSegment::operator= ( const BGPASPathSegment other)
bool inet::bgp::BGPASPathSegment::operator== ( const BGPASPathSegment )
protected
virtual void inet::bgp::BGPASPathSegment::parsimPack ( omnetpp::cCommBuffer *  b) const
overridevirtual
virtual void inet::bgp::BGPASPathSegment::parsimUnpack ( omnetpp::cCommBuffer *  b)
overridevirtual
virtual void inet::bgp::BGPASPathSegment::setAsValue ( unsigned int  k,
unsigned short  asValue 
)
virtual
virtual void inet::bgp::BGPASPathSegment::setAsValueArraySize ( unsigned int  size)
virtual
virtual void inet::bgp::BGPASPathSegment::setLength ( unsigned char  length)
virtual
virtual void inet::bgp::BGPASPathSegment::setType ( unsigned char  type)
virtual

Member Data Documentation

unsigned short* inet::bgp::BGPASPathSegment::asValue
protected
unsigned int inet::bgp::BGPASPathSegment::asValue_arraysize
protected
unsigned char inet::bgp::BGPASPathSegment::length
protected
unsigned char inet::bgp::BGPASPathSegment::type
protected

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