about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2020-10-27 17:42:34 +0000
committerJoseph Myers <joseph@codesourcery.com>2020-10-27 17:42:34 +0000
commitb94cc191e0e7cb9894e32683f4f9cc32766b94e2 (patch)
treefe6d9e752ab414ea7b87ab5daba092ebc871c6c9 /sysdeps/unix
parent562ef5e69eb38230810bd25a4335224a31bfe31b (diff)
downloadglibc-b94cc191e0e7cb9894e32683f4f9cc32766b94e2.tar.gz
glibc-b94cc191e0e7cb9894e32683f4f9cc32766b94e2.tar.xz
glibc-b94cc191e0e7cb9894e32683f4f9cc32766b94e2.zip
Add IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from Linux 5.9.
Add the new constants IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from
Linux 5.9 to bits/in.h.

Tested for x86_64.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/bits/in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
index 77cf4af449..2a0fbb0288 100644
--- a/sysdeps/unix/sysv/linux/bits/in.h
+++ b/sysdeps/unix/sysv/linux/bits/in.h
@@ -102,6 +102,7 @@
 #define IP_CHECKSUM     23
 #define IP_BIND_ADDRESS_NO_PORT 24
 #define IP_RECVFRAGSIZE 25
+#define IP_RECVERR_RFC4884 26
 
 /* IP_MTU_DISCOVER arguments.  */
 #define IP_PMTUDISC_DONT   0	/* Never send DF frames.  */
@@ -193,6 +194,7 @@ struct in_pktinfo
 #define IPV6_LEAVE_ANYCAST	28
 #define IPV6_MULTICAST_ALL	29
 #define IPV6_ROUTER_ALERT_ISOLATE 30
+#define IPV6_RECVERR_RFC4884	31
 #define IPV6_IPSEC_POLICY	34
 #define IPV6_XFRM_POLICY	35
 #define IPV6_HDRINCL		36