]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add defines for multicast.
authorUlrich Drepper <drepper@redhat.com>
Wed, 20 May 1998 12:12:14 +0000 (12:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 20 May 1998 12:12:14 +0000 (12:12 +0000)
sysdeps/unix/sysv/linux/netinet/in.h

index f0164a7b5953b03e372f075ccd26e0c6b908e973..a34667b0a7b477421387ee9e45f2bd114d5efc0e 100644 (file)
@@ -136,6 +136,12 @@ struct in_addr
 #define        INADDR_LOOPBACK 0x7f000001      /* Internet address 127.0.0.1.  */
 #endif
 
+/* Defines for Multicast INADDR.  */
+#define INADDR_UNSPEC_GROUP    ((uint32_t) 0xe0000000U)      /* 224.0.0.0 */
+#define INADDR_ALLHOSTS_GROUP  ((uint32_t) 0xe0000001U)      /* 224.0.0.1 */
+#define INADDR_ALLRTRS_GROUP    ((uint32_t) 0xe0000002U)      /* 224.0.0.2 */
+#define INADDR_MAX_LOCAL_GROUP  ((uint32_t) 0xe00000ffU)      /* 224.0.0.255 */
+
 
 /* Get the definition of the macro to define the common sockaddr members.  */
 #include <sockaddrcom.h>