qemu-e2k/slirp
Marc-André Lureau 4d43a603c7 char: move CharBackend handling in char-fe unit
Move all the frontend struct and methods to a seperate unit. This avoids
accidentally mixing backend and frontend calls, and helps with readabilty.

Make qemu_chr_replay() a macro shared by both char and char-fe.

Export qemu_chr_write(), and use a macro for qemu_chr_write_all()

(nb: yes, CharBackend is for char frontend :)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
2017-06-02 11:33:53 +04:00
..
arp_table.c
bootp.c
bootp.h
cksum.c
COPYRIGHT
debug.h
dhcpv6.c
dhcpv6.h
dnssearch.c
if.c
if.h
ip6_icmp.c
ip6_icmp.h
ip6_input.c
ip6_output.c
ip6.h
ip_icmp.c slirp: fix pinging the virtual ipv4 DNS server 2017-04-29 18:29:58 +02:00
ip_icmp.h
ip_input.c
ip_output.c
ip.h
libslirp.h
main.h
Makefile.objs slirp: add a fake NC-SI backend 2017-04-25 19:17:25 +08:00
mbuf.c
mbuf.h
misc.c
misc.h
ncsi-pkt.h slirp: add a fake NC-SI backend 2017-04-25 19:17:25 +08:00
ncsi.c slirp: add a fake NC-SI backend 2017-04-25 19:17:25 +08:00
ndp_table.c
sbuf.c
sbuf.h slirp: VMStatify sbuf 2017-04-29 18:44:16 +02:00
slirp_config.h
slirp.c char: move CharBackend handling in char-fe unit 2017-06-02 11:33:53 +04:00
slirp.h slirp: add a fake NC-SI backend 2017-04-25 19:17:25 +08:00
socket.c slirp: fix leak 2017-05-27 23:34:47 +02:00
socket.h slirp: VMStatify socket level 2017-04-29 18:44:16 +02:00
tcp_input.c slirp: Fix wrong mss bug. 2017-05-27 23:34:47 +02:00
tcp_output.c
tcp_subr.c Fix total IP header length in forwarded TCP packets 2017-05-27 23:35:00 +02:00
tcp_timer.c
tcp_timer.h
tcp_var.h slirp: VMState conversion; tcpcb 2017-04-29 18:44:16 +02:00
tcp.h
tcpip.h
tftp.c slirp: tftp, copy sockaddr_size 2017-04-29 18:29:58 +02:00
tftp.h
udp6.c
udp.c
udp.h