| Commit message (Expand) | Author | Age | Files | Lines |
| * | add pacing rate information to the tcp_info struct in tcp.h•••used by monitoring applications such as ss from iproute2
introduced in linux 3.15 commit 977cb0ecf82eb6d15562573c31edebf90db35163
| Szabolcs Nagy | 2014-07-20 | 1 | -0/+2 |
| * | fix use of legacy u_intN_t types in netinet/tcp.h•••policy is to avoid using these types except where they are needed for
namespace conformance. C99-style stdint.h types should be used
instead.
| Rich Felker | 2014-02-05 | 1 | -73/+74 |
| * | add support for BSD struct tcphdr in netinet/tcp.h•••there are two versions of this structure: the BSD version and the GNU
version. previously only the GNU version was supported. the only way
to support both simultaneously is with an anonymous union, which was a
nonstandard extension prior to C11, so some effort is made to avoid
breakage with compilers which do not support anonymous unions.
this commit is based on a patch by Timo Teräs, but with some changes.
in particular, the GNU version of the structure is not exposed unless
_GNU_SOURCE is defined; this both avoids namespace pollution and
dependency on anonymous unions in the default feature profile.
| Rich Felker | 2014-02-05 | 1 | -4/+41 |
| * | add TCP_INFO and TCP_MD5SIG socket option related structures | Timo Teräs | 2013-12-20 | 1 | -0/+58 |
| * | add TCP_NOTSENT_LOWAT tcp socket option, new in linux v3.12 | Szabolcs Nagy | 2013-11-23 | 1 | -0/+1 |
| * | add linux tcp state enums | Timo Teräs | 2013-11-23 | 1 | -0/+12 |
| * | only expose struct tcphdr under _GNU_SOURCE•••the BSD and GNU versions of this structure differ, so exposing it in
the default _BSD_SOURCE profile is possibly problematic. both versions
could be simultaneously supported with anonymous unions if needed in
the future, but for now, just omitting it except under _GNU_SOURCE
should be safe.
| Rich Felker | 2013-08-30 | 1 | -1/+3 |
| * | add struct tcphdr in netinet/tcp.h | Rich Felker | 2013-08-30 | 1 | -0/+33 |
| * | remove TCP_COOKIE_TRANSACTIONS from tcp.h•••removed in linux-v3.10 in commit 1a2c6181c4a1922021b4d7df373bba612c3e5f04
| Szabolcs Nagy | 2013-07-24 | 1 | -1/+0 |
| * | add new linux tcp socket option flags to netinet/tcp.h | Szabolcs Nagy | 2013-04-01 | 1 | -0/+10 |
| * | SOL_TCP is nonstandard and not in the reserved namespace•••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.
| Rich Felker | 2013-01-31 | 1 | -2/+1 |
| * | tcp.h: add SOL_TCP, analoguous to udp.h | rofl0r | 2012-12-06 | 1 | -0/+2 |
| * | TCP_* is in the reserved namespace for tcp.h; make use of that | Rich Felker | 2012-09-07 | 1 | -3/+4 |
| * | default features: make musl usable without feature test macros•••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.
| Rich Felker | 2012-09-07 | 1 | -0/+2 |
| * | 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.
| Rich Felker | 2012-05-22 | 1 | -0/+17 |
| * | more bits junk (tcp.h) | Rich Felker | 2011-09-18 | 1 | -1/+1 |
| * | initial check-in, version 0.5.0 | Rich Felker | 2011-02-12 | 1 | -0/+6 |