Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __NET_TC_IPT_H |
| 2 | #define __NET_TC_IPT_H |
| 3 | |
| 4 | #include <net/act_api.h> |
| 5 | |
Dmitry Mishin | 1e30a01 | 2006-03-22 13:56:56 -0800 | [diff] [blame] | 6 | struct xt_entry_target; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
David S. Miller | e9ce1cd | 2006-08-21 23:54:55 -0700 | [diff] [blame] | 8 | struct tcf_ipt { |
| 9 | struct tcf_common common; |
| 10 | u32 tcfi_hook; |
| 11 | char *tcfi_tname; |
| 12 | struct xt_entry_target *tcfi_t; |
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_ipt(pc) \ |
| 15 | container_of(pc, struct tcf_ipt, common) |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 16 | |
David S. Miller | e9ce1cd | 2006-08-21 23:54:55 -0700 | [diff] [blame] | 17 | #endif /* __NET_TC_IPT_H */ |