summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2014-06-04 17:20:29 -0700
committerDavid S. Miller <davem@davemloft.net>2014-06-04 22:46:39 -0700
commit359a0ea9875ef4f32c8425bbe1ae348e1fd2ed2a (patch)
treeca8567d5204c6b891dcf5d3e012ceb4a4f027c09 /include/uapi
parent4749c09c37030ccdc44aecebe0f71b02a377fc14 (diff)
downloadlinux-359a0ea9875ef4f32c8425bbe1ae348e1fd2ed2a.tar.gz
linux-359a0ea9875ef4f32c8425bbe1ae348e1fd2ed2a.tar.bz2
linux-359a0ea9875ef4f32c8425bbe1ae348e1fd2ed2a.zip
vxlan: Add support for UDP checksums (v4 sending, v6 zero csums)
Added VXLAN link configuration for sending UDP checksums, and allowing TX and RX of UDP6 checksums. Also, call common iptunnel_handle_offloads and added GSO support for checksums. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/if_link.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 622e7910b8cc..b38534895db5 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -319,6 +319,9 @@ enum {
IFLA_VXLAN_PORT, /* destination port */
IFLA_VXLAN_GROUP6,
IFLA_VXLAN_LOCAL6,
+ IFLA_VXLAN_UDP_CSUM,
+ IFLA_VXLAN_UDP_ZERO_CSUM6_TX,
+ IFLA_VXLAN_UDP_ZERO_CSUM6_RX,
__IFLA_VXLAN_MAX
};
#define IFLA_VXLAN_MAX (__IFLA_VXLAN_MAX - 1)