qemu-e2k/slirp
Marc-André Lureau 44b4ff2488 slirp: generalize guestfwd with a callback based approach
Instead of calling into QEMU chardev directly, and mixing it with
slirp_add_exec() handling, add a new function slirp_add_guestfwd()
which takes a write callback.

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: Mark debugging calls as unlikely 2019-01-14 23:36:38 +01:00
dhcpv6.c slirp: call into g_debug() for DEBUG macros 2019-01-14 23:36:38 +01:00
dhcpv6.h
dnssearch.c
if.c slirp: add clock_get_ns() callback 2019-01-14 00:44:29 +01:00
if.h
ip6_icmp.c slirp: add clock_get_ns() callback 2019-01-14 00:44:29 +01:00
ip6_icmp.h slirp: Avoid marking naturally packed structs as QEMU_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: call into g_debug() for DEBUG macros 2019-01-14 23:36:38 +01:00
ip_icmp.h
ip_input.c slirp: remove #if notdef dead code 2019-01-14 00:44:10 +01:00
ip_output.c
ip.h slirp: Don't mark struct ipq or struct ipasfrag as packed 2019-02-07 15:49:08 +02:00
libslirp.h slirp: generalize guestfwd with a callback based approach 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: set G_LOG_DOMAIN 2019-01-14 23:36:38 +01: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: generalize guestfwd with a callback based approach 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
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
sbuf.h slirp: remove unused sbflush() 2019-01-14 00:44:10 +01:00
slirp.c slirp: generalize guestfwd with a callback based approach 2019-02-07 15:49:08 +02:00
slirp.h slirp: rename exec_list 2019-01-14 00:44:29 +01:00
socket.c slirp: call into g_debug() for DEBUG macros 2019-01-14 23:36:38 +01:00
socket.h slirp: generalize guestfwd with a callback based approach 2019-02-07 15:49:08 +02:00
tcp_input.c slirp: call into g_debug() for DEBUG macros 2019-01-14 23:36:38 +01:00
tcp_output.c slirp: call into g_debug() for DEBUG macros 2019-01-14 23:36:38 +01:00
tcp_subr.c slirp: generalize guestfwd with a callback based approach 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
tcp_var.h
tcp.h slirp: replace HOST_WORDS_BIGENDIAN with glib equivalent 2019-01-14 00:40:54 +01:00
tcpip.h
tftp.c slirp: replace ARRAY_SIZE with G_N_ELEMENTS 2019-01-14 00:44:29 +01:00
tftp.h
trace-events slirp: add tftp tracing 2019-01-14 00:40:54 +01:00
udp6.c slirp: call into g_debug() for DEBUG macros 2019-01-14 23:36:38 +01:00
udp.c slirp: call into g_debug() for DEBUG macros 2019-01-14 23:36:38 +01:00
udp.h