about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/alpha/Dist4
-rw-r--r--sysdeps/unix/sysv/linux/netinet/in.h3
-rw-r--r--sysdeps/unix/sysv/linux/socketbits.h3
3 files changed, 7 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/Dist b/sysdeps/unix/sysv/linux/alpha/Dist
index f3c4cb92d6..344ffa55fb 100644
--- a/sysdeps/unix/sysv/linux/alpha/Dist
+++ b/sysdeps/unix/sysv/linux/alpha/Dist
@@ -3,8 +3,8 @@ ieee_get_fp_control.S ieee_set_fp_control.S
 ioperm.c
 init-first.h
 clone.S
+kernel_sigaction.h
 sys/io.h
-kernel_termios.h
 sys/acct.h
-sys/kernel_sigaction.h
+sys/kernel_termios.h
 sys/procfs.h
diff --git a/sysdeps/unix/sysv/linux/netinet/in.h b/sysdeps/unix/sysv/linux/netinet/in.h
index 3dea878a21..c1df8250c0 100644
--- a/sysdeps/unix/sysv/linux/netinet/in.h
+++ b/sysdeps/unix/sysv/linux/netinet/in.h
@@ -164,6 +164,9 @@ struct sockaddr_in
 #define IP_ADD_MEMBERSHIP  35	/* ip_mreq; add an IP group membership */
 #define IP_DROP_MEMBERSHIP 36	/* ip_mreq; drop an IP group membership */
 
+/* To select the IP level.  */
+#define SOL_IP	0
+
 /* Structure used to describe IP options for IP_OPTIONS. The `ip_dst'
    field is used for the first-hop gateway when using a source route
    (this gets put into the header proper).  */
diff --git a/sysdeps/unix/sysv/linux/socketbits.h b/sysdeps/unix/sysv/linux/socketbits.h
index e9c88758e5..1cf44b4347 100644
--- a/sysdeps/unix/sysv/linux/socketbits.h
+++ b/sysdeps/unix/sysv/linux/socketbits.h
@@ -80,7 +80,8 @@ enum __socket_type
 #define	AF_INET6	PF_INET6
 #define	AF_MAX		PF_MAX
 
-
+/* Raw IP packet level.  */
+#define SOL_RAW		255
 
 /* Maximum queue length specifiable by listen.  */
 #define SOMAXCONN	128