qemu-e2k/slirp
Samuel Thibault 0d48dfedc5 slirp: fix guest network access with darwin host
On Darwin, connect, sendto and friends want the exact size of the sockaddr,
not more (and in particular, not sizeof(struct sockaddr_storaget))

This commit adds the sockaddr_size helper to be used when passing a sockaddr
size to such function, and makes use of it int sendto and connect calls.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: John Arbuckle <programmingkidx@gmail.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2016-04-28 18:12:08 +01:00
..
arp_table.c
bootp.c
bootp.h
cksum.c
COPYRIGHT
debug.h
dnssearch.c
if.c Avoid embedding struct mbuf in other structures 2016-03-23 00:57:01 +01:00
if.h
ip6_icmp.c slirp: Allow disabling IPv4 or IPv6 2016-04-01 17:51:55 +02:00
ip6_icmp.h
ip6_input.c slirp: Allow disabling IPv4 or IPv6 2016-04-01 17:51:55 +02:00
ip6_output.c
ip6.h
ip_icmp.c slirp: fix guest network access with darwin host 2016-04-28 18:12:08 +01:00
ip_icmp.h
ip_input.c slirp: Allow disabling IPv4 or IPv6 2016-04-01 17:51:55 +02:00
ip_output.c
ip.h
libslirp.h slirp: Allow disabling IPv4 or IPv6 2016-04-01 17:51:55 +02:00
main.h
Makefile.objs
mbuf.c Avoid embedding struct mbuf in other structures 2016-03-23 00:57:01 +01:00
mbuf.h Use C99 flexible array instead of 1-byte trailing array 2016-03-29 01:15:02 +02:00
misc.c Avoid embedding struct mbuf in other structures 2016-03-23 00:57:01 +01:00
misc.h Avoid embedding struct mbuf in other structures 2016-03-23 00:57:01 +01:00
ndp_table.c
sbuf.c
sbuf.h
slirp_config.h
slirp.c slirp: avoid use-after-free in slirp_pollfds_poll() if soread() returns an error 2016-04-07 10:27:42 +02:00
slirp.h wxx: Fix broken TCP networking (regression) 2016-04-15 19:35:17 +02:00
socket.c slirp: fix guest network access with darwin host 2016-04-28 18:12:08 +01:00
socket.h slirp: fix guest network access with darwin host 2016-04-28 18:12:08 +01:00
tcp_input.c wxx: Fix broken TCP networking (regression) 2016-04-15 19:35:17 +02:00
tcp_output.c
tcp_subr.c slirp: fix guest network access with darwin host 2016-04-28 18:12:08 +01:00
tcp_timer.c
tcp_timer.h
tcp_var.h
tcp.h
tcpip.h
tftp.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
tftp.h slirp: Add IPv6 support to the TFTP code 2016-03-15 17:05:34 +01:00
udp6.c slirp: send icmp6 errors when UDP send failed 2016-03-22 22:52:09 +01:00
udp.c slirp: Add IPv6 support to the TFTP code 2016-03-15 17:05:34 +01:00
udp.h