[RFC 2/4] nf_conntrack_queue: define struct that will be stored in nf_ct_extend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Karl Hiramoto <karl@xxxxxxxxxxxx>
---
 include/net/netfilter/nf_conntrack_queue.h |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 include/net/netfilter/nf_conntrack_queue.h

diff --git a/include/net/netfilter/nf_conntrack_queue.h b/include/net/netfilter/nf_conntrack_queue.h
new file mode 100644
index 0000000..417820f
--- /dev/null
+++ b/include/net/netfilter/nf_conntrack_queue.h
@@ -0,0 +1,17 @@
+#ifndef _NF_CONNTRACK_QUEUE_H
+#define _NF_CONNTRACK_QUEUE_H
+
+
+#if defined(CONFIG_NF_QUEUE_CONNBYTES_BYPASS)
+#include <net/netfilter/nf_conntrack_extend.h>
+
+struct nf_conntrack_queue {
+	spinlock_t lock;
+	union {
+		u32     connbytes;
+		u32     tcp_seq; /* TCP sequence number */
+	} dir[IP_CT_DIR_MAX];
+};
+
+#endif
+#endif /* _NF_CONNTRACK_QUEUE_H */
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux