diff options
Diffstat (limited to 'lib/vxlan.h')
-rw-r--r-- | lib/vxlan.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/vxlan.h b/lib/vxlan.h index ba3dbb05c..bcf835453 100644 --- a/lib/vxlan.h +++ b/lib/vxlan.h @@ -26,4 +26,13 @@ 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__ */ |