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

Next file: linux/include/linux/soundmodem.h
Previous file: linux/include/linux/sc26198.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.34/linux/include/linux/socket.h linux/include/linux/socket.h
@@ -63,7 +63,9 @@
 #ifdef LINUX_2_1_X
 #define AF_INET6	10	/* IP version 6			*/
 #endif
-#define AF_MAX		12	/* For now.. */
+#define AF_ROSE		11	/* Amateur Radio X.25 PLP       */
+#define AF_MAX		13	/* For now.. */
+#define AF_PACKET	17	/* Forward compat hook		*/
 
 /* Protocol families, same as address families. */
 #define PF_UNSPEC	AF_UNSPEC
@@ -79,8 +81,9 @@
 #ifdef LINUX_2_1_X
 #define PF_INET6	AF_INET6
 #endif
+#define	PF_ROSE		AF_ROSE
 #define PF_MAX		AF_MAX
-
+#define PF_PACKET	AF_PACKET
 /* Maximum queue length specifiable by listen.  */
 #define SOMAXCONN	128
 
@@ -97,6 +100,7 @@
 #define SOL_AX25	257
 #define SOL_ATALK	258
 #define	SOL_NETROM	259
+#define	SOL_ROSE	260
 #define SOL_TCP		6
 #define SOL_UDP		17
 

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