xref: /linux/include/net/tc_act/tc_connmark.h (revision 8be4d31cb8aaeea27bde4b7ddb26e28a89062ebf)
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 	int action;
11 	struct rcu_head rcu;
12 };
13 
14 struct tcf_connmark_info {
15 	struct tc_action common;
16 	struct tcf_connmark_parms __rcu *parms;
17 };
18 
19 #define to_connmark(a) ((struct tcf_connmark_info *)a)
20 
21 #endif /* __NET_TC_CONNMARK_H */
22