--- embedaddon/quagga/bgpd/bgp_ecommunity.h 2012/10/09 09:22:28 1.1.1.2 +++ embedaddon/quagga/bgpd/bgp_ecommunity.h 2016/11/02 10:09:10 1.1.1.3 @@ -25,10 +25,14 @@ Software Foundation, Inc., 59 Temple Place - Suite 330 #define ECOMMUNITY_ENCODE_AS 0x00 #define ECOMMUNITY_ENCODE_IP 0x01 #define ECOMMUNITY_ENCODE_AS4 0x02 +#define ECOMMUNITY_ENCODE_OPAQUE 0x03 -/* Low-order octet of the Extended Communityes type field. */ +/* Low-order octet of the Extended Communities type field. */ #define ECOMMUNITY_ROUTE_TARGET 0x02 #define ECOMMUNITY_SITE_ORIGIN 0x03 + +/* Low-order octet of the Extended Communities type field for OPAQUE types */ +#define ECOMMUNITY_OPAQUE_SUBTYPE_ENCAP 0x0c /* Extended communities attribute string format. */ #define ECOMMUNITY_FORMAT_ROUTE_MAP 0