projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00817f0
)
add IN_LOOPBACKNET constant (nonstandard but in reserved namespace)
author
Rich Felker
<dalias@aerifal.cx>
Wed, 6 Apr 2011 19:44:39 +0000
(15:44 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 6 Apr 2011 19:44:39 +0000
(15:44 -0400)
include/netinet/in.h
patch
|
blob
|
history
diff --git
a/include/netinet/in.h
b/include/netinet/in.h
index 02a77ca5fb15b47d5ab7d8c05944c5590813c97c..0336b1045e00ad8fa64b0773475d7128d23b87de 100644
(file)
--- 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