patch-2.0.37 linux/include/net/ip_masq.h

Next file: linux/include/scsi/scsicam.h
Previous file: linux/include/linux/wireless.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.36/linux/include/net/ip_masq.h linux/include/net/ip_masq.h
@@ -84,6 +84,13 @@
 	void		*app_data;	/* Application private data */
 	unsigned  flags;        	/* status flags */
 	struct ip_masq	*control;	/* Corresponding control connection */
+#ifdef CONFIG_IP_MASQUERADE_IPSEC
+	struct ip_masq  *d_link;	/* hashed link ptr */
+	__u32		ospi, ispi;	/* outbound and inbound SPI keys for IPSEC */
+					/* also the icookie for ISAKMP masquerade  */
+	short		ocnt;		/* counter of inits sent - limit blocking  */
+	short		blocking;	/* if we're blocking another host          */
+#endif /* CONFIG_IP_MASQUERADE_IPSEC */
 };
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov