diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-04-06 15:44:39 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-04-06 15:44:39 -0400 |
commit | 2b55a619e48e587a09d0620b959dd73f808d57ed (patch) | |
tree | 3f8afee34d67aeb973f57808e804c5b3b8df82fc /include/netinet/in.h | |
parent | 00817f07392c15d3614aa996c45767be8baca6e1 (diff) | |
download | musl-2b55a619e48e587a09d0620b959dd73f808d57ed.tar.gz musl-2b55a619e48e587a09d0620b959dd73f808d57ed.tar.xz musl-2b55a619e48e587a09d0620b959dd73f808d57ed.zip |
add IN_LOOPBACKNET constant (nonstandard but in reserved namespace)
Diffstat (limited to 'include/netinet/in.h')
-rw-r--r-- | include/netinet/in.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netinet/in.h b/include/netinet/in.h index 02a77ca5..0336b104 100644 --- a/include/netinet/in.h +++ b/include/netinet/in.h @@ -153,4 +153,6 @@ uint16_t ntohs(uint16_t); #define IN_EXPERIMENTAL(a) ((((in_addr_t)(a)) & 0xe0000000) == 0xe0000000) #define IN_BADCLASS(a) ((((in_addr_t)(a)) & 0xf0000000) == 0xf0000000) +#define IN_LOOPBACKNET 127 + #endif |