aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter/xt_conntrack.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/include/linux/netfilter/xt_conntrack.h b/include/linux/netfilter/xt_conntrack.h
index 70b6f718cf4c..d2492a3329be 100644
--- a/include/linux/netfilter/xt_conntrack.h
+++ b/include/linux/netfilter/xt_conntrack.h
@@ -6,7 +6,9 @@
6#define _XT_CONNTRACK_H 6#define _XT_CONNTRACK_H
7 7
8#include <linux/netfilter/nf_conntrack_tuple_common.h> 8#include <linux/netfilter/nf_conntrack_tuple_common.h>
9#include <linux/in.h> 9#ifdef __KERNEL__
10# include <linux/in.h>
11#endif
10 12
11#define XT_CONNTRACK_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1)) 13#define XT_CONNTRACK_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1))
12#define XT_CONNTRACK_STATE_INVALID (1 << 0) 14#define XT_CONNTRACK_STATE_INVALID (1 << 0)
@@ -60,4 +62,16 @@ struct xt_conntrack_info
60 /* Inverse flags */ 62 /* Inverse flags */
61 u_int8_t invflags; 63 u_int8_t invflags;
62}; 64};
65
66struct xt_conntrack_mtinfo1 {
67 union nf_inet_addr origsrc_addr, origsrc_mask;
68 union nf_inet_addr origdst_addr, origdst_mask;
69 union nf_inet_addr replsrc_addr, replsrc_mask;
70 union nf_inet_addr repldst_addr, repldst_mask;
71 u_int32_t expires_min, expires_max;
72 u_int16_t l4proto;
73 u_int8_t state_mask, status_mask;
74 u_int8_t match_flags, invert_flags;
75};
76
63#endif /*_XT_CONNTRACK_H*/ 77#endif /*_XT_CONNTRACK_H*/