summaryrefslogtreecommitdiffstats
path: root/zebra/debug.h
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@nvidia.com>2021-12-18 20:28:49 +0100
committerDonald Sharp <sharpd@nvidia.com>2022-06-27 13:56:55 +0200
commit4cf4fad15307fab9e21dd228fc7f80be4da801c2 (patch)
treead69f25ba188879ec685b91c84239e8685287f67 /zebra/debug.h
parentMerge pull request #11426 from error2407/open_policy (diff)
downloadfrr-4cf4fad15307fab9e21dd228fc7f80be4da801c2.tar.xz
frr-4cf4fad15307fab9e21dd228fc7f80be4da801c2.zip
zebra: add support for maintaining local neigh entries
Currently specific local neighbors (attached to SVIs) are maintatined in an EVPN specific database. There is a need to maintain L3 neighbors for other purposes including MAC resolution for PBR nexthops. Signed-off-by: Donald Sharp <sharpd@nvidia.com> Cleanup compile and fix crash Signed-off-by: Anuradha Karuppiah <anuradhak@nvidia.com>
Diffstat (limited to 'zebra/debug.h')
-rw-r--r--zebra/debug.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/debug.h b/zebra/debug.h
index dc44367d0..e761e5e3e 100644
--- a/zebra/debug.h
+++ b/zebra/debug.h
@@ -70,6 +70,8 @@ extern "C" {
#define ZEBRA_DEBUG_PBR 0x01
+#define ZEBRA_DEBUG_NEIGH 0x01
+
/* Debug related macro. */
#define IS_ZEBRA_DEBUG_EVENT (zebra_debug_event & ZEBRA_DEBUG_EVENT)
@@ -121,6 +123,8 @@ extern "C" {
#define IS_ZEBRA_DEBUG_PBR (zebra_debug_pbr & ZEBRA_DEBUG_PBR)
+#define IS_ZEBRA_DEBUG_NEIGH (zebra_debug_neigh & ZEBRA_DEBUG_NEIGH)
+
extern unsigned long zebra_debug_event;
extern unsigned long zebra_debug_packet;
extern unsigned long zebra_debug_kernel;
@@ -135,6 +139,7 @@ extern unsigned long zebra_debug_mlag;
extern unsigned long zebra_debug_nexthop;
extern unsigned long zebra_debug_evpn_mh;
extern unsigned long zebra_debug_pbr;
+extern unsigned long zebra_debug_neigh;
extern void zebra_debug_init(void);