summaryrefslogtreecommitdiffstats
path: root/zebra/rt.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2017-05-15 07:38:26 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-12 18:26:02 +0200
commit13d60d351c4c70e8a2949ef45d88ec4efe382367 (patch)
treeb3846b88b4d3b03aa06801cac95d9a7992732076 /zebra/rt.h
parentzebra: VNI and VTEP definition (diff)
downloadfrr-13d60d351c4c70e8a2949ef45d88ec4efe382367.tar.xz
frr-13d60d351c4c70e8a2949ef45d88ec4efe382367.zip
zebra: VNI and VTEP handling
Implement fundamental handling for VNIs and VTEPs: - Handle EVPN enable/disable by client (advertise-all-vni) - Create/update/delete VNIs based on VxLAN interface events and inform client - Handle VTEP add/delete from client and install into kernel - New debug command for VxLAN/EVPN - kernel interface (Linux/netlink only) Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/rt.h')
-rw-r--r--zebra/rt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index a39af87b5..10ca6c95c 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -24,6 +24,7 @@
#include "prefix.h"
#include "if.h"
+#include "vxlan.h"
#include "zebra/rib.h"
#include "zebra/zebra_ns.h"
#include "zebra/zebra_mpls.h"
@@ -41,4 +42,8 @@ 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);
#endif /* _ZEBRA_RT_H */