diff options
Diffstat (limited to 'include/net/tc_act/tc_connmark.h')
-rw-r--r-- | include/net/tc_act/tc_connmark.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_connmark.h b/include/net/tc_act/tc_connmark.h new file mode 100644 index 000000000..e8dd77a96 --- /dev/null +++ b/include/net/tc_act/tc_connmark.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __NET_TC_CONNMARK_H +#define __NET_TC_CONNMARK_H + +#include <net/act_api.h> + +struct tcf_connmark_parms { + struct net *net; + u16 zone; + struct rcu_head rcu; +}; + +struct tcf_connmark_info { + struct tc_action common; + struct tcf_connmark_parms __rcu *parms; +}; + +#define to_connmark(a) ((struct tcf_connmark_info *)a) + +#endif /* __NET_TC_CONNMARK_H */ |