blob: 31309766e379659c891cac317acd2bd6193fc110 [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 {
WANG Congec0595c2016-07-25 16:09:42 -07009 struct tc_action common;
David S. Millere9ce1cd2006-08-21 23:54:55 -070010 u32 tcfi_hook;
11 char *tcfi_tname;
12 struct xt_entry_target *tcfi_t;
Linus Torvalds1da177e2005-04-16 15:20:36 -070013};
WANG Conga85a9702016-07-25 16:09:41 -070014#define to_ipt(a) ((struct tcf_ipt *)a)
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
David S. Millere9ce1cd2006-08-21 23:54:55 -070016#endif /* __NET_TC_IPT_H */