1 #ifndef __LINUX_TC_CSUM_H
2 #define __LINUX_TC_CSUM_H
4 #include <linux/types.h>
5 #include <linux/pkt_cls.h>
7 #define TCA_ACT_CSUM 16
15 #define TCA_CSUM_MAX (__TCA_CSUM_MAX - 1)
18 TCA_CSUM_UPDATE_FLAG_IPV4HDR
= 1,
19 TCA_CSUM_UPDATE_FLAG_ICMP
= 2,
20 TCA_CSUM_UPDATE_FLAG_IGMP
= 4,
21 TCA_CSUM_UPDATE_FLAG_TCP
= 8,
22 TCA_CSUM_UPDATE_FLAG_UDP
= 16,
23 TCA_CSUM_UPDATE_FLAG_UDPLITE
= 32
32 #endif /* __LINUX_TC_CSUM_H */