patch-2.1.43 linux/include/net/sock.h

Next file: linux/init/main.c
Previous file: linux/include/net/checksum.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.42/linux/include/net/sock.h linux/include/net/sock.h
@@ -70,6 +70,10 @@
 #include <linux/atalk.h>
 #endif
 
+#if defined(CONFIG_DECNET) || defined(CONFIG_DECNET_MODULE)
+#include <net/dn.h>
+#endif
+
 #include <linux/igmp.h>
 
 #include <asm/atomic.h>
@@ -447,6 +451,7 @@
 
 	union
 	{
+		void *destruct_hook;
 	  	struct unix_opt	af_unix;
 #if defined(CONFIG_ATALK) || defined(CONFIG_ATALK_MODULE)
 		struct atalk_sock	af_at;
@@ -472,6 +477,9 @@
 		rose_cb			*rose;
 #endif
 #endif
+#if defined(CONFIG_DECNET) || defined(CONFIG_DECNET_MODULE)
+	        dn_cb                    *dn;
+#endif
 	} protinfo;  		
 
 /* 
@@ -523,6 +531,7 @@
 
   	int			(*backlog_rcv) (struct sock *sk,
 						struct sk_buff *skb);  
+	void                    (*destruct)(struct sock *sk);
 };
 
 /*

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