OpenSDN source code
EdgeDiscoverySpec Struct Reference

#include <bgp_attr.h>

Inheritance diagram for EdgeDiscoverySpec:
Collaboration diagram for EdgeDiscoverySpec:

Classes

struct  Edge
 

Public Types

typedef std::vector< Edge * > EdgeList
 
- 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 Member Functions

 EdgeDiscoverySpec ()
 
 EdgeDiscoverySpec (const BgpAttribute &rhs)
 
 EdgeDiscoverySpec (const EdgeDiscoverySpec &rhs)
 
 ~EdgeDiscoverySpec ()
 
virtual int CompareTo (const BgpAttribute &rhs_attr) const
 
virtual void ToCanonical (BgpAttr *attr)
 
virtual std::string ToString () const
 
virtual size_t EncodeLength () 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)
 
uint8_t GetEncodeFlags () const
 
- Public Member Functions inherited from ParseObject
virtual ~ParseObject ()
 

Public Attributes

EdgeList edge_list
 
- Public Attributes inherited from BgpAttribute
uint8_t code
 
uint8_t subcode
 
uint8_t flags
 

Static Public Attributes

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

Detailed Description

Definition at line 436 of file bgp_attr.h.

Member Typedef Documentation

◆ EdgeList

typedef std::vector<Edge *> EdgeDiscoverySpec::EdgeList

Definition at line 458 of file bgp_attr.h.

Constructor & Destructor Documentation

◆ EdgeDiscoverySpec() [1/3]

EdgeDiscoverySpec::EdgeDiscoverySpec ( )

Definition at line 425 of file bgp_attr.cc.

◆ EdgeDiscoverySpec() [2/3]

EdgeDiscoverySpec::EdgeDiscoverySpec ( const BgpAttribute rhs)
explicit

Definition at line 429 of file bgp_attr.cc.

◆ EdgeDiscoverySpec() [3/3]

EdgeDiscoverySpec::EdgeDiscoverySpec ( const EdgeDiscoverySpec rhs)
explicit

Definition at line 433 of file bgp_attr.cc.

◆ ~EdgeDiscoverySpec()

EdgeDiscoverySpec::~EdgeDiscoverySpec ( )

Definition at line 442 of file bgp_attr.cc.

Here is the call graph for this function:

Member Function Documentation

◆ CompareTo()

int EdgeDiscoverySpec::CompareTo ( const BgpAttribute rhs_attr) const
virtual

Reimplemented from BgpAttribute.

Definition at line 477 of file bgp_attr.cc.

Here is the call graph for this function:

◆ EncodeLength()

size_t EdgeDiscoverySpec::EncodeLength ( ) const
virtual

Reimplemented from BgpAttribute.

Definition at line 509 of file bgp_attr.cc.

◆ ToCanonical()

void EdgeDiscoverySpec::ToCanonical ( BgpAttr attr)
virtual

Reimplemented from BgpAttribute.

Definition at line 488 of file bgp_attr.cc.

Here is the call graph for this function:

◆ ToString()

string EdgeDiscoverySpec::ToString ( ) const
virtual

Reimplemented from BgpAttribute.

Definition at line 492 of file bgp_attr.cc.

Here is the call graph for this function:

Member Data Documentation

◆ edge_list

EdgeList EdgeDiscoverySpec::edge_list

Definition at line 459 of file bgp_attr.h.

◆ kFlags

const uint8_t EdgeDiscoverySpec::kFlags = Optional | Transitive
static

Definition at line 438 of file bgp_attr.h.

◆ kSize

const int EdgeDiscoverySpec::kSize = -1
static

Definition at line 437 of file bgp_attr.h.


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