summaryrefslogtreecommitdiffstats
path: root/lib/log.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-12-12 16:05:14 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2021-04-09 18:29:58 +0200
commitfda64ab443f498e00b9b229772dddf08b595b470 (patch)
tree1ff06c952a45b2ef972f2cd13b5ecdb66e7a02a0 /lib/log.c
parentnhrpd: use CALLOC instead of MALLOC (diff)
downloadfrr-fda64ab443f498e00b9b229772dddf08b595b470.tar.xz
frr-fda64ab443f498e00b9b229772dddf08b595b470.zip
lib: link layer neighbor registration and notification, define API msgs
This patch implements new zapi api to get neighbor information that zebra knows and that other daemons may need to know. Actually, nhrp daemons is interested in getting the neighbor information on gre interfaces, and the API will be used for that. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/log.c')
-rw-r--r--lib/log.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/log.c b/lib/log.c
index e078d8e2a..9a8a91b00 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -464,7 +464,11 @@ static const struct zebra_desc_table command_types[] = {
DESC_ENTRY(ZEBRA_ROUTE_NOTIFY_REQUEST),
DESC_ENTRY(ZEBRA_CLIENT_CLOSE_NOTIFY),
DESC_ENTRY(ZEBRA_EVPN_REMOTE_NH_ADD),
- DESC_ENTRY(ZEBRA_EVPN_REMOTE_NH_DEL)};
+ DESC_ENTRY(ZEBRA_EVPN_REMOTE_NH_DEL),
+ DESC_ENTRY(ZEBRA_NHRP_NEIGH_ADDED),
+ DESC_ENTRY(ZEBRA_NHRP_NEIGH_REMOVED),
+ DESC_ENTRY(ZEBRA_NHRP_NEIGH_GET)};
+
#undef DESC_ENTRY
static const struct zebra_desc_table unknown = {0, "unknown", '?'};