From ff152e3fc8c7d38e08d9f9d70eb6109c878e1372 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 14 May 1998 19:14:48 +0000 Subject: Update. 1998-05-14 13:25 Ulrich Drepper * inet/netinet/in.h: Add defines for multicast. Reported by Jeremy Hall . * stdlib/stdlib.h: Add prototypes for __setenv and __unsetenv. * sysdeps/generic/putenv.c: Use __setenv and __unsetenv, not setenv and unsetenv. Optimize _LIBC case. * sysdeps/generic/setenv.c: Prevent unnecessary memory leaks. Define functions with leading __. * time/tzfile.c: Correct handling of global variables daylight, timezone, and tzname. * time/tzset.c: Likewise. * timezone/Makefile (tests): Add tst-timezone. * timezone/tst-timezone.c: New file. 1998-05-14 10:35 Ulrich Drepper * timezone/asia: Update from tzdata1998d. * timezone/australasia: Likewise. * timezone/europe: Likewise. --- inet/netinet/in.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'inet') diff --git a/inet/netinet/in.h b/inet/netinet/in.h index c6985ffa0a..ddc09753e2 100644 --- a/inet/netinet/in.h +++ b/inet/netinet/in.h @@ -143,6 +143,12 @@ struct in_addr # define INADDR_LOOPBACK ((uint32_t) 0x7f000001) /* Inet 127.0.0.1. */ #endif +/* Defines for Multicast INADDR. */ +#define INADDR_UNSPEC_GROUP ((uint32_t) 0xe0000000) /* 224.0.0.0 */ +#define INADDR_ALLHOSTS_GROUP ((uint32_t) 0xe0000001) /* 224.0.0.1 */ +#define INADDR_ALLRTRS_GROUP ((uint32_t) 0xe0000002) /* 224.0.0.2 */ +#define INADDR_MAX_LOCAL_GROUP ((uint32_t) 0xe00000ff) /* 224.0.0.255 */ + /* IPv6 address */ struct in6_addr -- cgit v1.2.3