Add IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from Linux 5.9
Commit Message
Add the new constants IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from
Linux 5.9 to bits/in.h.
Tested for x86_64.
Comments
Ping. This patch
<https://sourceware.org/pipermail/libc-alpha/2020-October/118975.html> is
pending review.
On 23/10/2020 14:24, Joseph Myers wrote:
> Add the new constants IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from
> Linux 5.9 to bits/in.h.
>
> Tested for x86_64.
Ok, IP_RECVERR_RFC4884 was added on eba75c587e811d3 and IPV6_RECVERR_RFC4884
on 01370434df85eb76ecb; both on v5.9-rc1.
LGTM, thanks.
>
> 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
>
>
@@ -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