Add IGMP_MRDISC_ADV from Linux 5.1 to netinet/igmp.h

Message ID alpine.DEB.2.21.1905232117580.22178@digraph.polyomino.org.uk
State New
Headers show
Series
  • Add IGMP_MRDISC_ADV from Linux 5.1 to netinet/igmp.h
Related show

Commit Message

Joseph Myers May 23, 2019, 9:18 p.m.
This patch adds the IGMP_MRDISC_ADV macro from Linux 5.1 to
netinet/igmp.h.

Tested for x86_64.

2019-05-23  Joseph Myers  <joseph@codesourcery.com>

	* inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.


-- 
Joseph S. Myers
joseph@codesourcery.com

Comments

Florian Weimer May 24, 2019, 8:53 a.m. | #1
* Joseph Myers:

> +#define IGMP_MRDISC_ADV			0x30	/* From RFC4286.  */


Looks good, matches the Linux sources.

Thanks,
Florian

Patch

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