Patchwork Add IPV6_MULTICAST_ALL from Linux 4.20 to bits/in.h

login
register
mail settings
Submitter Joseph Myers
Date Dec. 31, 2018, 10:33 p.m.
Message ID <alpine.DEB.2.21.1812312232360.27287@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/30918/
State New
Headers show

Comments

Joseph Myers - Dec. 31, 2018, 10:33 p.m.
This patch adds the IPV6_MULTICAST_ALL constant from Linux 4.20 to
bits/in.h.

Tested for x86_64.

2018-12-31  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
	macro.
Dmitry Levin - Jan. 1, 2019, 1:01 a.m.
On Mon, Dec 31, 2018 at 10:33:06PM +0000, Joseph Myers wrote:
> This patch adds the IPV6_MULTICAST_ALL constant from Linux 4.20 to
> bits/in.h.
> 
> Tested for x86_64.
> 
> 2018-12-31  Joseph Myers  <joseph@codesourcery.com>
> 
> 	* sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
> 	macro.

OK

Patch

diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
index 2c86102629..5716e6475e 100644
--- a/sysdeps/unix/sysv/linux/bits/in.h
+++ b/sysdeps/unix/sysv/linux/bits/in.h
@@ -191,6 +191,7 @@  struct in_pktinfo
 #define IPV6_V6ONLY		26
 #define IPV6_JOIN_ANYCAST	27
 #define IPV6_LEAVE_ANYCAST	28
+#define IPV6_MULTICAST_ALL	29
 #define IPV6_IPSEC_POLICY	34
 #define IPV6_XFRM_POLICY	35
 #define IPV6_HDRINCL		36