diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2017-02-28 10:57:05 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-03-07 11:47:46 +0100 |
commit | 91810ecc13239f3b18c8299de265b4f3531c0017 (patch) | |
tree | 1f274a6b35ae4db1e8fbe6749cdfbea9f38459a9 /system.h | |
parent | f1076561f4cd4e391ca654d76498b0429413c61e (diff) |
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 <mschiffer@universe-factory.net>
Acked-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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), |