ce426f
commit 164fd39d05925717e75715929c7ced14a2c1505e
ce426f
Author: Andreas Jaeger <aj@suse.de>
ce426f
Date:   Fri May 3 20:51:27 2013 +0200
ce426f
ce426f
    Sync with Linux 3.9
ce426f
    
ce426f
            * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
ce426f
            Linux 3.9.
ce426f
            * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK):
ce426f
            Add.
ce426f
            (PF_MAX): Adjust for VSOCK change.
ce426f
ce426f
Index: b/sysdeps/gnu/netinet/tcp.h
ce426f
===================================================================
ce426f
--- a/sysdeps/gnu/netinet/tcp.h
ce426f
+++ b/sysdeps/gnu/netinet/tcp.h
ce426f
@@ -60,6 +60,7 @@
ce426f
 #define TCP_QUEUE_SEQ		 21 /* Set sequence number of repaired queue. */
ce426f
 #define TCP_REPAIR_OPTIONS	 22 /* Repair TCP connection options */
ce426f
 #define TCP_FASTOPEN		 23 /* Enable FastOpen on listeners */
ce426f
+#define TCP_TIMESTAMP		 24 /* TCP time stamp */
ce426f
 
ce426f
 #ifdef __USE_MISC
ce426f
 # include <sys/types.h>
ce426f
Index: b/sysdeps/unix/sysv/linux/bits/socket.h
ce426f
===================================================================
ce426f
--- a/sysdeps/unix/sysv/linux/bits/socket.h
ce426f
+++ b/sysdeps/unix/sysv/linux/bits/socket.h
ce426f
@@ -80,7 +80,8 @@ typedef __socklen_t socklen_t;
ce426f
 #define PF_CAIF		37	/* CAIF sockets.  */
ce426f
 #define PF_ALG		38	/* Algorithm sockets.  */
ce426f
 #define PF_NFC		39	/* NFC sockets.  */
ce426f
-#define	PF_MAX		40	/* For now..  */
ce426f
+#define PF_VSOCK	40	/* vSockets.  */
ce426f
+#define	PF_MAX		41	/* For now..  */
ce426f
 
ce426f
 /* Address families.  */
ce426f
 #define	AF_UNSPEC	PF_UNSPEC
ce426f
@@ -124,6 +125,7 @@ typedef __socklen_t socklen_t;
ce426f
 #define AF_CAIF		PF_CAIF
ce426f
 #define AF_ALG		PF_ALG
ce426f
 #define AF_NFC		PF_NFC
ce426f
+#define AF_VSOCK	PF_VSOCK
ce426f
 #define	AF_MAX		PF_MAX
ce426f
 
ce426f
 /* Socket level values.  Others are defined in the appropriate headers.