summaryrefslogtreecommitdiff
path: root/zebra/rt.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/rt.h')
-rw-r--r--zebra/rt.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index a39af87b5a..90654fb3eb 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -24,6 +24,8 @@
#include "prefix.h"
#include "if.h"
+#include "vlan.h"
+#include "vxlan.h"
#include "zebra/rib.h"
#include "zebra/zebra_ns.h"
#include "zebra/zebra_mpls.h"
@@ -41,4 +43,18 @@ extern int kernel_del_lsp (zebra_lsp_t *);
extern int mpls_kernel_init (void);
extern int kernel_get_ipmr_sg_stats (void *mroute);
+extern int kernel_add_vtep (vni_t vni, struct interface *ifp,
+ struct in_addr *vtep_ip);
+extern int kernel_del_vtep (vni_t vni, struct interface *ifp,
+ struct in_addr *vtep_ip);
+extern int kernel_add_mac (struct interface *ifp, vlanid_t vid,
+ struct ethaddr *mac, struct in_addr vtep_ip,
+ u_char sticky);
+extern int kernel_del_mac (struct interface *ifp, vlanid_t vid,
+ struct ethaddr *mac, struct in_addr vtep_ip, int local);
+
+extern int kernel_add_neigh (struct interface *ifp, struct ipaddr *ip,
+ struct ethaddr *mac);
+extern int kernel_del_neigh (struct interface *ifp, struct ipaddr *ip);
+
#endif /* _ZEBRA_RT_H */