summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp.h
diff options
context:
space:
mode:
authorChris Hall <chris.hall@highwayman.com>2011-03-29 01:49:16 +0100
committerChris Hall <chris.hall@highwayman.com>2011-03-29 01:49:16 +0100
commitf9956b9524ddafdb9d0cec042213eaa8229aad8c (patch)
treebf362c892837ef3f5a6a4d4265eb18e1b47ccf33 /bgpd/bgp.h
parent9470cb2c32eab220f796b1438b787528272cbe84 (diff)
downloadquagga-ex15p.tar.bz2
quagga-ex15p.tar.xz
Bring "ex" version up to date with 0.99.18ex15p
Release: 0.99.18ex15p -- Pipework Branch Also fixes issue with unknown attributes -- does not release them prematurely. Contains the "bgpd: New show commands for improved view and address family support", which is post 0.99.18. (But not RFC 5082 GTSM.)
Diffstat (limited to 'bgpd/bgp.h')
-rw-r--r--bgpd/bgp.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/bgpd/bgp.h b/bgpd/bgp.h
index 94ce2993..0470c5ae 100644
--- a/bgpd/bgp.h
+++ b/bgpd/bgp.h
@@ -815,7 +815,8 @@ typedef U8 BGP_ATT_ORIGIN_T ; /* one byte of data ! */
VALUE(BGP_ATT_ORIGIN_L = sizeof(BGP_ATT_ORIGIN_T)) ;
-enum BGP_ATT_ORG {
+enum BGP_ATT_ORG
+{
BGP_ATT_ORG_MIN = 0,
BGP_ATT_ORG_IGP = 0, /* NLRI is interior to originating AS */
@@ -851,7 +852,8 @@ typedef U32 BGP_ATT_ASPS_AS4_T ;
/* AS Path Segment Types......................................................*/
-enum BGP_AS_SEG {
+enum BGP_AS_SEG
+{
BGP_AS_SET = 1,
BGP_AS_SEQUENCE = 2,
BGP_AS_CONFED_SEQUENCE = 3, /* RFC5065 */
@@ -862,7 +864,8 @@ enum BGP_AS_SEG {
#define AS4(h, l) (((h) << 16) + (l))
-enum BGP_ASN {
+enum BGP_ASN
+{
BGP_ASN_NULL = 0, /* Reserved */
BGP_ASN_RES1_S = 64496, /* Start of Reservation 1 (0xFBF0) */
@@ -962,7 +965,8 @@ enum
BGP_ATT_COM_MS_RES2 = 0xFFFF /* 0xFFFF_0000..0xFFFF_FFFF are reserved */
} ;
-enum BGP_COMM {
+enum BGP_COMM
+{
BGP_ATT_COM_RES1_S = 0x00000000,
BGP_ATT_COM_INTERNET = 0x00000000,