alistair23-linux/include/net/tc_act/tc_connmark.h
Eric W. Biederman a4ffe319ae act_connmark: Remember the struct net instead of guessing it.
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>
2015-09-18 21:59:31 +02:00

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 */