From 2b55a619e48e587a09d0620b959dd73f808d57ed Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 6 Apr 2011 15:44:39 -0400 Subject: [PATCH] add IN_LOOPBACKNET constant (nonstandard but in reserved namespace) --- include/netinet/in.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.25.1