mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-13 18:45:10 +01:00
SF# 3559332: Add macros for well-known multicast addresses
This commit is contained in:
parent
7a50c8ee0a
commit
111fba0481
@ -285,5 +285,32 @@ extern char *if_indextoname (unsigned int __ifindex, char *__ifname) __THROW;
|
||||
#define INADDR_NONE 0xFFFFFFFF
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_ANY
|
||||
#define INADDR_ANY 0x00000000
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_BROADCAST
|
||||
#define INADDR_BROADCAST 0xffffffff
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_LOOPBACK
|
||||
#define INADDR_LOOPBACK 0x7f000001
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_UNSPEC_GROUP
|
||||
#define INADDR_UNSPEC_GROUP 0xe0000000
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_ALLHOSTS_GROUP
|
||||
#define INADDR_ALLHOSTS_GROUP 0xe0000001
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_ALLRTRS_GROUP
|
||||
#define INADDR_ALLRTRS_GROUP 0xe0000002
|
||||
#endif
|
||||
|
||||
#ifndef INADDR_MAX_LOCAL_GROUP
|
||||
#define INADDR_MAX_LOCAL_GROUP 0xe00000ff
|
||||
#endif
|
||||
|
||||
#endif // Net_SocketDefs_INCLUDED
|
||||
|
Loading…
Reference in New Issue
Block a user