summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-05-28 12:01:12 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-05-28 12:01:12 +0000
commitc6df1ce3d57328bb14191c85dc4695ffc4bd3b6c (patch)
treeb5ab9bdb9ba3fc2339aa8d0d41655b0dd2204ebe
parent85188d8211698d1a255f0aec6529546db5c56de3 (diff)
downloadglibc-c6df1ce3d57328bb14191c85dc4695ffc4bd3b6c.tar.gz
glibc-c6df1ce3d57328bb14191c85dc4695ffc4bd3b6c.tar.xz
glibc-c6df1ce3d57328bb14191c85dc4695ffc4bd3b6c.zip
Add IGMP_MRDISC_ADV from Linux 5.1 to netinet/igmp.h.
This patch adds the IGMP_MRDISC_ADV macro from Linux 5.1 to
netinet/igmp.h.

Tested for x86_64.

	* inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
-rw-r--r--ChangeLog4
-rw-r--r--inet/netinet/igmp.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 53a3ae4ddb..674879840d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-05-28  Joseph Myers  <joseph@codesourcery.com>
+
+	* inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
+
 2019-05-27  Florian Weimer  <fweimer@redhat.com>
 
 	* nptl/nptl-init.c: Add comment.
diff --git a/inet/netinet/igmp.h b/inet/netinet/igmp.h
index dccdb11eda..451b1abf47 100644
--- a/inet/netinet/igmp.h
+++ b/inet/netinet/igmp.h
@@ -86,6 +86,7 @@ struct igmp {
 
 #define IGMP_MTRACE_RESP		0x1e	/* traceroute resp.(to sender)*/
 #define IGMP_MTRACE			0x1f	/* mcast traceroute messages  */
+#define IGMP_MRDISC_ADV			0x30	/* From RFC4286.  */
 
 #define IGMP_MAX_HOST_REPORT_DELAY	10	/* max delay for response to     */
 						/*  query (in seconds) according */