summaryrefslogtreecommitdiff
path: root/bgpd/bgp_debug.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2016-08-09 16:02:03 -0700
committerPhilippe Guibert <philippe.guibert@6wind.com>2017-02-14 13:58:58 +0100
commit906ad49b5e3bda51cf5ad07ea22b46a6597ec292 (patch)
treea684dde963f09e8b09cb6f8577e2c5a4edf7f929 /bgpd/bgp_debug.h
parent78b81eaa44d74c988a681b96574a7b6897e7dea0 (diff)
bgpd: Update logging for EVPN prefixes
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Ticket: CM-12262 Reviewed By: CCR-5065 Testing Done: Manual
Diffstat (limited to 'bgpd/bgp_debug.h')
-rw-r--r--bgpd/bgp_debug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bgpd/bgp_debug.h b/bgpd/bgp_debug.h
index 00fb670a47..23ea7b0e52 100644
--- a/bgpd/bgp_debug.h
+++ b/bgpd/bgp_debug.h
@@ -36,6 +36,9 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
/* dump detail */
#define DUMP_DETAIL 32
+/* RD + Prefix + Path-Id */
+#define BGP_PRD_PATH_STRLEN (PREFIX_STRLEN + RD_ADDRSTRLEN + 20)
+
extern int dump_open;
extern int dump_update;
extern int dump_keepalive;
@@ -151,4 +154,6 @@ extern int bgp_debug_bestpath(struct prefix *p);
extern int bgp_debug_zebra(struct prefix *p);
extern int bgp_debug_count(void);
+extern const char *bgp_debug_rdpfxpath2str (struct prefix_rd *, union prefixconstptr,
+ int, u_int32_t, char *, int);
#endif /* _QUAGGA_BGP_DEBUG_H */