From 04d9a38bafddb92ab79bc0015533689e15848522 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 1 Sep 2015 13:47:25 +0000 Subject: Add netinet/in.h values from Linux 4.2. This patch adds new constants from Linux 4.2 to netinet/in.h: IPPROTO_MPLS and IP_BIND_ADDRESS_NO_PORT (both in include/uapi/linux/in.h in Linux; one directly in netinet/in.h, one in bits/in.h in glibc). Tested for x86_64 (testsuite, and that installed stripped shared libraries are unchanged by the patch). * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro. * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New macro. --- sysdeps/unix/sysv/linux/bits/in.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdeps/unix') diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h index 887719fb15..fc0faf62ce 100644 --- a/sysdeps/unix/sysv/linux/bits/in.h +++ b/sysdeps/unix/sysv/linux/bits/in.h @@ -92,6 +92,7 @@ #define IP_MINTTL 21 #define IP_NODEFRAG 22 #define IP_CHECKSUM 23 +#define IP_BIND_ADDRESS_NO_PORT 24 /* IP_MTU_DISCOVER arguments. */ #define IP_PMTUDISC_DONT 0 /* Never send DF frames. */ -- cgit 1.4.1