OpenSDN source code
|
#include <bgp_attr.h>
Public Member Functions | |
ClusterListSpec () | |
ClusterListSpec (const BgpAttribute &rhs) | |
ClusterListSpec (const ClusterListSpec &rhs) | |
ClusterListSpec (uint32_t cluster_id, const ClusterListSpec *rhs) | |
virtual int | CompareTo (const BgpAttribute &rhs) const |
virtual void | ToCanonical (BgpAttr *attr) |
virtual std::string | ToString () const |
bool | ClusterListLoop (uint32_t cluster_id) const |
![]() | |
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 | ~ParseObject () |
Public Attributes | |
std::vector< uint32_t > | cluster_list |
![]() | |
uint8_t | code |
uint8_t | subcode |
uint8_t | flags |
Static Public Attributes | |
static const int | kSize = -1 |
static const uint8_t | kFlags = Optional |
![]() | |
static const uint8_t | FLAG_MASK = Optional|Transitive |
Additional Inherited Members | |
![]() | |
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 } |
Definition at line 203 of file bgp_attr.h.
|
inline |
Definition at line 206 of file bgp_attr.h.
|
inlineexplicit |
Definition at line 207 of file bgp_attr.h.
|
inlineexplicit |
Definition at line 208 of file bgp_attr.h.
ClusterListSpec::ClusterListSpec | ( | uint32_t | cluster_id, |
const ClusterListSpec * | rhs | ||
) |
Definition at line 190 of file bgp_attr.cc.
bool ClusterListSpec::ClusterListLoop | ( | uint32_t | cluster_id | ) | const |
Definition at line 223 of file bgp_attr.cc.
|
virtual |
Reimplemented from BgpAttribute.
Definition at line 200 of file bgp_attr.cc.
|
virtual |
Reimplemented from BgpAttribute.
Definition at line 208 of file bgp_attr.cc.
|
virtual |
Reimplemented from BgpAttribute.
Definition at line 212 of file bgp_attr.cc.
std::vector<uint32_t> ClusterListSpec::cluster_list |
Definition at line 217 of file bgp_attr.h.
|
static |
Definition at line 205 of file bgp_attr.h.
|
static |
Definition at line 204 of file bgp_attr.h.