patch-1.3.78 linux/include/linux/socket.h

Next file: linux/include/linux/sockios.h
Previous file: linux/include/linux/smp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.77/linux/include/linux/socket.h linux/include/linux/socket.h
@@ -96,6 +96,8 @@
 #define SOL_TCP		6
 #define SOL_UDP		17
 
+#ifdef __KERNEL__
+
 /* IP options */
 #define IP_TOS		1
 #define	IPTOS_LOWDELAY		0x10
@@ -111,6 +113,7 @@
 #define IP_ADD_MEMBERSHIP		35
 #define IP_DROP_MEMBERSHIP		36
 
+#endif /* __KERNEL__ */
 
 /* These need to appear somewhere around here */
 #define IP_DEFAULT_MULTICAST_TTL        1

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this