diff options
author | Szabolcs Nagy <nsz@port70.net> | 2021-07-04 20:33:25 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2022-03-08 17:21:26 -0500 |
commit | dda21f10a7d800812cdc63602556c2d217de1d3c (patch) | |
tree | a19a24b1d887f7993b38319efb691218b7a1489a | |
parent | ee05b11b67d59a6c5bb4b9d661bcc20bbd0bbe7a (diff) | |
download | musl-dda21f10a7d800812cdc63602556c2d217de1d3c.tar.gz musl-dda21f10a7d800812cdc63602556c2d217de1d3c.tar.xz musl-dda21f10a7d800812cdc63602556c2d217de1d3c.zip |
netinet/in.h: add INADDR_DUMMY from linux v5.13
see linux commit 321827477360934dc040e9d3c626bf1de6c3ab3c icmp: don't send out ICMP messages with a source address of 0.0.0.0 "RFC7600 reserves a dummy address to be used as a source for ICMP messages (192.0.0.8/32), so let's teach the kernel to substitute that address as a last resort if the regular source address selection procedure fails."
-rw-r--r-- | include/netinet/in.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/netinet/in.h b/include/netinet/in.h index f9594339..fb628b61 100644 --- a/include/netinet/in.h +++ b/include/netinet/in.h @@ -48,6 +48,7 @@ struct ipv6_mreq { #define INADDR_BROADCAST ((in_addr_t) 0xffffffff) #define INADDR_NONE ((in_addr_t) 0xffffffff) #define INADDR_LOOPBACK ((in_addr_t) 0x7f000001) +#define INADDR_DUMMY ((in_addr_t) 0xc0000008) #define INADDR_UNSPEC_GROUP ((in_addr_t) 0xe0000000) #define INADDR_ALLHOSTS_GROUP ((in_addr_t) 0xe0000001) |