diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nf_conntrack_zones.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/netfilter/nf_conntrack_zones.h b/include/net/netfilter/nf_conntrack_zones.h index 0bbb2bd51e89..034efe8d45a5 100644 --- a/include/net/netfilter/nf_conntrack_zones.h +++ b/include/net/netfilter/nf_conntrack_zones.h | |||
@@ -1,10 +1,11 @@ | |||
1 | #ifndef _NF_CONNTRACK_ZONES_H | 1 | #ifndef _NF_CONNTRACK_ZONES_H |
2 | #define _NF_CONNTRACK_ZONES_H | 2 | #define _NF_CONNTRACK_ZONES_H |
3 | 3 | ||
4 | #include <net/netfilter/nf_conntrack_extend.h> | ||
5 | |||
6 | #define NF_CT_DEFAULT_ZONE 0 | 4 | #define NF_CT_DEFAULT_ZONE 0 |
7 | 5 | ||
6 | #if defined(CONFIG_NF_CONNTRACK) || defined(CONFIG_NF_CONNTRACK_MODULE) | ||
7 | #include <net/netfilter/nf_conntrack_extend.h> | ||
8 | |||
8 | struct nf_conntrack_zone { | 9 | struct nf_conntrack_zone { |
9 | u16 id; | 10 | u16 id; |
10 | }; | 11 | }; |
@@ -20,4 +21,5 @@ static inline u16 nf_ct_zone(const struct nf_conn *ct) | |||
20 | return NF_CT_DEFAULT_ZONE; | 21 | return NF_CT_DEFAULT_ZONE; |
21 | } | 22 | } |
22 | 23 | ||
24 | #endif /* CONFIG_NF_CONNTRACK || CONFIG_NF_CONNTRACK_MODULE */ | ||
23 | #endif /* _NF_CONNTRACK_ZONES_H */ | 25 | #endif /* _NF_CONNTRACK_ZONES_H */ |