Add IPV6_FREEBIND from Linux 4.15

Dmitry V. Levin ldv@altlinux.org
Tue Feb 6 00:33:00 GMT 2018


On Thu, Feb 01, 2018 at 06:16:58PM +0000, Joseph Myers wrote:
> [Proposed for once the release changes for 2.27, and the post-release 
> changes opening master for development for 2.28, have been committed.]
> 
> This patch adds the IPV6_FREEBIND macro from Linux 4.15 to
> sysdeps/unix/sysv/linux/bits/in.h.
> 
> Tested for x86_64.
> 
> 2018-02-01  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
> 
> diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
> index fb64f1b..2c86102 100644
> --- a/sysdeps/unix/sysv/linux/bits/in.h
> +++ b/sysdeps/unix/sysv/linux/bits/in.h
> @@ -228,6 +228,7 @@ struct in_pktinfo
>  #define IPV6_TRANSPARENT	75
>  #define IPV6_UNICAST_IF		76
>  #define IPV6_RECVFRAGSIZE	77
> +#define IPV6_FREEBIND		78
>  
>  /* Obsolete synonyms for the above.  */
>  #if !__USE_KERNEL_IPV6_DEFS

I've double-checked that this change matches Linux 4.15 headers.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20180206/202a24d1/attachment.sig>


More information about the Libc-alpha mailing list