diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-02-20 10:58:42 +0100 | 
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-03-30 14:01:06 +0200 | 
| commit | 268e1b9b924ed1068bcdf1a5e49ce830f4cc7914 (patch) | |
| tree | 9452365cea5053b7ef33b245f061be62dea958ee /bgpd/bgp_debug.h | |
| parent | dba3c1d3fbf563aab505aebeed0ece7480e895a4 (diff) | |
bgpd: introduce [no] debug bgp flowspec
It is possible to enhance debug bgp flowspec feature by using vty
command. This command, if enabled, will dump the match/set couple of
information received on NLRI.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_debug.h')
| -rw-r--r-- | bgpd/bgp_debug.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_debug.h b/bgpd/bgp_debug.h index d5dee59910..a0b179e213 100644 --- a/bgpd/bgp_debug.h +++ b/bgpd/bgp_debug.h @@ -73,6 +73,7 @@ extern unsigned long conf_bgp_debug_allow_martians;  extern unsigned long conf_bgp_debug_nht;  extern unsigned long conf_bgp_debug_update_groups;  extern unsigned long conf_bgp_debug_vpn; +extern unsigned long conf_bgp_debug_flowspec;  extern unsigned long term_bgp_debug_as4;  extern unsigned long term_bgp_debug_neighbor_events; @@ -85,6 +86,7 @@ extern unsigned long term_bgp_debug_allow_martians;  extern unsigned long term_bgp_debug_nht;  extern unsigned long term_bgp_debug_update_groups;  extern unsigned long term_bgp_debug_vpn; +extern unsigned long term_bgp_debug_flowspec;  extern struct list *bgp_debug_neighbor_events_peers;  extern struct list *bgp_debug_keepalive_peers; @@ -117,6 +119,7 @@ struct bgp_debug_filter {  #define BGP_DEBUG_VPN_LEAK_TO_VRF     0x02  #define BGP_DEBUG_VPN_LEAK_RMAP_EVENT 0x04  #define BGP_DEBUG_VPN_LEAK_LABEL      0x08 +#define BGP_DEBUG_FLOWSPEC            0x01  #define BGP_DEBUG_PACKET_SEND         0x01  #define BGP_DEBUG_PACKET_SEND_DETAIL  0x02  | 
