qemu-e2k/slirp
Marc-André Lureau b92a1ff497 slirp: adapt a subset of QEMU vmstate code
Add vmstate serialization code adapted from QEMU.

Keep only the bits that are required for libslirp.

Introduce a IStream/OStream interface to replace QEMU QFile
abstraction.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190212162524.31504-2-marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2019-03-07 12:46:28 +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 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
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 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
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: adapt a subset of QEMU vmstate code 2019-03-07 12:46:28 +01:00
main.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
Makefile.objs slirp: adapt a subset of QEMU vmstate code 2019-03-07 12:46:28 +01: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: Mark pieces missing IPv6 support 2019-03-06 23:36:22 +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: Mark pieces missing IPv6 support 2019-03-06 23:36:22 +01:00
slirp.h slirp: Fix build with gcc 9 2019-03-06 23:20:35 +01:00
socket.c slirp: Mark pieces missing IPv6 support 2019-03-06 23:36:22 +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
stream.c slirp: adapt a subset of QEMU vmstate code 2019-03-07 12:46:28 +01:00
stream.h slirp: adapt a subset of QEMU vmstate code 2019-03-07 12:46:28 +01:00
tcp_input.c slirp: Mark pieces missing IPv6 support 2019-03-06 23:36:22 +01:00
tcp_output.c slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
tcp_subr.c slirp: Mark pieces missing IPv6 support 2019-03-06 23:36:22 +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
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 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
udp6.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
udp.c slirp: Mark pieces missing IPv6 support 2019-03-06 23:36:22 +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
vmstate.c slirp: adapt a subset of QEMU vmstate code 2019-03-07 12:46:28 +01:00
vmstate.h slirp: adapt a subset of QEMU vmstate code 2019-03-07 12:46:28 +01:00