OpenSDN source code
BgpAttrAtomicAggregate Struct Reference

#include <bgp_attr.h>

Inheritance diagram for BgpAttrAtomicAggregate:
Collaboration diagram for BgpAttrAtomicAggregate:

Public Member Functions

 BgpAttrAtomicAggregate ()
 
 BgpAttrAtomicAggregate (const BgpAttribute &rhs)
 
virtual void ToCanonical (BgpAttr *attr)
 
virtual std::string ToString () const
 
- Public Member Functions inherited from BgpAttribute
 BgpAttribute ()
 
 BgpAttribute (uint8_t code, uint8_t flags)
 
 BgpAttribute (uint8_t code, uint8_t subcode, uint8_t flags)
 
virtual size_t EncodeLength () const
 
uint8_t GetEncodeFlags () const
 
virtual int CompareTo (const BgpAttribute &rhs) const
 
- Public Member Functions inherited from ParseObject
virtual ~ParseObject ()
 

Static Public Attributes

static const int kSize = 0
 
static const uint8_t kFlags = Transitive
 
- Static Public Attributes inherited from BgpAttribute
static const uint8_t FLAG_MASK = Optional|Transitive
 

Additional Inherited Members

- Public Types inherited from BgpAttribute
enum  Flag { Optional = 1 << 7 , Transitive = 1 << 6 , Partial = 1 << 5 , ExtendedLength = 1 << 4 }
 
enum  Code {
  Reserved = 0 , Origin = 1 , AsPath = 2 , NextHop = 3 ,
  MultiExitDisc = 4 , LocalPref = 5 , AtomicAggregate = 6 , Aggregator = 7 ,
  Communities = 8 , OriginatorId = 9 , ClusterList = 10 , MPReachNlri = 14 ,
  MPUnreachNlri = 15 , ExtendedCommunities = 16 , As4Path = 17 , As4Aggregator = 18 ,
  PmsiTunnel = 22 , McastEdgeDiscovery = 241 , McastEdgeForwarding = 242 , OriginVnPath = 243
}
 
enum  Subcode {
  OList = 1 , LabelBlock = 2 , SourceRd = 3 , Esi = 4 ,
  Params = 5 , LeafOList = 6 , SubProtocol = 7
}
 
- Public Attributes inherited from BgpAttribute
uint8_t code
 
uint8_t subcode
 
uint8_t flags
 

Detailed Description

Definition at line 121 of file bgp_attr.h.

Constructor & Destructor Documentation

◆ BgpAttrAtomicAggregate() [1/2]

BgpAttrAtomicAggregate::BgpAttrAtomicAggregate ( )
inline

Definition at line 124 of file bgp_attr.h.

◆ BgpAttrAtomicAggregate() [2/2]

BgpAttrAtomicAggregate::BgpAttrAtomicAggregate ( const BgpAttribute rhs)
inlineexplicit

Definition at line 125 of file bgp_attr.h.

Member Function Documentation

◆ ToCanonical()

void BgpAttrAtomicAggregate::ToCanonical ( BgpAttr attr)
virtual

Reimplemented from BgpAttribute.

Definition at line 97 of file bgp_attr.cc.

Here is the call graph for this function:

◆ ToString()

string BgpAttrAtomicAggregate::ToString ( ) const
virtual

Reimplemented from BgpAttribute.

Definition at line 101 of file bgp_attr.cc.

Member Data Documentation

◆ kFlags

const uint8_t BgpAttrAtomicAggregate::kFlags = Transitive
static

Definition at line 123 of file bgp_attr.h.

◆ kSize

const int BgpAttrAtomicAggregate::kSize = 0
static

Definition at line 122 of file bgp_attr.h.


The documentation for this struct was generated from the following files: