aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/tc_act/tc_csum.h
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2017-01-09 11:24:21 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-09 14:36:57 -0500
commitc008b33f3ef0915dfb57432dba1fa0ce34fdcc29 (patch)
treee28142079de5c76894c14ff9301c3161c941065b /include/uapi/linux/tc_act/tc_csum.h
parentnet/sched: Kconfig: select LIBCRC32C if NET_ACT_CSUM is selected (diff)
downloadlinux-dev-c008b33f3ef0915dfb57432dba1fa0ce34fdcc29.tar.xz
linux-dev-c008b33f3ef0915dfb57432dba1fa0ce34fdcc29.zip
net/sched: act_csum: compute crc32c on SCTP packets
modify act_csum to compute crc32c on IPv4/IPv6 packets having SCTP in their payload, and extend UAPI definitions accordingly. Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/tc_act/tc_csum.h')
-rw-r--r--include/uapi/linux/tc_act/tc_csum.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/tc_act/tc_csum.h b/include/uapi/linux/tc_act/tc_csum.h
index 8ac8041ab5f1..a11bb355dbfb 100644
--- a/include/uapi/linux/tc_act/tc_csum.h
+++ b/include/uapi/linux/tc_act/tc_csum.h
@@ -21,7 +21,8 @@ enum {
TCA_CSUM_UPDATE_FLAG_IGMP = 4,
TCA_CSUM_UPDATE_FLAG_TCP = 8,
TCA_CSUM_UPDATE_FLAG_UDP = 16,
- TCA_CSUM_UPDATE_FLAG_UDPLITE = 32
+ TCA_CSUM_UPDATE_FLAG_UDPLITE = 32,
+ TCA_CSUM_UPDATE_FLAG_SCTP = 64,
};
struct tc_csum {