musl/include/netinet
Rich Felker fdaaa68d82 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.
2014-02-05 16:55:30 -05:00
..
ether.h add stubs for additional legacy ether.h functions 2013-07-01 13:50:02 -04:00
icmp6.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
if_ether.h add if_ether.h constants ETH_P_802_3_MIN and ETH_P_BATMAN 2013-07-24 22:17:24 +00:00
igmp.h add netinet/igmp.h and multicast groups to netinet/in.h 2013-12-20 11:42:03 -05:00
in_systm.h add one more bogus legacy header 2012-05-10 23:32:28 -04:00
in.h fix remaining known namespace violations for netinet/in.h 2014-01-08 18:54:33 -05:00
ip6.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ip_icmp.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ip.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
tcp.h add support for BSD struct tcphdr in netinet/tcp.h 2014-02-05 16:55:30 -05:00
udp.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00