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>
This commit is contained in:

committed by
David S. Miller

parent
ab9d226e3e
commit
c008b33f3e
@@ -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 {
|
||||
|
Reference in New Issue
Block a user