Commit Graph

11 Commits

Author SHA1 Message Date
Rich Felker 419ae6d5c9 support _BSD_SOURCE feature test macro
patch by Isaac Dunham. matched closely (maybe not exact) to glibc's
idea of what _BSD_SOURCE should make visible.
2012-05-22 21:52:08 -04:00
Rich Felker b47fdcdef8 add missing IN6_ARE_ADDR_EQUAL
written to avoid multiple conditional jumps and avoid ugly repetitive
lines in the header file.
2012-05-11 11:05:41 -04:00
Rich Felker e700e59a90 add one more bogus legacy header
this one is for program(s|ers) who haven't heard of uint16_t and
uint32_t (which are obviously the correct types for use in such
situations, as they're the argument/return types for ntohs/htons and
ntohl/htonl).
2012-05-10 23:32:28 -04:00
Rich Felker ca2d3c6ef4 add additional compatibility union member for ipv6 addresses
in6_* is in the reserved namespace, so this is valid
2012-05-03 22:12:46 -04:00
Rich Felker 3ed8c9f2df fix all missing instances of __cplusplus checks/extern "C" in headers
patch by Arvid Picciani (aep)
2011-11-10 20:40:06 -05:00
Rich Felker fd9e01e92a fix some header typos 2011-09-20 20:02:48 -04:00
Rich Felker ca8373dfcf more bits junk (tcp.h) 2011-09-18 15:39:52 -04:00
Rich Felker c8175666f2 move invariant netinet/in.h stuff out of bits/in.h 2011-09-18 15:31:44 -04:00
Rich Felker 2b55a619e4 add IN_LOOPBACKNET constant (nonstandard but in reserved namespace) 2011-04-06 15:44:39 -04:00
Rich Felker d6a1e0c79e resolve some header namespace non-issues
after re-reading 2.2.2 of POSIX 2008, all of these are in the correct
reserved namespaces and do not need protection.
2011-02-20 02:44:52 -05:00
Rich Felker 0b44a0315b initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00