summaryrefslogtreecommitdiff
path: root/include/netinet
AgeCommit message (Collapse)AuthorLines
2013-01-31SOL_TCP is nonstandard and not in the reserved namespaceRich Felker-2/+1
alternatively, we could define it in sys/socket.h since SO* is reserved there, and tcp.h includes sys/socket.h in extensions mode. note that SOL_TCP is simply wrong and it's only here for compatibility with broken applications. the correct argument to pass for setting TCP socket options is IPPROTO_TCP, which of course has the same value as SOL_TCP but works everywhere.
2013-01-12add missing multicast socket options to netinet/in.hSzabolcs Nagy-0/+17
based on linux headers add the missing MCAST_* options under _GNU_SOURCE as they are not in the reserved namespace (this api was originally specified by RFC 3678)
2013-01-01add some new-ish IPPROTO constants that were missingRich Felker-0/+3
2012-12-06tcp.h: add SOL_TCP, analoguous to udp.hrofl0r-0/+2
2012-09-08add IPPROTO_HOPOPTS to in.hRich Felker-0/+1
2012-09-08add IPPROTO_MAX to in.hRich Felker-0/+1
2012-09-07TCP_* is in the reserved namespace for tcp.h; make use of thatRich Felker-3/+4
2012-09-07default features: make musl usable without feature test macrosRich Felker-0/+2
the old behavior of exposing nothing except plain ISO C can be obtained by defining __STRICT_ANSI__ or using a compiler option (such as -std=c99) that predefines it. the new default featureset is POSIX with XSI plus _BSD_SOURCE. any explicit feature test macros will inhibit the default. installation docs have also been updated to reflect this change.
2012-05-22support _BSD_SOURCE feature test macroRich Felker-0/+17
patch by Isaac Dunham. matched closely (maybe not exact) to glibc's idea of what _BSD_SOURCE should make visible.
2012-05-11add missing IN6_ARE_ADDR_EQUALRich Felker-0/+5
written to avoid multiple conditional jumps and avoid ugly repetitive lines in the header file.
2012-05-10add one more bogus legacy headerRich Felker-0/+9
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-03add additional compatibility union member for ipv6 addressesRich Felker-0/+2
in6_* is in the reserved namespace, so this is valid
2011-11-10fix all missing instances of __cplusplus checks/extern "C" in headersRich Felker-0/+8
patch by Arvid Picciani (aep)
2011-09-20fix some header typosRich Felker-1/+1
2011-09-18more bits junk (tcp.h)Rich Felker-1/+1
2011-09-18move invariant netinet/in.h stuff out of bits/in.hRich Felker-2/+147
2011-04-06add IN_LOOPBACKNET constant (nonstandard but in reserved namespace)Rich Felker-0/+2
2011-02-20resolve some header namespace non-issuesRich Felker-2/+0
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-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+1132