qemu/slirp
Marc-André Lureau adf1add292 slirp: wrap the remaining socket functions
QEMU wraps the socket functions in os-win32.h, but in commit
a9d8b3ec43, the header inclusion was dropped,
breaking libslirp on Windows.

Wrap the missing functions.

Rename the wrapped function with "slirp_" prefix and "_wrap" suffix,
for consistency and to avoid a clash with existing function (such as
"slirp_socket").

Fixes: a9d8b3ec ("slirp: replace remaining qemu headers dependency")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190212160953.29051-3-marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Tested-by: Howard Spoelstra
2019-02-12 20:49:13 +01:00
..
COPYRIGHT Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
Makefile.objs slirp: move QEMU state saving to a separate unit 2019-02-07 15:49:08 +02:00
arp_table.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
bootp.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
bootp.h slirp: Implement RFC2132 TFTP server name 2018-10-21 21:24:55 +02:00
cksum.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
debug.h slirp: replace trace functions with DEBUG calls 2019-02-07 15:49:08 +02:00
dhcpv6.c slirp: pass opaque to all callbacks 2019-02-07 15:49:08 +02:00
dhcpv6.h slirp: add in6_dhcp_multicast() 2018-01-14 18:16:13 +01:00
dnssearch.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
if.c slirp: pass opaque to all callbacks 2019-02-07 15:49:08 +02:00
if.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
ip.h slirp: replace QEMU_BUILD_BUG_ON with G_STATIC_ASSERT 2019-02-07 15:49:08 +02:00
ip6.h slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
ip6_icmp.c slirp: pass opaque to all callbacks 2019-02-07 15:49:08 +02:00
ip6_icmp.h slirp: replace QEMU_BUILD_BUG_ON with G_STATIC_ASSERT 2019-02-07 15:49:08 +02:00
ip6_input.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
ip6_output.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
ip_icmp.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
ip_icmp.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
ip_input.c slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
ip_output.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
libslirp.h slirp: API is extern C 2019-02-07 15:49:08 +02:00
main.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
mbuf.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
mbuf.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
misc.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
misc.h slirp: generalize guestfwd with a callback based approach 2019-02-07 15:49:08 +02:00
ncsi-pkt.h slirp: add a fake NC-SI backend 2017-04-25 19:17:25 +08:00
ncsi.c slirp: improve send_packet() callback 2019-02-07 15:49:08 +02:00
ndp_table.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
qtailq.h slirp: replace qemu qtailq with slirp own copy 2019-02-07 15:49:08 +02:00
sbuf.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
sbuf.h slirp: replace qemu_notify_event() with a callback 2019-02-07 15:49:08 +02:00
slirp.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
slirp.h slirp: improve send_packet() callback 2019-02-07 15:49:08 +02:00
socket.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
socket.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
state.c slirp: move QEMU state saving to a separate unit 2019-02-07 15:49:08 +02:00
state.h slirp: move QEMU state saving to a separate unit 2019-02-07 15:49:08 +02:00
tcp.h slirp: replace HOST_WORDS_BIGENDIAN with glib equivalent 2019-01-14 00:40:54 +01:00
tcp_input.c slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
tcp_output.c slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
tcp_subr.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
tcp_timer.c slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
tcp_timer.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
tcp_var.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
tcpip.h slirp, disas: Replace min/max with MIN/MAX macros 2016-12-20 23:55:19 +01:00
tftp.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
tftp.h slirp: support dynamic block size for TFTP transfers 2016-12-21 00:02:15 +01:00
udp.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
udp.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
udp6.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
util.c slirp: wrap the remaining socket functions 2019-02-12 20:49:13 +01:00
util.h slirp: wrap the remaining socket functions 2019-02-12 20:49:13 +01:00