blob: f7d25dfcc4b78c011acbb6044b38e4af8f8438d9 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __NET_TC_IPT_H
2#define __NET_TC_IPT_H
3
4#include <net/act_api.h>
5
Dmitry Mishin1e30a012006-03-22 13:56:56 -08006struct xt_entry_target;
Linus Torvalds1da177e2005-04-16 15:20:36 -07007
David S. Millere9ce1cd2006-08-21 23:54:55 -07008struct tcf_ipt {
9 struct tcf_common common;
10 u32 tcfi_hook;
11 char *tcfi_tname;
12 struct xt_entry_target *tcfi_t;
Linus Torvalds1da177e2005-04-16 15:20:36 -070013};
David S. Millere9ce1cd2006-08-21 23:54:55 -070014#define to_ipt(pc) \
15 container_of(pc, struct tcf_ipt, common)
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
David S. Millere9ce1cd2006-08-21 23:54:55 -070017#endif /* __NET_TC_IPT_H */