diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-12-13 18:09:11 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2021-04-09 18:29:58 +0200 |
commit | 05657ec2b78911e4b7bae3692fa27cd81945ad73 (patch) | |
tree | 49c6ae5fbc886b79cbbd0a4fbfa8c63659d870c0 /zebra/rt.h | |
parent | nhrpd: link layer registration to notifications (diff) | |
download | frr-05657ec2b78911e4b7bae3692fa27cd81945ad73.tar.xz frr-05657ec2b78911e4b7bae3692fa27cd81945ad73.zip |
nhrp, lib, zebra: add/del neighbor entry possible from nhrp
a zebra api is extended to offer ability to add or remove neighbor
entry from daemon. Also this extension makes possible to add neigh
entry, not only between IPs and macs, but also between IPs and NBMA IPs.
This API supports configuring ipv6/ipv4 entries with ipv4/ipv6 lladdr.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/rt.h')
-rw-r--r-- | zebra/rt.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/rt.h b/zebra/rt.h index 00ff37875..f79ddbe95 100644 --- a/zebra/rt.h +++ b/zebra/rt.h @@ -68,8 +68,9 @@ kernel_pbr_rule_update(struct zebra_dplane_ctx *ctx); #endif /* !HAVE_NETLINK */ -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_update(int cmd, int ifindex, void *addr, char *lla, + int llalen, ns_id_t ns_id, uint8_t family, + bool permanent); extern int kernel_neigh_register(vrf_id_t vrf_id, struct zserv *client, bool reg); extern int kernel_interface_set_master(struct interface *master, |