summaryrefslogtreecommitdiff
path: root/include/uapi/linux/tc_act
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2017-06-14 21:19:31 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-15 14:21:03 -0400
commit86087e170cd1f19e9b25e5d944d9f52fad9470f4 (patch)
treeb3299c65908caf432edf5aa23d45c8fd99e98440 /include/uapi/linux/tc_act
parent63fe4c39d2c1f67d9c9a58da0ec8627516a40d9a (diff)
net: sched: act_tunnel_key: make UDP checksum configurable
Allow requesting of zero UDP checksum for encapsulated packets. The name and meaning of the attribute is "NO_CSUM" in order to have the same meaning of the attribute missing and being 0. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/tc_act')
-rw-r--r--include/uapi/linux/tc_act/tc_tunnel_key.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/tc_act/tc_tunnel_key.h b/include/uapi/linux/tc_act/tc_tunnel_key.h
index 84ea55e1076b..afcd4be953e2 100644
--- a/include/uapi/linux/tc_act/tc_tunnel_key.h
+++ b/include/uapi/linux/tc_act/tc_tunnel_key.h
@@ -34,6 +34,7 @@ enum {
TCA_TUNNEL_KEY_ENC_KEY_ID, /* be64 */
TCA_TUNNEL_KEY_PAD,
TCA_TUNNEL_KEY_ENC_DST_PORT, /* be16 */
+ TCA_TUNNEL_KEY_NO_CSUM, /* u8 */
__TCA_TUNNEL_KEY_MAX,
};