Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __NET_TC_GACT_H |
| 2 | #define __NET_TC_GACT_H |
| 3 | |
| 4 | #include <net/act_api.h> |
| 5 | |
David S. Miller | e9ce1cd | 2006-08-21 23:54:55 -0700 | [diff] [blame] | 6 | struct tcf_gact { |
| 7 | struct tcf_common common; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | #ifdef CONFIG_GACT_PROB |
David S. Miller | e9ce1cd | 2006-08-21 23:54:55 -0700 | [diff] [blame] | 9 | u16 tcfg_ptype; |
| 10 | u16 tcfg_pval; |
| 11 | int tcfg_paction; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 12 | #endif |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 13 | }; |
WANG Cong | 8606203 | 2014-02-11 17:07:31 -0800 | [diff] [blame] | 14 | #define to_gact(a) \ |
| 15 | container_of(a->priv, struct tcf_gact, common) |
David S. Miller | e9ce1cd | 2006-08-21 23:54:55 -0700 | [diff] [blame] | 16 | |
| 17 | #endif /* __NET_TC_GACT_H */ |