mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Also storing tcf_action into struct tcf_connmark_parms makes sure there is no discrepancy in tcf_connmark_act(). Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20250709090204.797558-3-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
21 lines
405 B
C
21 lines
405 B
C
/* 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;
|
|
int action;
|
|
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 */
|