#include <bgp_aspath.h>
|
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 181 of file bgp_aspath.h.
◆ AsPath4ByteSpec() [1/3]
AsPath4ByteSpec::AsPath4ByteSpec |
( |
| ) |
|
|
inline |
◆ AsPath4ByteSpec() [2/3]
AsPath4ByteSpec::AsPath4ByteSpec |
( |
const BgpAttribute & |
rhs | ) |
|
|
inlineexplicit |
◆ AsPath4ByteSpec() [3/3]
◆ ~AsPath4ByteSpec()
AsPath4ByteSpec::~AsPath4ByteSpec |
( |
| ) |
|
|
inline |
◆ Add() [1/2]
◆ Add() [2/2]
◆ AsIsPrivate()
static bool AsPath4ByteSpec::AsIsPrivate |
( |
as_t |
as | ) |
|
|
inlinestatic |
◆ AsLeftMost()
as_t AsPath4ByteSpec::AsLeftMost |
( |
| ) |
const |
◆ AsLeftMostMatch()
bool AsPath4ByteSpec::AsLeftMostMatch |
( |
as_t |
as | ) |
const |
◆ AsLeftMostPublic()
as_t AsPath4ByteSpec::AsLeftMostPublic |
( |
| ) |
const |
◆ AsPathLoop()
bool AsPath4ByteSpec::AsPathLoop |
( |
as_t |
as, |
|
|
uint8_t |
max_loop_count = 0 |
|
) |
| const |
◆ CompareTo()
int AsPath4ByteSpec::CompareTo |
( |
const BgpAttribute & |
rhs_attr | ) |
const |
|
virtual |
◆ EncodeLength()
size_t AsPath4ByteSpec::EncodeLength |
( |
| ) |
const |
|
virtual |
◆ RemovePrivate()
◆ Replace()
◆ ToCanonical()
void AsPath4ByteSpec::ToCanonical |
( |
BgpAttr * |
attr | ) |
|
|
virtual |
◆ ToString()
string AsPath4ByteSpec::ToString |
( |
| ) |
const |
|
virtual |
◆ kFlags
const uint8_t AsPath4ByteSpec::kFlags = Transitive |
|
static |
◆ kMaxPrivateAs
const as_t AsPath4ByteSpec::kMaxPrivateAs = 65534 |
|
static |
◆ kMaxPrivateAs4
const as_t AsPath4ByteSpec::kMaxPrivateAs4 = 4294967294 |
|
static |
◆ kMinPrivateAs
const as_t AsPath4ByteSpec::kMinPrivateAs = 64512 |
|
static |
◆ kMinPrivateAs4
const as_t AsPath4ByteSpec::kMinPrivateAs4 = 4200000000 |
|
static |
◆ kSize
const int AsPath4ByteSpec::kSize = -1 |
|
static |
◆ path_segments
std::vector<PathSegment *> AsPath4ByteSpec::path_segments |
The documentation for this struct was generated from the following files: