diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2021-03-17 18:12:26 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2021-04-13 08:58:49 +0200 |
commit | d603c0774ebac58557d8814bdbc2ad16249c21a1 (patch) | |
tree | d8f12549091b1b2a96d14aac67d677644c8ed677 /zebra/zebra_dplane.h | |
parent | nhrp: avoid crashing when terminating interface contexts (diff) | |
download | frr-d603c0774ebac58557d8814bdbc2ad16249c21a1.tar.xz frr-d603c0774ebac58557d8814bdbc2ad16249c21a1.zip |
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>
Diffstat (limited to 'zebra/zebra_dplane.h')
-rw-r--r-- | zebra/zebra_dplane.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_dplane.h b/zebra/zebra_dplane.h index c67870635..8d51d93cd 100644 --- a/zebra/zebra_dplane.h +++ b/zebra/zebra_dplane.h @@ -611,7 +611,8 @@ enum zebra_dplane_result dplane_neigh_ip_update(enum dplane_op_e op, const struct interface *ifp, struct ipaddr *link_ip, struct ipaddr *ip, - bool permanent, int protocol); + uint32_t ndm_state, + int protocol); /* * Enqueue evpn mac operations for the dataplane. |