From 08c67c3f4605b806c51368107adbf8012ba31c85 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 24 Aug 2011 22:18:24 +0000 Subject: [PATCH] From Olivier Montanuy via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5458 BGP add-path (Additional Paths) support for IPv4 unicast From me: Fix some whitespace/tab... svn path=/trunk/; revision=38727 --- epan/dissectors/packet-bgp.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/epan/dissectors/packet-bgp.h b/epan/dissectors/packet-bgp.h index 6230b9a9b0..507df0c517 100644 --- a/epan/dissectors/packet-bgp.h +++ b/epan/dissectors/packet-bgp.h @@ -119,6 +119,7 @@ struct bgp_attr { #define BGP_CAPABILITY_GRACEFUL_RESTART 0x40 /* draft-ietf-idr-restart-05 */ #define BGP_CAPABILITY_4_OCTET_AS_NUMBER 0x41 /* draft-ietf-idr-as4bytes-06 */ #define BGP_CAPABILITY_DYNAMIC_CAPABILITY 0x42 /* draft-ietf-idr-dynamic-cap-03 */ +#define BGP_CAPABILITY_ADDITIONAL_PATHS 0x45 /* draft-ietf-idr-add-paths */ #define BGP_CAPABILITY_ORF_CISCO 0x82 /* Cisco */ #define BGP_CAPABILITY_ROUTE_REFRESH_CISCO 0x80 /* Cisco */ @@ -227,6 +228,11 @@ struct bgp_attr { #define SAFNUM_LAB_VPNMULCAST 129 #define SAFNUM_LAB_VPNUNIMULC 130 +/* BGP Additional Paths Capability */ +#define BGP_ADDPATH_RECEIVE 0x01 +#define BGP_ADDPATH_SEND 0x02 + + #ifndef offsetof #define offsetof(type, member) ((size_t)(&((type *)0)->member)) #endif