qemu-e2k/slirp
Marc-André Lureau c21d959440 slirp: replace qemu_notify_event() with a callback
Introduce a SlirpCb callback to kick the main io-thread.

Add an intermediary sodrop() function that will call SlirpCb.notify
callback when sbdrop() returns true.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2019-02-07 15:49:08 +02:00
..
arp_table.c slirp: replace DEBUG_ARGS with DEBUG_ARG 2019-01-14 00:44:29 +01:00
bootp.c slirp: no need to make DPRINTF conditional on DEBUG 2019-01-14 00:44:29 +01:00
bootp.h slirp: Implement RFC2132 TFTP server name 2018-10-21 21:24:55 +02:00
cksum.c slirp: call into g_debug() for DEBUG macros 2019-01-14 23:36:38 +01:00
COPYRIGHT
debug.h slirp: replace trace functions with DEBUG calls 2019-02-07 15:49:08 +02:00
dhcpv6.c slirp: call into g_debug() for DEBUG macros 2019-01-14 23:36:38 +01:00
dhcpv6.h slirp: add in6_dhcp_multicast() 2018-01-14 18:16:13 +01:00
dnssearch.c slirp: Use DIV_ROUND_UP 2016-06-07 18:19:25 +03:00
if.c slirp: add clock_get_ns() callback 2019-01-14 00:44:29 +01:00
if.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
ip6_icmp.c slirp: add callbacks for timer 2019-02-07 15:49:08 +02:00
ip6_icmp.h slirp: replace QEMU_PACKED with SLIRP_PACKED 2019-02-07 15:49:08 +02:00
ip6_input.c slirp: use %p for pointers format 2019-01-14 00:44:29 +01:00
ip6_output.c slirp: use %p for pointers format 2019-01-14 00:44:29 +01:00
ip6.h slirp: Avoid marking naturally packed structs as QEMU_PACKED 2019-02-07 15:49:08 +02:00
ip_icmp.c slirp: add unregister_poll_fd() callback 2019-02-07 15:49:08 +02:00
ip_icmp.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
ip_input.c slirp: remove #if notdef dead code 2019-01-14 00:44:10 +01:00
ip_output.c Use #include "..." for our own headers, <...> for others 2016-07-12 16:19:16 +02:00
ip.h slirp: replace QEMU_PACKED with SLIRP_PACKED 2019-02-07 15:49:08 +02:00
libslirp.h slirp: replace qemu_notify_event() with a callback 2019-02-07 15:49:08 +02:00
main.h slirp: remove unused HAVE_SYS_SELECT_H 2019-01-14 00:40:54 +01:00
Makefile.objs slirp: replace most qemu socket utilities with slirp own version 2019-02-07 15:49:08 +02:00
mbuf.c slirp: improve a bit the debug macros 2019-01-14 00:43:30 +01:00
mbuf.h slirp: remove unused M_TRAILINGSPACE 2019-01-14 00:40:54 +01:00
misc.c slirp: replace qemu_set_nonblock() 2019-02-07 15:49:08 +02: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: replace ARRAY_SIZE with G_N_ELEMENTS 2019-01-14 00:44:29 +01:00
ndp_table.c slirp: replace DEBUG_ARGS with DEBUG_ARG 2019-01-14 00:44:29 +01:00
sbuf.c slirp: replace qemu_notify_event() with a callback 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: add unregister_poll_fd() callback 2019-02-07 15:49:08 +02:00
slirp.h slirp: replace QEMU_PACKED with SLIRP_PACKED 2019-02-07 15:49:08 +02:00
socket.c slirp: replace qemu_notify_event() with a callback 2019-02-07 15:49:08 +02:00
socket.h slirp: replace qemu_notify_event() with a callback 2019-02-07 15:49:08 +02:00
tcp_input.c slirp: replace qemu_notify_event() with a callback 2019-02-07 15:49:08 +02:00
tcp_output.c slirp: call into g_debug() for DEBUG macros 2019-01-14 23:36:38 +01:00
tcp_subr.c slirp: add unregister_poll_fd() callback 2019-02-07 15:49:08 +02:00
tcp_timer.c slirp: replace compile time DO_KEEPALIVE 2019-01-14 00:43:30 +01:00
tcp_timer.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
tcp_var.h slirp: VMState conversion; tcpcb 2017-04-29 18:44:16 +02:00
tcp.h slirp: replace HOST_WORDS_BIGENDIAN with glib equivalent 2019-01-14 00:40:54 +01:00
tcpip.h slirp, disas: Replace min/max with MIN/MAX macros 2016-12-20 23:55:19 +01:00
tftp.c slirp: replace trace functions with DEBUG calls 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
udp6.c slirp: call into g_debug() for DEBUG macros 2019-01-14 23:36:38 +01:00
udp.c slirp: add unregister_poll_fd() callback 2019-02-07 15:49:08 +02:00
udp.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
util.c slirp: replace qemu_set_nonblock() 2019-02-07 15:49:08 +02:00
util.h slirp: replace qemu_set_nonblock() 2019-02-07 15:49:08 +02:00