Lines Matching defs:bgp
39 "@(#) $Header: /tcpdump/master/tcpdump/print-bgp.c,v 1.118 2007-12-07 15:54:52 hannes Exp $";
51 #include "bgp.h"
55 struct bgp {
132 #define BGPTYPE_DPA 11 /* draft-ietf-idr-bgp-dpa */
137 #define BGPTYPE_EXTD_COMMUNITIES 16 /* draft-ietf-idr-bgp-ext-communities */
140 #define BGPTYPE_PMSI_TUNNEL 22 /* draft-ietf-l3vpn-2547bis-mcast-bgp-02.txt */
335 /* draft-ietf-l3vpn-2547bis-mcast-bgp-02.txt */
372 /* Extended community type - draft-ietf-idr-bgp-ext-communities-05 */
380 /* rfc2547 bgp-mpls-vpns */
381 #define BGP_EXT_COM_VPN_ORIGIN 0x0005 /* OSPF Domain ID / VPN of Origin - draft-rosen-vpns-ospf-bgp-mpls */
394 #define BGP_EXT_COM_SOURCE_AS 0x0009 /* RFC-ietf-l3vpn-2547bis-mcast-bgp-08.txt */
395 #define BGP_EXT_COM_VRF_RT_IMP 0x010b /* RFC-ietf-l3vpn-2547bis-mcast-bgp-08.txt */
444 /* OSPF codes for BGP_EXT_COM_OSPF_RTYPE draft-rosen-vpns-ospf-bgp-mpls */
2360 struct bgp bgp;
2374 memcpy(&bgp, dat, BGP_SIZE);
2642 struct bgp bgp;
2646 memcpy(&bgp, dat, BGP_SIZE);
2648 tok2strbuf(bgp_msg_values, "Unknown", bgp.bgp_type,
2650 bgp.bgp_type,
2653 switch (bgp.bgp_type) {
2671 printf("\n\t no Message %u decoder",bgp.bgp_type);
2691 struct bgp bgp;
2723 memcpy(&bgp, p, BGP_SIZE);
2728 hlen = ntohs(bgp.bgp_len);
2744 bgp.bgp_type,