patch-2.0.30 linux/include/linux/socket.h
Next file: linux/include/linux/sysctl.h
Previous file: linux/include/linux/random.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Tue Apr 8 08:47:46 1997
- Orig file:
v2.0.29/linux/include/linux/socket.h
- Orig date:
Mon Jul 8 06:09:16 1996
diff -u --recursive --new-file v2.0.29/linux/include/linux/socket.h linux/include/linux/socket.h
@@ -60,7 +60,9 @@
#define AF_BRIDGE 7 /* Multiprotocol bridge */
#define AF_AAL5 8 /* Reserved for Werner's ATM */
#define AF_X25 9 /* Reserved for X.25 project */
+#ifdef LINUX_2_1_X
#define AF_INET6 10 /* IP version 6 */
+#endif
#define AF_MAX 12 /* For now.. */
/* Protocol families, same as address families. */
@@ -74,8 +76,9 @@
#define PF_BRIDGE AF_BRIDGE
#define PF_AAL5 AF_AAL5
#define PF_X25 AF_X25
+#ifdef LINUX_2_1_X
#define PF_INET6 AF_INET6
-
+#endif
#define PF_MAX AF_MAX
/* Maximum queue length specifiable by listen. */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov