patch-2.1.24 linux/include/net/sock.h
Next file: linux/include/net/tcp.h
Previous file: linux/include/linux/swap.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Tue Jan 28 19:09:50 1997
- Orig file:
v2.1.23/linux/include/net/sock.h
- Orig date:
Tue Jan 28 18:50:56 1997
diff -u --recursive --new-file v2.1.23/linux/include/net/sock.h linux/include/net/sock.h
@@ -293,6 +293,14 @@
* }
*/
+/* Define this to get the sk->debug debugging facility. */
+#define SOCK_DEBUGGING
+#ifdef SOCK_DEBUGGING
+#define SOCK_DEBUG(sk, msg...) if((sk) && ((sk)->debug)) printk(KERN_DEBUG ## msg)
+#else
+#define SOCK_DEBUG(sk, msg...) do { } while (0)
+#endif
+
/*
* TCP will start to use the new protinfo while *still using the old* fields
*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov