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/ioctl_solaris.c | |
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/ioctl_solaris.c')
-rw-r--r-- | zebra/ioctl_solaris.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/ioctl_solaris.c b/zebra/ioctl_solaris.c index c523ee983..e95916c56 100644 --- a/zebra/ioctl_solaris.c +++ b/zebra/ioctl_solaris.c @@ -183,6 +183,14 @@ void if_get_mtu(struct interface *ifp) zebra_interface_up_update(ifp); } +/* + * Stub for new dataplane interface-address modification path. + */ +enum zebra_dplane_result kernel_address_update_ctx(struct zebra_dplane_ctx *ctx) +{ + return ZEBRA_DPLANE_REQUEST_FAILURE; +} + /* Set up interface's address, netmask (and broadcast? ). Solaris uses ifname:number semantics to set IP address aliases. */ int if_set_prefix(struct interface *ifp, struct connected *ifc) |