diff options
Diffstat (limited to 'bgpd/bgp_debug.h')
| -rw-r--r-- | bgpd/bgp_debug.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/bgpd/bgp_debug.h b/bgpd/bgp_debug.h index b8ad7b9cfa..a80d00440e 100644 --- a/bgpd/bgp_debug.h +++ b/bgpd/bgp_debug.h @@ -22,6 +22,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #define _QUAGGA_BGP_DEBUG_H #include "bgp_attr.h" +#include "bgp_updgrp.h" /* sort of packet direction */ #define DUMP_ON 1 @@ -65,6 +66,7 @@ extern unsigned long conf_bgp_debug_keepalive; extern unsigned long conf_bgp_debug_update; extern unsigned long conf_bgp_debug_zebra; extern unsigned long conf_bgp_debug_nht; +extern unsigned long conf_bgp_debug_update_groups; extern unsigned long term_bgp_debug_as4; extern unsigned long term_bgp_debug_neighbor_events; @@ -73,6 +75,7 @@ extern unsigned long term_bgp_debug_keepalive; extern unsigned long term_bgp_debug_update; extern unsigned long term_bgp_debug_zebra; extern unsigned long term_bgp_debug_nht; +extern unsigned long term_bgp_debug_update_groups; extern struct list *bgp_debug_neighbor_events_peers; extern struct list *bgp_debug_keepalive_peers; @@ -98,6 +101,7 @@ struct bgp_debug_filter #define BGP_DEBUG_UPDATE_PREFIX 0x04 #define BGP_DEBUG_ZEBRA 0x01 #define BGP_DEBUG_NHT 0x01 +#define BGP_DEBUG_UPDATE_GROUPS 0x01 #define BGP_DEBUG_PACKET_SEND 0x01 #define BGP_DEBUG_PACKET_SEND_DETAIL 0x02 @@ -125,13 +129,15 @@ struct bgp_debug_filter extern const char *bgp_type_str[]; extern int bgp_dump_attr (struct peer *, struct attr *, char *, size_t); +extern int bgp_debug_peer_updout_enabled(struct peer *peer); extern void bgp_notify_print (struct peer *, struct bgp_notify *, const char *); extern const struct message bgp_status_msg[]; extern const int bgp_status_msg_max; extern int bgp_debug_neighbor_events(struct peer *peer); extern int bgp_debug_keepalive(struct peer *peer); -extern int bgp_debug_update(struct peer *peer, struct prefix *p, unsigned int inbound); +extern int bgp_debug_update(struct peer *peer, struct prefix *p, + struct update_group *updgrp, unsigned int inbound); extern int bgp_debug_zebra(struct prefix *p); #endif /* _QUAGGA_BGP_DEBUG_H */ |
