Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __NET_TC_CONNMARK_H
3#define __NET_TC_CONNMARK_H
4
5#include <net/act_api.h>
6
7struct tcf_connmark_info {
8 struct tc_action common;
9 struct net *net;
10 u16 zone;
11};
12
13#define to_connmark(a) ((struct tcf_connmark_info *)a)
14
15#endif /* __NET_TC_CONNMARK_H */
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __NET_TC_CONNMARK_H
3#define __NET_TC_CONNMARK_H
4
5#include <net/act_api.h>
6
7struct tcf_connmark_parms {
8 struct net *net;
9 u16 zone;
10 struct rcu_head rcu;
11};
12
13struct tcf_connmark_info {
14 struct tc_action common;
15 struct tcf_connmark_parms __rcu *parms;
16};
17
18#define to_connmark(a) ((struct tcf_connmark_info *)a)
19
20#endif /* __NET_TC_CONNMARK_H */