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