diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-08-15 18:52:04 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-08-15 18:52:04 +0000 |
commit | e31383db8e6ae0f1f2cd4468e3eecb4d3d372515 (patch) | |
tree | 1b7837a3cb8489a9753643fb03502fc020c7fe5e /packet-bgp.h | |
parent | c8d296e8ca45b6fd60815eff617d045ed7e54112 (diff) |
From Jian Yu:
a small fix for displaying unrecognized capabilities;
ORF support (draft-ietf-idr-route-filter-06.txt).
svn path=/trunk/; revision=5998
Diffstat (limited to 'packet-bgp.h')
-rw-r--r-- | packet-bgp.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/packet-bgp.h b/packet-bgp.h index 86d9f30e06..e4a670462d 100644 --- a/packet-bgp.h +++ b/packet-bgp.h @@ -1,7 +1,7 @@ /* packet-bgp.c * Definitions for BGP packet disassembly structures and routine * - * $Id: packet-bgp.h,v 1.17 2002/01/30 23:04:02 guy Exp $ + * $Id: packet-bgp.h,v 1.18 2002/08/15 18:52:04 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -110,8 +110,24 @@ struct bgp_attr { #define BGP_CAPABILITY_MULTIPROTOCOL 1 /* RFC2858 */ #define BGP_CAPABILITY_ROUTE_REFRESH 2 /* RFC2918 */ #define BGP_CAPABILITY_COOPERATIVE_ROUTE_FILTERING 3 /* draft-ietf-idr-route-filter-04.txt */ +#define BGP_CAPABILITY_ORF_CISCO 0x82 /* Cisco */ #define BGP_CAPABILITY_ROUTE_REFRESH_CISCO 0x80 /* Cisco */ +#define BGP_ORF_PREFIX_CISCO 0x80 /* Cisco */ +#define BGP_ORF_COMM_CISCO 0x81 /* Cisco */ +#define BGP_ORF_EXTCOMM_CISCO 0x82 /* Cisco */ +#define BGP_ORF_ASPATH_CISCO 0x83 /* Cisco */ +#define BGP_ORF_COMM 0x02 /* draft-ietf-idr-route-filter-06.txt */ +#define BGP_ORF_EXTCOMM 0x03 /* draft-ietf-idr-route-filter-06.txt */ +#define BGP_ORF_ASPATH 0x04 /* draft-ietf-idr-aspath-orf-02.txt */ +/* draft-ietf-idr-route-filter-06.txt */ +#define BGP_ORF_ACTION 0xc0 +#define BGP_ORF_ADD 0x00 +#define BGP_ORF_REMOVE 0x40 +#define BGP_ORF_REMOVEALL 0x80 +#define BGP_ORF_MATCH 0x10 +#define BGP_ORF_PERMIT 0x00 +#define BGP_ORF_DENY 0x10 /* well-known communities, from RFC1997 */ #define BGP_COMM_NO_EXPORT 0xFFFFFF01 |