Loading...
1#ifndef __NET_TC_IPT_H
2#define __NET_TC_IPT_H
3
4#include <net/act_api.h>
5
6struct xt_entry_target;
7
8struct tcf_ipt {
9 struct tcf_common common;
10 u32 tcfi_hook;
11 char *tcfi_tname;
12 struct xt_entry_target *tcfi_t;
13};
14#define to_ipt(a) \
15 container_of(a->priv, struct tcf_ipt, common)
16
17#endif /* __NET_TC_IPT_H */
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __NET_TC_IPT_H
3#define __NET_TC_IPT_H
4
5#include <net/act_api.h>
6
7struct xt_entry_target;
8
9struct tcf_ipt {
10 struct tc_action common;
11 u32 tcfi_hook;
12 char *tcfi_tname;
13 struct xt_entry_target *tcfi_t;
14};
15#define to_ipt(a) ((struct tcf_ipt *)a)
16
17#endif /* __NET_TC_IPT_H */