]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/vxlan.h
zebra, lib: fix the ZEBRA_INTERFACE_VRF_UPDATE zapi message
[mirror_frr.git] / lib / vxlan.h
index 75c7b9734789ae255d66e1ae3ec58ee68c73ca99..bcf8354539d982220cab64513d10bd62e08a7314 100644 (file)
 #define __VXLAN_H__
 
 /* VxLAN Network Identifier - 24-bit (RFC 7348) */
-typedef u_int32_t vni_t;
+typedef uint32_t vni_t;
 #define VNI_MAX 16777215 /* (2^24 - 1) */
 
+/* Flooding mechanisms for BUM packets. */
+/* Currently supported mechanisms are head-end (ingress) replication
+ * (which is the default) and no flooding. Future options could be
+ * using PIM-SM, PIM-Bidir etc.
+ */
+enum vxlan_flood_control {
+       VXLAN_FLOOD_HEAD_END_REPL = 0,
+       VXLAN_FLOOD_DISABLED,
+};
 #endif /* __VXLAN_H__ */