]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from Linux 5.9.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 27 Oct 2020 17:42:34 +0000 (17:42 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 27 Oct 2020 17:42:34 +0000 (17:42 +0000)
Add the new constants IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from
Linux 5.9 to bits/in.h.

Tested for x86_64.

sysdeps/unix/sysv/linux/bits/in.h

index 77cf4af449463cdedfad96bceb2965b8d9d68fbd..2a0fbb02889a49c31c5ce8e4fb0552417997d035 100644 (file)
 #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