mirror of
https://github.com/openvswitch/ovs
synced 2025-10-17 14:28:02 +00:00
Loosely based upon Linux commit 308ac9143ee2 "netfilter: nf_conntrack: push zone object into functions". Signed-off-by: Joe Stringer <joestringer@nicira.com> Acked-by: Pravin B Shelar <pshelar@nicira.com>
14 lines
346 B
C
14 lines
346 B
C
#include <linux/version.h>
|
|
|
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,3,0)
|
|
|
|
#include <net/netfilter/nf_conntrack_zones.h>
|
|
|
|
/* Built-in default zone used e.g. by modules. */
|
|
const struct nf_conntrack_zone nf_ct_zone_dflt = {
|
|
.id = NF_CT_DEFAULT_ZONE_ID,
|
|
.dir = NF_CT_DEFAULT_ZONE_DIR,
|
|
};
|
|
|
|
#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(4,3,0) */
|