OpenSDN source code
 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 
9  enum type {
10  TwoOctetAS = 0x00,
11  IPv4Address = 0x01,
12  FourOctetAS = 0x02,
13  Opaque = 0x03,
14  Evpn = 0x06,
15  Experimental = 0x80,
18  };
19 };
20 
22  enum SubType {
23  RouteTarget = 0x02,
24  RouteOrigin = 0x03,
25  SourceAS = 0x09,
27  SubCluster = 0x85,
28  };
29 };
30 
32  enum SubType {
33  TunnelEncap = 0x0C,
35  LoadBalance = 0xAA, // TBA
36  };
37 };
38 
40  enum SubType {
41  MacMobility = 0x00,
42  EsiMplsLabel = 0x01,
43  EsImport = 0x02,
44  RouterMac = 0x03,
45  ETree = 0x05,
47  };
48 };
49 
51  enum SubType {
52  OriginVn = 0x71,
53  SgId = 0x04,
54  Tag = 0x84,
55  };
56 };
57 
59  enum SubType {
61  };
62 };
63 
64 #endif // SRC_BGP_EXTENDED_COMMUNITY_TYPES_H_
Definition: etree.h:16