summaryrefslogtreecommitdiff
path: root/zebra/rt.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/rt.h
parentfda64ab443f498e00b9b229772dddf08b595b470 (diff)
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/rt.h')
-rw-r--r--zebra/rt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index 48f1df2868..00ff378753 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -70,6 +70,8 @@ kernel_pbr_rule_update(struct zebra_dplane_ctx *ctx);
extern int kernel_neigh_update(int cmd, int ifindex, uint32_t addr, char *lla,
int llalen, ns_id_t ns_id);
+extern int kernel_neigh_register(vrf_id_t vrf_id, struct zserv *client,
+ bool reg);
extern int kernel_interface_set_master(struct interface *master,
struct interface *slave);