Grégoire Baron | eb4d406 | 2010-08-18 13:10:35 +0000 | [diff] [blame] | 1 | #ifndef __NET_TC_CSUM_H |
2 | #define __NET_TC_CSUM_H | ||||
3 | |||||
4 | #include <linux/types.h> | ||||
5 | #include <net/act_api.h> | ||||
6 | |||||
7 | struct tcf_csum { | ||||
8 | struct tcf_common common; | ||||
9 | |||||
10 | u32 update_flags; | ||||
11 | }; | ||||
WANG Cong | 8606203 | 2014-02-11 17:07:31 -0800 | [diff] [blame] | 12 | #define to_tcf_csum(a) \ |
13 | container_of(a->priv,struct tcf_csum,common) | ||||
Grégoire Baron | eb4d406 | 2010-08-18 13:10:35 +0000 | [diff] [blame] | 14 | |
15 | #endif /* __NET_TC_CSUM_H */ |