OpenSDN source code
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
types.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015 Juniper Networks, Inc. All rights reserved.
3
*/
4
5
#ifndef SRC_BGP_EXTENDED_COMMUNITY_TYPES_H_
6
#define SRC_BGP_EXTENDED_COMMUNITY_TYPES_H_
7
8
struct
BgpExtendedCommunityType
{
9
enum
type
{
10
TwoOctetAS
= 0x00,
11
IPv4Address
= 0x01,
12
FourOctetAS
= 0x02,
13
Opaque
= 0x03,
14
Evpn
= 0x06,
15
Experimental
= 0x80,
16
Experimental4ByteAs
= 0x82,
17
ExperimentalNonTransitive
= 0xC0,
18
};
19
};
20
21
struct
BgpExtendedCommunitySubType
{
22
enum
SubType
{
23
RouteTarget
= 0x02,
24
RouteOrigin
= 0x03,
25
SourceAS
= 0x09,
26
VrfRouteImport
= 0x0B,
27
SubCluster
= 0x85,
28
};
29
};
30
31
struct
BgpExtendedCommunityOpaqueSubType
{
32
enum
SubType
{
33
TunnelEncap
= 0x0C,
34
DefaultGateway
= 0x0D,
35
LoadBalance
= 0xAA,
// TBA
36
};
37
};
38
39
struct
BgpExtendedCommunityEvpnSubType
{
40
enum
SubType
{
41
MacMobility
= 0x00,
42
EsiMplsLabel
= 0x01,
43
EsImport
= 0x02,
44
RouterMac
= 0x03,
45
ETree
= 0x05,
46
MulticastFlags
= 0x09,
47
};
48
};
49
50
struct
BgpExtendedCommunityExperimentalSubType
{
51
enum
SubType
{
52
OriginVn
= 0x71,
53
SgId
= 0x04,
54
Tag
= 0x84,
55
};
56
};
57
58
struct
BgpExtendedCommunityExperimentalNonTransitiveSubType
{
59
enum
SubType
{
60
LocalSequenceNumber
= 0x00,
61
};
62
};
63
64
#endif // SRC_BGP_EXTENDED_COMMUNITY_TYPES_H_
RouteTarget
Definition:
rtarget_address.h:16
EsImport
Definition:
es_import.h:17
BgpExtendedCommunityExperimentalNonTransitiveSubType::SubType
SubType
Definition:
types.h:59
ETree
Definition:
etree.h:16
BgpExtendedCommunitySubType::SourceAS
Definition:
types.h:25
BgpExtendedCommunityType
Definition:
types.h:8
BgpExtendedCommunityType::FourOctetAS
Definition:
types.h:12
Tag
Definition:
bgp/extended-community/tag.h:15
RouterMac
Definition:
router_mac.h:17
BgpExtendedCommunityExperimentalSubType::SubType
SubType
Definition:
types.h:51
TunnelEncap
Definition:
tunnel_encap.h:17
BgpExtendedCommunityType::TwoOctetAS
Definition:
types.h:10
BgpExtendedCommunityEvpnSubType::EsiMplsLabel
Definition:
types.h:42
BgpExtendedCommunityExperimentalSubType
Definition:
types.h:50
BgpExtendedCommunitySubType::SubType
SubType
Definition:
types.h:22
BgpExtendedCommunityExperimentalSubType::SgId
Definition:
types.h:53
BgpExtendedCommunityEvpnSubType::SubType
SubType
Definition:
types.h:40
BgpExtendedCommunityEvpnSubType
Definition:
types.h:39
BgpExtendedCommunityOpaqueSubType::SubType
SubType
Definition:
types.h:32
LocalSequenceNumber
Definition:
local_sequence_number.h:16
OriginVn
Definition:
origin_vn.h:16
SubCluster
Definition:
sub_cluster.h:17
BgpExtendedCommunityType::type
type
Definition:
types.h:9
BgpExtendedCommunityType::ExperimentalNonTransitive
Definition:
types.h:17
BgpExtendedCommunityOpaqueSubType
Definition:
types.h:31
BgpExtendedCommunityType::Evpn
Definition:
types.h:14
BgpExtendedCommunitySubType
Definition:
types.h:21
MacMobility
Definition:
mac_mobility.h:16
BgpExtendedCommunityType::Experimental4ByteAs
Definition:
types.h:16
BgpExtendedCommunityType::Experimental
Definition:
types.h:15
DefaultGateway
Definition:
default_gateway.h:15
BgpExtendedCommunitySubType::RouteOrigin
Definition:
types.h:24
LoadBalance
Definition:
load_balance.h:41
MulticastFlags
Definition:
multicast_flags.h:15
BgpExtendedCommunityExperimentalNonTransitiveSubType
Definition:
types.h:58
BgpExtendedCommunityType::IPv4Address
Definition:
types.h:11
VrfRouteImport
Definition:
vrf_route_import.h:17
BgpExtendedCommunityType::Opaque
Definition:
types.h:13
contrail
controller
src
bgp
extended-community
types.h
Generated by
1.8.5