diff options
author | Mark Stapp <mjs@voltanet.io> | 2019-01-16 19:40:31 +0100 |
---|---|---|
committer | Mark Stapp <mjs@voltanet.io> | 2019-04-22 19:49:27 +0200 |
commit | 6416880328557628f11dbc7a4ba96087a50fc0f4 (patch) | |
tree | b234222a11a1a2307594dd4eca63966c17445e6b /zebra/rt.h | |
parent | zebra: add interface-address info for dataplane (diff) | |
download | frr-6416880328557628f11dbc7a4ba96087a50fc0f4.tar.xz frr-6416880328557628f11dbc7a4ba96087a50fc0f4.zip |
zebra: Use dplane for interface addresses (netlink)
Start using the dataplane for interface-address programming,
on netlink platforms. Other platforms just stubbed at this
point.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/rt.h')
-rw-r--r-- | zebra/rt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/rt.h b/zebra/rt.h index 2c77af2aa..f4b9bcb94 100644 --- a/zebra/rt.h +++ b/zebra/rt.h @@ -54,6 +54,10 @@ extern int kernel_address_add_ipv4(struct interface *, struct connected *); extern int kernel_address_delete_ipv4(struct interface *, struct connected *); extern int kernel_address_add_ipv6(struct interface *, struct connected *); extern int kernel_address_delete_ipv6(struct interface *, struct connected *); + +enum zebra_dplane_result kernel_address_update_ctx( + 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_interface_set_master(struct interface *master, |