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 | }; |
David S. Miller | e9ce1cd | 2006-08-21 23:54:55 -0700 | [diff] [blame] | 14 | #define to_gact(pc) \ |
| 15 | container_of(pc, struct tcf_gact, common) |
| 16 | |
| 17 | #endif /* __NET_TC_GACT_H */ |