Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
1da177e4 LT |
2 | #ifndef __NET_TC_IPT_H |
3 | #define __NET_TC_IPT_H | |
4 | ||
5 | #include <net/act_api.h> | |
6 | ||
1e30a014 | 7 | struct xt_entry_target; |
1da177e4 | 8 | |
e9ce1cd3 | 9 | struct tcf_ipt { |
ec0595cc | 10 | struct tc_action common; |
e9ce1cd3 DM |
11 | u32 tcfi_hook; |
12 | char *tcfi_tname; | |
13 | struct xt_entry_target *tcfi_t; | |
1da177e4 | 14 | }; |
a85a970a | 15 | #define to_ipt(a) ((struct tcf_ipt *)a) |
1da177e4 | 16 | |
e9ce1cd3 | 17 | #endif /* __NET_TC_IPT_H */ |