[Glibc-bsd-commits] r5115 - trunk/glibc-ports/kfreebsd/bits

Robert Millan rmh at alioth.debian.org
Fri Nov 1 12:37:09 UTC 2013


Author: rmh
Date: 2013-11-01 12:37:08 +0000 (Fri, 01 Nov 2013)
New Revision: 5115

Modified:
   trunk/glibc-ports/kfreebsd/bits/socket.h
Log:
Import a few INADDR_*_GROUP macros from upstream <netinet/in.h>

Modified: trunk/glibc-ports/kfreebsd/bits/socket.h
===================================================================
--- trunk/glibc-ports/kfreebsd/bits/socket.h	2013-10-30 11:44:49 UTC (rev 5114)
+++ trunk/glibc-ports/kfreebsd/bits/socket.h	2013-11-01 12:37:08 UTC (rev 5115)
@@ -396,6 +396,12 @@
     int l_linger;		/* Time to linger.  */
   };
 
+/* Magic IPv4 addresses defined in FreeBSD version of <netinet/in.h>, but not
+   included in Glibc version of the same header. */
+#define	INADDR_ALLRPTS_GROUP	(u_int32_t)0xe0000016	/* 224.0.0.22, IGMPv3 */
+#define	INADDR_CARP_GROUP	(u_int32_t)0xe0000012	/* 224.0.0.18 */
+#define	INADDR_PFSYNC_GROUP	(u_int32_t)0xe00000f0	/* 224.0.0.240 */
+#define	INADDR_ALLMDNS_GROUP	(u_int32_t)0xe00000fb	/* 224.0.0.251 */
 
 #ifdef __USE_BSD
 




More information about the Glibc-bsd-commits mailing list