1 #ifndef _NF_CONNTRACK_TUPLE_COMMON_H
2 #define _NF_CONNTRACK_TUPLE_COMMON_H
4 #include <linux/types.h>
6 #include <linux/netfilter.h>
8 #include <linux/netfilter/nf_conntrack_common.h> /* IP_CT_IS_REPLY */
10 enum ip_conntrack_dir {
16 /* The protocol-specific manipulable parts of the tuple: always in
19 union nf_conntrack_man_proto {
20 /* Add other protocols here. */
39 __be16 key; /* GRE key is 32bit, PPtP only uses 16bit */
43 #define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL)
45 #endif /* _NF_CONNTRACK_TUPLE_COMMON_H */