]> git.proxmox.com Git - mirror_frr.git/commit - nhrpd/netlink_arp.c
nhrp, zebra, lib: enforce usage of zapi_neigh_ip structure
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 17 Mar 2021 17:12:26 +0000 (18:12 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 13 Apr 2021 06:58:49 +0000 (08:58 +0200)
commitd603c0774ebac58557d8814bdbc2ad16249c21a1
treed8f12549091b1b2a96d14aac67d677644c8ed677
parent850b2b70ac49643416c664d4326db530865f91c0
nhrp, zebra, lib: enforce usage of zapi_neigh_ip structure

zapi_nbr structure is renamed to zapi_neigh_ip.
Initially used to set a neighbor ip entry for gre interfaces, this
structure is used to get events from the zebra layer to nhrp layer.

The ndm state has been added, as it is needed on both sides.
The zebra dplane layer is slightly modified.

Also, to clarify what ZEBRA_NEIGH_ADD/DEL means, a rename is done:
it is called now ZEBRA_NEIGH_IP_ADD/DEL, and it signified that this
zapi interface permits to set link operations by associating ip
addresses to link addresses.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/log.c
lib/zclient.c
lib/zclient.h
nhrpd/netlink_arp.c
nhrpd/nhrp_route.c
zebra/rt_netlink.c
zebra/zapi_msg.c
zebra/zapi_msg.h
zebra/zebra_dplane.c
zebra/zebra_dplane.h