mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-26 04:25:27 +08:00
a4ffe319ae
Stop guessing the struct net instead of remember it. Guessing is just silly and will be problematic in the future when I implement routes between network namespaces. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
16 lines
286 B
C
16 lines
286 B
C
#ifndef __NET_TC_CONNMARK_H
|
|
#define __NET_TC_CONNMARK_H
|
|
|
|
#include <net/act_api.h>
|
|
|
|
struct tcf_connmark_info {
|
|
struct tcf_common common;
|
|
struct net *net;
|
|
u16 zone;
|
|
};
|
|
|
|
#define to_connmark(a) \
|
|
container_of(a->priv, struct tcf_connmark_info, common)
|
|
|
|
#endif /* __NET_TC_CONNMARK_H */
|