diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-02-12 17:25:21 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-03-07 12:46:31 +0100 |
commit | c2d63650d962612cfa1b21302782d4cd12142c74 (patch) | |
tree | 13f97c3ecbf6a6588f579e9f7c2ab9cb5f3ce5ec | |
parent | 5a4af0d4ee6084fdfde0125c45181fa0e6f48a17 (diff) | |
download | qemu-c2d63650d962612cfa1b21302782d4cd12142c74.zip qemu-c2d63650d962612cfa1b21302782d4cd12142c74.tar.gz qemu-c2d63650d962612cfa1b21302782d4cd12142c74.tar.bz2 |
slirp: move sources to src/ subdirectory
Prepare for making slirp/ a standalone project.
Remove some useless includes while at it.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190212162524.31504-5-marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
-rw-r--r-- | net/slirp.c | 2 | ||||
-rw-r--r-- | slirp/Makefile.objs | 60 | ||||
-rw-r--r-- | slirp/src/arp_table.c (renamed from slirp/arp_table.c) | 0 | ||||
-rw-r--r-- | slirp/src/bootp.c (renamed from slirp/bootp.c) | 0 | ||||
-rw-r--r-- | slirp/src/bootp.h (renamed from slirp/bootp.h) | 0 | ||||
-rw-r--r-- | slirp/src/cksum.c (renamed from slirp/cksum.c) | 0 | ||||
-rw-r--r-- | slirp/src/debug.h (renamed from slirp/debug.h) | 0 | ||||
-rw-r--r-- | slirp/src/dhcpv6.c (renamed from slirp/dhcpv6.c) | 0 | ||||
-rw-r--r-- | slirp/src/dhcpv6.h (renamed from slirp/dhcpv6.h) | 0 | ||||
-rw-r--r-- | slirp/src/dnssearch.c (renamed from slirp/dnssearch.c) | 0 | ||||
-rw-r--r-- | slirp/src/if.c (renamed from slirp/if.c) | 0 | ||||
-rw-r--r-- | slirp/src/if.h (renamed from slirp/if.h) | 0 | ||||
-rw-r--r-- | slirp/src/ip.h (renamed from slirp/ip.h) | 0 | ||||
-rw-r--r-- | slirp/src/ip6.h (renamed from slirp/ip6.h) | 0 | ||||
-rw-r--r-- | slirp/src/ip6_icmp.c (renamed from slirp/ip6_icmp.c) | 0 | ||||
-rw-r--r-- | slirp/src/ip6_icmp.h (renamed from slirp/ip6_icmp.h) | 0 | ||||
-rw-r--r-- | slirp/src/ip6_input.c (renamed from slirp/ip6_input.c) | 0 | ||||
-rw-r--r-- | slirp/src/ip6_output.c (renamed from slirp/ip6_output.c) | 0 | ||||
-rw-r--r-- | slirp/src/ip_icmp.c (renamed from slirp/ip_icmp.c) | 0 | ||||
-rw-r--r-- | slirp/src/ip_icmp.h (renamed from slirp/ip_icmp.h) | 0 | ||||
-rw-r--r-- | slirp/src/ip_input.c (renamed from slirp/ip_input.c) | 0 | ||||
-rw-r--r-- | slirp/src/ip_output.c (renamed from slirp/ip_output.c) | 0 | ||||
-rw-r--r-- | slirp/src/libslirp.h (renamed from slirp/libslirp.h) | 0 | ||||
-rw-r--r-- | slirp/src/main.h (renamed from slirp/main.h) | 0 | ||||
-rw-r--r-- | slirp/src/mbuf.c (renamed from slirp/mbuf.c) | 0 | ||||
-rw-r--r-- | slirp/src/mbuf.h (renamed from slirp/mbuf.h) | 0 | ||||
-rw-r--r-- | slirp/src/misc.c (renamed from slirp/misc.c) | 0 | ||||
-rw-r--r-- | slirp/src/misc.h (renamed from slirp/misc.h) | 0 | ||||
-rw-r--r-- | slirp/src/ncsi-pkt.h (renamed from slirp/ncsi-pkt.h) | 0 | ||||
-rw-r--r-- | slirp/src/ncsi.c (renamed from slirp/ncsi.c) | 0 | ||||
-rw-r--r-- | slirp/src/ndp_table.c (renamed from slirp/ndp_table.c) | 0 | ||||
-rw-r--r-- | slirp/src/qtailq.h (renamed from slirp/qtailq.h) | 0 | ||||
-rw-r--r-- | slirp/src/sbuf.c (renamed from slirp/sbuf.c) | 0 | ||||
-rw-r--r-- | slirp/src/sbuf.h (renamed from slirp/sbuf.h) | 0 | ||||
-rw-r--r-- | slirp/src/slirp.c (renamed from slirp/slirp.c) | 0 | ||||
-rw-r--r-- | slirp/src/slirp.h (renamed from slirp/slirp.h) | 0 | ||||
-rw-r--r-- | slirp/src/socket.c (renamed from slirp/socket.c) | 0 | ||||
-rw-r--r-- | slirp/src/socket.h (renamed from slirp/socket.h) | 0 | ||||
-rw-r--r-- | slirp/src/state.c (renamed from slirp/state.c) | 0 | ||||
-rw-r--r-- | slirp/src/state.h (renamed from slirp/state.h) | 0 | ||||
-rw-r--r-- | slirp/src/stream.c (renamed from slirp/stream.c) | 0 | ||||
-rw-r--r-- | slirp/src/stream.h (renamed from slirp/stream.h) | 0 | ||||
-rw-r--r-- | slirp/src/tcp.h (renamed from slirp/tcp.h) | 0 | ||||
-rw-r--r-- | slirp/src/tcp_input.c (renamed from slirp/tcp_input.c) | 0 | ||||
-rw-r--r-- | slirp/src/tcp_output.c (renamed from slirp/tcp_output.c) | 0 | ||||
-rw-r--r-- | slirp/src/tcp_subr.c (renamed from slirp/tcp_subr.c) | 0 | ||||
-rw-r--r-- | slirp/src/tcp_timer.c (renamed from slirp/tcp_timer.c) | 0 | ||||
-rw-r--r-- | slirp/src/tcp_timer.h (renamed from slirp/tcp_timer.h) | 0 | ||||
-rw-r--r-- | slirp/src/tcp_var.h (renamed from slirp/tcp_var.h) | 0 | ||||
-rw-r--r-- | slirp/src/tcpip.h (renamed from slirp/tcpip.h) | 0 | ||||
-rw-r--r-- | slirp/src/tftp.c (renamed from slirp/tftp.c) | 0 | ||||
-rw-r--r-- | slirp/src/tftp.h (renamed from slirp/tftp.h) | 0 | ||||
-rw-r--r-- | slirp/src/udp.c (renamed from slirp/udp.c) | 0 | ||||
-rw-r--r-- | slirp/src/udp.h (renamed from slirp/udp.h) | 0 | ||||
-rw-r--r-- | slirp/src/udp6.c (renamed from slirp/udp6.c) | 0 | ||||
-rw-r--r-- | slirp/src/util.c (renamed from slirp/util.c) | 0 | ||||
-rw-r--r-- | slirp/src/util.h (renamed from slirp/util.h) | 0 | ||||
-rw-r--r-- | slirp/src/vmstate.c (renamed from slirp/vmstate.c) | 0 | ||||
-rw-r--r-- | slirp/src/vmstate.h (renamed from slirp/vmstate.h) | 0 | ||||
-rw-r--r-- | util/main-loop.c | 2 | ||||
-rw-r--r-- | vl.c | 3 |
61 files changed, 31 insertions, 36 deletions
diff --git a/net/slirp.c b/net/slirp.c index 059b2d9..d2f2138 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -37,7 +37,7 @@ #include "monitor/monitor.h" #include "qemu/error-report.h" #include "qemu/sockets.h" -#include "slirp/libslirp.h" +#include "slirp/src/libslirp.h" #include "chardev/char-fe.h" #include "sysemu/sysemu.h" #include "qemu/cutils.h" diff --git a/slirp/Makefile.objs b/slirp/Makefile.objs index e91daf0..0250229 100644 --- a/slirp/Makefile.objs +++ b/slirp/Makefile.objs @@ -1,36 +1,36 @@ slirp-obj-y = slirp.mo slirp.mo-objs = \ - arp_table.o \ - bootp.o \ - cksum.o \ - dhcpv6.o \ - dnssearch.o \ - if.o \ - ip6_icmp.o \ - ip6_input.o \ - ip6_output.o \ - ip_icmp.o \ - ip_input.o \ - ip_output.o \ - mbuf.o \ - misc.o \ - ncsi.o \ - ndp_table.o \ - sbuf.o \ - slirp.o \ - socket.o \ - state.o \ - stream.o \ - tcp_input.o \ - tcp_output.o \ - tcp_subr.o \ - tcp_timer.o \ - tftp.o \ - udp.o \ - udp6.o \ - util.o \ - vmstate.o \ + src/arp_table.o \ + src/bootp.o \ + src/cksum.o \ + src/dhcpv6.o \ + src/dnssearch.o \ + src/if.o \ + src/ip6_icmp.o \ + src/ip6_input.o \ + src/ip6_output.o \ + src/ip_icmp.o \ + src/ip_input.o \ + src/ip_output.o \ + src/mbuf.o \ + src/misc.o \ + src/ncsi.o \ + src/ndp_table.o \ + src/sbuf.o \ + src/slirp.o \ + src/socket.o \ + src/state.o \ + src/stream.o \ + src/tcp_input.o \ + src/tcp_output.o \ + src/tcp_subr.o \ + src/tcp_timer.o \ + src/tftp.o \ + src/udp.o \ + src/udp6.o \ + src/util.o \ + src/vmstate.o \ $(NULL) slirp.mo-cflags = -DG_LOG_DOMAIN=\"Slirp\" diff --git a/slirp/arp_table.c b/slirp/src/arp_table.c index 58eafdc..58eafdc 100644 --- a/slirp/arp_table.c +++ b/slirp/src/arp_table.c diff --git a/slirp/bootp.c b/slirp/src/bootp.c index d396849..d396849 100644 --- a/slirp/bootp.c +++ b/slirp/src/bootp.c diff --git a/slirp/bootp.h b/slirp/src/bootp.h index 4043489..4043489 100644 --- a/slirp/bootp.h +++ b/slirp/src/bootp.h diff --git a/slirp/cksum.c b/slirp/src/cksum.c index 25bfa67..25bfa67 100644 --- a/slirp/cksum.c +++ b/slirp/src/cksum.c diff --git a/slirp/debug.h b/slirp/src/debug.h index 44d922d..44d922d 100644 --- a/slirp/debug.h +++ b/slirp/src/debug.h diff --git a/slirp/dhcpv6.c b/slirp/src/dhcpv6.c index e655c7d..e655c7d 100644 --- a/slirp/dhcpv6.c +++ b/slirp/src/dhcpv6.c diff --git a/slirp/dhcpv6.h b/slirp/src/dhcpv6.h index 3373f6c..3373f6c 100644 --- a/slirp/dhcpv6.h +++ b/slirp/src/dhcpv6.h diff --git a/slirp/dnssearch.c b/slirp/src/dnssearch.c index c459cec..c459cec 100644 --- a/slirp/dnssearch.c +++ b/slirp/src/dnssearch.c diff --git a/slirp/if.c b/slirp/src/if.c index 1830cc3..1830cc3 100644 --- a/slirp/if.c +++ b/slirp/src/if.c diff --git a/slirp/if.h b/slirp/src/if.h index 69569c1..69569c1 100644 --- a/slirp/if.h +++ b/slirp/src/if.h diff --git a/slirp/ip.h b/slirp/src/ip.h index 73a4d2a..73a4d2a 100644 --- a/slirp/ip.h +++ b/slirp/src/ip.h diff --git a/slirp/ip6.h b/slirp/src/ip6.h index 1b3364f..1b3364f 100644 --- a/slirp/ip6.h +++ b/slirp/src/ip6.h diff --git a/slirp/ip6_icmp.c b/slirp/src/ip6_icmp.c index c1e3d30..c1e3d30 100644 --- a/slirp/ip6_icmp.c +++ b/slirp/src/ip6_icmp.c diff --git a/slirp/ip6_icmp.h b/slirp/src/ip6_icmp.h index e8ed753..e8ed753 100644 --- a/slirp/ip6_icmp.h +++ b/slirp/src/ip6_icmp.h diff --git a/slirp/ip6_input.c b/slirp/src/ip6_input.c index 1b8c003..1b8c003 100644 --- a/slirp/ip6_input.c +++ b/slirp/src/ip6_input.c diff --git a/slirp/ip6_output.c b/slirp/src/ip6_output.c index 19d1ae7..19d1ae7 100644 --- a/slirp/ip6_output.c +++ b/slirp/src/ip6_output.c diff --git a/slirp/ip_icmp.c b/slirp/src/ip_icmp.c index 120108f..120108f 100644 --- a/slirp/ip_icmp.c +++ b/slirp/src/ip_icmp.c diff --git a/slirp/ip_icmp.h b/slirp/src/ip_icmp.h index a4e5b8b..a4e5b8b 100644 --- a/slirp/ip_icmp.h +++ b/slirp/src/ip_icmp.h diff --git a/slirp/ip_input.c b/slirp/src/ip_input.c index e0b94b0..e0b94b0 100644 --- a/slirp/ip_input.c +++ b/slirp/src/ip_input.c diff --git a/slirp/ip_output.c b/slirp/src/ip_output.c index f6ec141..f6ec141 100644 --- a/slirp/ip_output.c +++ b/slirp/src/ip_output.c diff --git a/slirp/libslirp.h b/slirp/src/libslirp.h index 2d13950..2d13950 100644 --- a/slirp/libslirp.h +++ b/slirp/src/libslirp.h diff --git a/slirp/main.h b/slirp/src/main.h index f11d457..f11d457 100644 --- a/slirp/main.h +++ b/slirp/src/main.h diff --git a/slirp/mbuf.c b/slirp/src/mbuf.c index 521c02c..521c02c 100644 --- a/slirp/mbuf.c +++ b/slirp/src/mbuf.c diff --git a/slirp/mbuf.h b/slirp/src/mbuf.h index e2d4434..e2d4434 100644 --- a/slirp/mbuf.h +++ b/slirp/src/mbuf.h diff --git a/slirp/misc.c b/slirp/src/misc.c index 937a418..937a418 100644 --- a/slirp/misc.c +++ b/slirp/src/misc.c diff --git a/slirp/misc.h b/slirp/src/misc.h index c2ceadb..c2ceadb 100644 --- a/slirp/misc.h +++ b/slirp/src/misc.h diff --git a/slirp/ncsi-pkt.h b/slirp/src/ncsi-pkt.h index ea07d1c..ea07d1c 100644 --- a/slirp/ncsi-pkt.h +++ b/slirp/src/ncsi-pkt.h diff --git a/slirp/ncsi.c b/slirp/src/ncsi.c index 359f52c..359f52c 100644 --- a/slirp/ncsi.c +++ b/slirp/src/ncsi.c diff --git a/slirp/ndp_table.c b/slirp/src/ndp_table.c index 34ea4fd..34ea4fd 100644 --- a/slirp/ndp_table.c +++ b/slirp/src/ndp_table.c diff --git a/slirp/qtailq.h b/slirp/src/qtailq.h index a89b0c4..a89b0c4 100644 --- a/slirp/qtailq.h +++ b/slirp/src/qtailq.h diff --git a/slirp/sbuf.c b/slirp/src/sbuf.c index 51a9f0c..51a9f0c 100644 --- a/slirp/sbuf.c +++ b/slirp/src/sbuf.c diff --git a/slirp/sbuf.h b/slirp/src/sbuf.h index 1cb9a42..1cb9a42 100644 --- a/slirp/sbuf.h +++ b/slirp/src/sbuf.h diff --git a/slirp/slirp.c b/slirp/src/slirp.c index 18af670..18af670 100644 --- a/slirp/slirp.c +++ b/slirp/src/slirp.c diff --git a/slirp/slirp.h b/slirp/src/slirp.h index 8068ba1..8068ba1 100644 --- a/slirp/slirp.h +++ b/slirp/src/slirp.h diff --git a/slirp/socket.c b/slirp/src/socket.c index f2428a3..f2428a3 100644 --- a/slirp/socket.c +++ b/slirp/src/socket.c diff --git a/slirp/socket.h b/slirp/src/socket.h index e4d12cd..e4d12cd 100644 --- a/slirp/socket.h +++ b/slirp/src/socket.h diff --git a/slirp/state.c b/slirp/src/state.c index f5dd80c..f5dd80c 100644 --- a/slirp/state.c +++ b/slirp/src/state.c diff --git a/slirp/state.h b/slirp/src/state.h index e69de29..e69de29 100644 --- a/slirp/state.h +++ b/slirp/src/state.h diff --git a/slirp/stream.c b/slirp/src/stream.c index d114dde..d114dde 100644 --- a/slirp/stream.c +++ b/slirp/src/stream.c diff --git a/slirp/stream.h b/slirp/src/stream.h index 985334c..985334c 100644 --- a/slirp/stream.h +++ b/slirp/src/stream.h diff --git a/slirp/tcp.h b/slirp/src/tcp.h index 47aaea6..47aaea6 100644 --- a/slirp/tcp.h +++ b/slirp/src/tcp.h diff --git a/slirp/tcp_input.c b/slirp/src/tcp_input.c index b10477f..b10477f 100644 --- a/slirp/tcp_input.c +++ b/slirp/src/tcp_input.c diff --git a/slirp/tcp_output.c b/slirp/src/tcp_output.c index e9674df..e9674df 100644 --- a/slirp/tcp_output.c +++ b/slirp/src/tcp_output.c diff --git a/slirp/tcp_subr.c b/slirp/src/tcp_subr.c index 1db59ca..1db59ca 100644 --- a/slirp/tcp_subr.c +++ b/slirp/src/tcp_subr.c diff --git a/slirp/tcp_timer.c b/slirp/src/tcp_timer.c index 7be5457..7be5457 100644 --- a/slirp/tcp_timer.c +++ b/slirp/src/tcp_timer.c diff --git a/slirp/tcp_timer.h b/slirp/src/tcp_timer.h index b25b391..b25b391 100644 --- a/slirp/tcp_timer.h +++ b/slirp/src/tcp_timer.h diff --git a/slirp/tcp_var.h b/slirp/src/tcp_var.h index 27ef1a5..27ef1a5 100644 --- a/slirp/tcp_var.h +++ b/slirp/src/tcp_var.h diff --git a/slirp/tcpip.h b/slirp/src/tcpip.h index 07dbf2c..07dbf2c 100644 --- a/slirp/tcpip.h +++ b/slirp/src/tcpip.h diff --git a/slirp/tftp.c b/slirp/src/tftp.c index 2d8f978..2d8f978 100644 --- a/slirp/tftp.c +++ b/slirp/src/tftp.c diff --git a/slirp/tftp.h b/slirp/src/tftp.h index a4c4a64..a4c4a64 100644 --- a/slirp/tftp.h +++ b/slirp/src/tftp.h diff --git a/slirp/udp.c b/slirp/src/udp.c index fa9f4a0..fa9f4a0 100644 --- a/slirp/udp.c +++ b/slirp/src/udp.c diff --git a/slirp/udp.h b/slirp/src/udp.h index 3d29504..3d29504 100644 --- a/slirp/udp.h +++ b/slirp/src/udp.h diff --git a/slirp/udp6.c b/slirp/src/udp6.c index be5cba1..be5cba1 100644 --- a/slirp/udp6.c +++ b/slirp/src/udp6.c diff --git a/slirp/util.c b/slirp/src/util.c index 5ec2fa8..5ec2fa8 100644 --- a/slirp/util.c +++ b/slirp/src/util.c diff --git a/slirp/util.h b/slirp/src/util.h index e94ee4e..e94ee4e 100644 --- a/slirp/util.h +++ b/slirp/src/util.h diff --git a/slirp/vmstate.c b/slirp/src/vmstate.c index 4d08b47..4d08b47 100644 --- a/slirp/vmstate.c +++ b/slirp/src/vmstate.c diff --git a/slirp/vmstate.h b/slirp/src/vmstate.h index cfa7b8c..cfa7b8c 100644 --- a/slirp/vmstate.h +++ b/slirp/src/vmstate.h diff --git a/util/main-loop.c b/util/main-loop.c index d4a521c..e1e349c 100644 --- a/util/main-loop.c +++ b/util/main-loop.c @@ -26,11 +26,9 @@ #include "qapi/error.h" #include "qemu/cutils.h" #include "qemu/timer.h" -#include "qemu/sockets.h" // struct in_addr needed for libslirp.h #include "sysemu/qtest.h" #include "sysemu/cpus.h" #include "sysemu/replay.h" -#include "slirp/libslirp.h" #include "qemu/main-loop.h" #include "block/aio.h" #include "qemu/error-report.h" @@ -106,9 +106,6 @@ int main(int argc, char **argv) #include "disas/disas.h" - -#include "slirp/libslirp.h" - #include "trace-root.h" #include "trace/control.h" #include "qemu/queue.h" |