patch-2.3.99-pre7 linux/include/linux/netfilter_ipv4/ip_conntrack.h

Next file: linux/include/linux/netfilter_ipv4/ip_conntrack_core.h
Previous file: linux/include/linux/netdevice.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/include/linux/netfilter_ipv4/ip_conntrack.h linux/include/linux/netfilter_ipv4/ip_conntrack.h
@@ -51,7 +51,10 @@
 	IPS_EXPECTED = 0x01,
 
 	/* We've seen packets both ways: bit 1 set.  Can be set, not unset. */
-	IPS_SEEN_REPLY = 0x02
+	IPS_SEEN_REPLY = 0x02,
+
+	/* Packet seen leaving box: bit 2 set.  Can be set, not unset. */
+	IPS_CONFIRMED = 0x04
 };
 
 struct ip_conntrack_expect
@@ -88,7 +91,7 @@
 	struct ip_conntrack_tuple_hash tuplehash[IP_CT_DIR_MAX];
 
 	/* Have we seen traffic both ways yet? (bitset) */
-	unsigned int status;
+	volatile unsigned int status;
 
 	/* Timer function; drops refcnt when it goes off. */
 	struct timer_list timeout;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)