xref: /openbmc/linux/include/net/tc_act/tc_connmark.h (revision fa0dadde)
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 
7 struct tcf_connmark_parms {
8 	struct net *net;
9 	u16 zone;
10 	struct rcu_head rcu;
11 };
12 
13 struct 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 */
21