mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-06 14:10:30 +08:00
Add defines for multicast.
This commit is contained in:
parent
bb46114429
commit
1a4ffda300
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user