From: Ulrich Drepper Date: Wed, 20 May 1998 12:12:14 +0000 (+0000) Subject: Add defines for multicast. X-Git-Tag: cvs/sparc-980522-merge~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a4ffda300050fe65bfc5f06d1c96d8cc4bc0af1;p=thirdparty%2Fglibc.git Add defines for multicast. --- diff --git a/sysdeps/unix/sysv/linux/netinet/in.h b/sysdeps/unix/sysv/linux/netinet/in.h index f0164a7b595..a34667b0a7b 100644 --- a/sysdeps/unix/sysv/linux/netinet/in.h +++ b/sysdeps/unix/sysv/linux/netinet/in.h @@ -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