public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Add IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from Linux 5.9
@ 2020-10-23 17:24 Joseph Myers
  2020-10-27 17:34 ` Ping " Joseph Myers
  2020-10-27 17:37 ` Adhemerval Zanella
  0 siblings, 2 replies; 3+ messages in thread
From: Joseph Myers @ 2020-10-23 17:24 UTC (permalink / raw)
  To: libc-alpha

Add the new constants IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from
Linux 5.9 to bits/in.h.

Tested for x86_64.

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


-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Ping Re: Add IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from Linux 5.9
  2020-10-23 17:24 Add IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from Linux 5.9 Joseph Myers
@ 2020-10-27 17:34 ` Joseph Myers
  2020-10-27 17:37 ` Adhemerval Zanella
  1 sibling, 0 replies; 3+ messages in thread
From: Joseph Myers @ 2020-10-27 17:34 UTC (permalink / raw)
  To: libc-alpha

Ping.  This patch 
<https://sourceware.org/pipermail/libc-alpha/2020-October/118975.html> is 
pending review.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Add IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from Linux 5.9
  2020-10-23 17:24 Add IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from Linux 5.9 Joseph Myers
  2020-10-27 17:34 ` Ping " Joseph Myers
@ 2020-10-27 17:37 ` Adhemerval Zanella
  1 sibling, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2020-10-27 17:37 UTC (permalink / raw)
  To: libc-alpha



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
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-10-27 17:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23 17:24 Add IP_RECVERR_RFC4884 and IPV6_RECVERR_RFC4884 from Linux 5.9 Joseph Myers
2020-10-27 17:34 ` Ping " Joseph Myers
2020-10-27 17:37 ` Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).