glibc/sysdeps/gnu
Joseph Myers 5cd7dbdea1 Update netinet/tcp.h from Linux 4.18.
This patch adds constants from netinet/tcp.h in Linux 4.18, and an
associated struct tcp_zerocopy_receive, to sysdeps/gnu/netinet/tcp.h.
The new TCP_REPAIR_* constants seemed sufficiently related to those
already present to include them.

Note that this patch does not include additions to struct tcp_info;
there are many other elements in this structure in the Linux kernel
that are not included in the glibc version (which was last extended in
2007, it seems).  Such additions to the end of the structure may be OK
with the expected way it is used (size passed explicitly to the kernel
with getsockopt), but in principle any change to the size of a type
provided by glibc is an ABI change for external applications /
libraries using that type in their ABIs, and has the associated risks
of such a change.

Tested for x86_64.

	* sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
	(TCP_INQ): Likewise.
	(TCP_CM_INQ): Likewise.
	(TCP_REPAIR_ON): Likewise.
	(TCP_REPAIR_OFF): Likewise.
	(TCP_REPAIR_OFF_NO_WP): Likewise.
	(struct tcp_zerocopy_receive): New type.
2018-08-21 15:57:22 +00:00
..
bits hurd: Fix shmid_ds's shm_segsz field type 2018-06-02 21:52:43 +02:00
net Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
netinet Update netinet/tcp.h from Linux 4.18. 2018-08-21 15:57:22 +00:00
sys Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
configure LIBC_SLIBDIR_RTLDDIR: substitute arguments in single quotes 2018-01-25 17:20:28 +01:00
configure.ac
errlist-compat.awk Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
errlist.awk Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
errlist.c Fix errno values 2018-03-20 03:10:57 +01:00
getutmp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
getutmpx.c
glob64-lstat-compat.c hurd: Fix glob64 compatibility symbols 2018-01-06 22:28:36 +01:00
glob64.c hurd: Fix glob64 compatibility symbols 2018-01-06 22:28:36 +01:00
glob-lstat-compat.c hurd: Fix glob64 compatibility symbols 2018-01-06 22:28:36 +01:00
globfree64.c posix: Sync glob with gnulib [BZ #1062] 2017-09-08 09:39:13 +02:00
ifaddrs.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
ldsodefs.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
rt-unwind-resume.c
siglist.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
unwind-resume.c Increase robustness of internal dlopen() by using RTLD_NOW [BZ #22766] 2018-04-26 10:41:43 -03:00
updwtmp.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
utmp_file.c Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00
utmpx.h Update copyright dates with scripts/update-copyrights. 2018-01-01 00:32:25 +00:00