Add IPV6_MULTICAST_ALL from Linux 4.20 to bits/in.h

Message ID alpine.DEB.2.21.1812312232360.27287@digraph.polyomino.org.uk
State New
Headers show
Series
  • Add IPV6_MULTICAST_ALL from Linux 4.20 to bits/in.h
Related show

Commit Message

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.

Comments

Dmitry V. Levin Jan. 1, 2019, 1:01 a.m. | #1
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