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
..
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
cksum.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
COPYRIGHT
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
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
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
ip6.h 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
ip.h slirp: replace QEMU_BUILD_BUG_ON with G_STATIC_ASSERT 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
Makefile.objs slirp: move QEMU state saving to a separate unit 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
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_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
tcp_var.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
tcp.h
tcpip.h
tftp.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
tftp.h
udp6.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02: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
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