diff options
author | Chirag Shah <chirag@cumulusnetworks.com> | 2020-02-25 03:40:29 +0100 |
---|---|---|
committer | Santosh P K <sapk@vmware.com> | 2020-04-16 17:51:38 +0200 |
commit | 09268680bb99f237517281638aecba740ed20e94 (patch) | |
tree | b1cf177355e18a804392d321f3fffe87aa73412e /zebra/interface.h | |
parent | lib: remove gcc 4.x workaround for nb structure (diff) | |
download | frr-09268680bb99f237517281638aecba740ed20e94.tar.xz frr-09268680bb99f237517281638aecba740ed20e94.zip |
zebra: add northbound support for zebra interface
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'zebra/interface.h')
-rw-r--r-- | zebra/interface.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h index b7e90a0c3..80799b58a 100644 --- a/zebra/interface.h +++ b/zebra/interface.h @@ -440,6 +440,17 @@ extern void zebra_if_update_link(struct interface *ifp, ifindex_t link_ifindex, ns_id_t ns_id); extern void zebra_if_update_all_links(void); extern void zebra_if_set_protodown(struct interface *ifp, bool down); +extern int if_ip_address_install(struct interface *ifp, struct prefix *prefix, + const char *label, struct prefix *pp); +extern int if_ipv6_address_install(struct interface *ifp, struct prefix *prefix, + const char *label); +extern int if_ip_address_uinstall(struct interface *ifp, struct prefix *prefix); +extern int if_shutdown(struct interface *ifp); +extern int if_no_shutdown(struct interface *ifp); +extern int if_multicast_set(struct interface *ifp); +extern int if_multicast_unset(struct interface *ifp); +extern int if_linkdetect(struct interface *ifp, bool detect); +extern void if_addr_wakeup(struct interface *ifp); /* Nexthop group connected functions */ extern void if_nhg_dependents_add(struct interface *ifp, |