Loading...
1#ifndef __NET_TC_CONNMARK_H
2#define __NET_TC_CONNMARK_H
3
4#include <net/act_api.h>
5
6struct tcf_connmark_info {
7 struct tcf_common common;
8 struct net *net;
9 u16 zone;
10};
11
12#define to_connmark(a) \
13 container_of(a->priv, struct tcf_connmark_info, common)
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 */