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
..
2016-04-01 17:51:55 +02:00
2016-03-15 10:35:04 +01:00
2016-03-15 10:35:22 +01:00
2016-03-15 10:35:02 +01:00
2016-04-01 17:51:55 +02:00
2016-04-01 17:51:55 +02:00
2016-03-15 10:35:08 +01:00
2016-03-15 10:35:19 +01:00
2016-03-15 10:35:19 +01:00
2016-03-15 17:05:34 +01:00
2016-03-15 10:35:08 +01:00