summaryrefslogtreecommitdiffstats
path: root/zebra/zserv.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-12-12 16:06:59 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2021-04-09 18:29:58 +0200
commit7723e8d3fd86a2e00b99df6fbb64083c23c1e637 (patch)
treefd558e4e24409dc4487ae53ca6ec98e487b48ce7 /zebra/zserv.h
parentlib: link layer neighbor registration and notification, define API msgs (diff)
downloadfrr-7723e8d3fd86a2e00b99df6fbb64083c23c1e637.tar.xz
frr-7723e8d3fd86a2e00b99df6fbb64083c23c1e637.zip
zebra: link layer config and notification, implementation in zebra
zebra implements zebra api for configuring link layer information. that can be an arp entry (for ipv4) or ipv6 neighbor discovery entry. This can also be an ipv4/ipv6 entry associated to an underlay ipv4 address, as it is used in gre point to multipoint interfaces. this api will also be used as monitoring. an hash list is instantiated into zebra (this is the vrf bitmap). each client interested in those entries in a specific vrf, will listen for following messages: entries added, removed, or who-has messages. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r--zebra/zserv.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h
index c60799b8b..203670ac1 100644
--- a/zebra/zserv.h
+++ b/zebra/zserv.h
@@ -137,6 +137,9 @@ struct zserv {
/* Router-id information. */
vrf_bitmap_t ridinfo[AFI_MAX];
+ /* Router-id information. */
+ vrf_bitmap_t nhrp_neighinfo[AFI_MAX];
+
bool notify_owner;
/* Indicates if client is synchronous. */