summaryrefslogtreecommitdiff
path: root/zebra/interface.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-02-01 10:55:42 -0800
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-02-01 10:55:42 -0800
commit12f6fb97311c58742f305ef240f918aa5d57fa79 (patch)
tree47ba71dd454d8c1d7a110845f5a2743428d20d26 /zebra/interface.h
parent244a59d22809d9a4a3bc555764e71aa4aff299bf (diff)
lib, zebra: The Bulk of the conversion over to NS and VRF
Convert the rest of zebra over to use a Namespae and VRF. Signed-off-by: Vipin Kumar <vipin@cumulusnetworks.com> Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/interface.h')
-rw-r--r--zebra/interface.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/zebra/interface.h b/zebra/interface.h
index 6f253a467e..ab018596c0 100644
--- a/zebra/interface.h
+++ b/zebra/interface.h
@@ -23,6 +23,7 @@
#define _ZEBRA_INTERFACE_H
#include "redistribute.h"
+#include "vrf.h"
#ifdef HAVE_IRDP
#include "zebra/irdp.h"
@@ -206,6 +207,10 @@ struct zebra_if
#endif /* SUNOS_5 */
};
+
+extern struct interface *if_lookup_by_index_per_ns (struct zebra_ns *, u_int32_t);
+extern struct interface *if_link_per_ns (struct zebra_ns *, struct interface *);
+extern void if_unlink_per_ns (struct interface *);
extern void if_nbr_ipv6ll_to_ipv4ll_neigh_update (struct interface *ifp,
struct in6_addr *address, int add);
extern void if_nbr_ipv6ll_to_ipv4ll_neigh_del_all (struct interface *ifp);
@@ -219,6 +224,9 @@ extern int if_subnet_add (struct interface *, struct connected *);
extern int if_subnet_delete (struct interface *, struct connected *);
extern int ipv6_address_configured (struct interface *ifp);
+extern void vrf_delete_update (struct vrf *vrfp);
+extern void vrf_add_update (struct vrf *vrfp);
+
#ifdef HAVE_PROC_NET_DEV
extern void ifstat_update_proc (void);
#endif /* HAVE_PROC_NET_DEV */