musl/src/network
Rich Felker 7168790763 workaround broken msghdr struct on 64bit linux
POSIX clearly specifies the type of msg_iovlen and msg_controllen, and
Linux ignores it and makes them both size_t instead. to work around
this we add padding (instead of just using the wrong types like glibc
does), but we also need to patch-up the struct before passing it to
the kernel in case the caller did not zero-fill it.

if i could trust the kernel to just ignore the upper 32 bits, this
would not be necessary, but i don't think it will ignore them...
2011-04-08 09:24:19 -04:00
..
__dns.c fix broken dns response parsing code that made most ipv6 lookups fail 2011-04-08 08:49:28 -04:00
__dns.h initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
__ipparse.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
accept.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
bind.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
connect.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
dn_expand.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ent.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
freeaddrinfo.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
gai_strerror.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
getaddrinfo.c return the requested string as the "canonical name" for numeric addresses 2011-04-08 08:14:28 -04:00
gethostbyaddr.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
gethostbyaddr_r.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
gethostbyname.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
gethostbyname2.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
gethostbyname2_r.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
gethostbyname_r.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
getnameinfo.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
getpeername.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
getservbyname.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
getservbyname_r.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
getservbyport.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
getservbyport_r.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
getsockname.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
getsockopt.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
h_errno.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
hstrerror.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
htonl.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
htons.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
if_indextoname.c implement if_indextoname and if_nametoindex functions 2011-04-05 13:20:08 -04:00
if_nametoindex.c implement if_indextoname and if_nametoindex functions 2011-04-05 13:20:08 -04:00
in6addr_any.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
in6addr_loopback.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
inet_addr.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
inet_aton.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
inet_ntoa.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
inet_ntop.c fix ipv6 address printing: 2001 appeared as 201, etc. 2011-04-08 09:21:51 -04:00
inet_pton.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
listen.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
ntohl.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
ntohs.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
proto.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
recv.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
recvfrom.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
recvmsg.c workaround broken msghdr struct on 64bit linux 2011-04-08 09:24:19 -04:00
res_init.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
res_query.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
res_state.c add _res (__res_state()) dummy 2011-04-06 15:47:26 -04:00
send.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
sendmsg.c workaround broken msghdr struct on 64bit linux 2011-04-08 09:24:19 -04:00
sendto.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
serv.c initial check-in, version 0.5.0 2011-02-12 00:22:29 -05:00
setsockopt.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
shutdown.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
sockatmark.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
socket.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00
socketpair.c cleanup socketcall syscall interface to ease porting to sane(r) archs 2011-02-15 04:40:40 -05:00