mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
Add INADDR_DUMMY from Linux 5.13 to netinet/in.h
Linux 5.13 adds an INADDR_DUMMY definition; add a corresponding definition to glibc's netinet/in.h. (This isn't strictly a new kernel interface, rather a value defined in RFC 7600.) Tested for x86_64.
This commit is contained in:
parent
505a964ae0
commit
fb89489636
@ -196,6 +196,9 @@ enum
|
||||
#define INADDR_BROADCAST ((in_addr_t) 0xffffffff)
|
||||
/* Address indicating an error return. */
|
||||
#define INADDR_NONE ((in_addr_t) 0xffffffff)
|
||||
/* Dummy address for source of ICMPv6 errors converted to IPv4 (RFC
|
||||
7600). */
|
||||
#define INADDR_DUMMY ((in_addr_t) 0xc0000008)
|
||||
|
||||
/* Network number for local host loopback. */
|
||||
#define IN_LOOPBACKNET 127
|
||||
|
Loading…
Reference in New Issue
Block a user