From 91810ecc13239f3b18c8299de265b4f3531c0017 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 28 Feb 2017 10:57:05 +0100 Subject: system-linux: add VXLAN support VXLAN shares many attributes with the tunnel devices, so it is implemented as a new tunnel type. The 'remote' attribute can be used for an unicast peer or a multicast group. The IANA-assigned port 4789 is used by default, instead of the non-standard port Linux defaults to. Signed-off-by: Matthias Schiffer Acked-by: Hans Dedecker --- system.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'system.h') diff --git a/system.h b/system.h index 6077b95..6501d15 100644 --- a/system.h +++ b/system.h @@ -35,11 +35,21 @@ enum tunnel_param { TUNNEL_ATTR_LINK, TUNNEL_ATTR_FMRS, TUNNEL_ATTR_INFO, + TUNNEL_ATTR_DATA, __TUNNEL_ATTR_MAX }; extern const struct uci_blob_param_list tunnel_attr_list; +enum vxlan_data { + VXLAN_DATA_ATTR_ID, + VXLAN_DATA_ATTR_PORT, + VXLAN_DATA_ATTR_MACADDR, + __VXLAN_DATA_ATTR_MAX +}; + +extern const struct uci_blob_param_list vxlan_data_attr_list; + enum bridge_opt { /* stp and forward delay always set */ BRIDGE_OPT_AGEING_TIME = (1 << 0), -- cgit v1.2.1