xemu/slirp
Jan Kiszka b8e8af38ee slirp: Reorder initialization
This patch reorders the initialization of slirp itself as well as its
associated features smb and redirection. So far the first reference to
slirp triggered the initialization, independent of the actual -net user
option which may carry additional parameters. Now we save any request to
add a smb export or some redirections until the actual initialization of
the stack. This also allows to move a few parameters that were passed
via global variable into the argument list of net_slirp_init.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
2009-06-09 11:38:49 +01:00
..
bootp.c slirp: Reassign same address to same DHCP client 2009-05-22 10:50:34 -05:00
bootp.h slirp: Handle DHCP requests for specific IP (Jan Kiszka) 2009-04-21 19:56:20 +00:00
cksum.c Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
COPYRIGHT Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
ctl.h initial user mode network support 2004-04-22 00:10:48 +00:00
debug.c Fix some warnings that would be generated by gcc -Wredundant-decls 2008-08-30 09:51:20 +00:00
debug.h Remove unnecessary trailing newlines 2008-12-13 09:32:43 +00:00
icmp_var.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
if.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
if.h Add const etc. to places forgotten from the previous commit 2007-10-26 19:34:46 +00:00
ip_icmp.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
ip_icmp.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
ip_input.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
ip_output.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
ip.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
libslirp.h slirp: Reorder initialization 2009-06-09 11:38:49 +01:00
main.h Fix some SLIRP warnings 2009-01-12 17:51:06 +00:00
mbuf.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
mbuf.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
misc.c Fix some win32 compile warnings 2009-04-05 18:03:31 +00:00
misc.h Fix inline use warnings from sparse 2008-10-26 15:26:09 +00:00
sbuf.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
sbuf.h Use const and static as needed, disable unused code 2007-10-26 19:01:16 +00:00
slirp_config.h Fix some warnings that would be generated by gcc -Wredundant-decls 2008-08-30 09:51:20 +00:00
slirp.c slirp: Reorder initialization 2009-06-09 11:38:49 +01:00
slirp.h Fix windows build and clean up use of <windows.h> 2009-03-08 16:26:59 +00:00
socket.c Delete some unused macros detected with -Wp,-Wunused-macros use 2009-03-16 16:33:01 +00:00
socket.h Fix some win32 compile warnings 2009-04-05 18:03:31 +00:00
tcp_input.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
tcp_output.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
tcp_subr.c Delete some unused macros detected with -Wp,-Wunused-macros use 2009-03-16 16:33:01 +00:00
tcp_timer.c Use ANSI prototypes to please sparse 2009-04-18 07:32:41 +00:00
tcp_timer.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
tcp_var.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
tcp.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
tcpip.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00
tftp.c Suppress gcc 4.x -Wpointer-sign (included in -Wall) warnings 2008-09-20 08:07:15 +00:00
tftp.h find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
udp.c Use ANSI prototypes to please sparse 2009-04-18 07:32:41 +00:00
udp.h Remove the advertising clause from the slirp license 2009-01-26 19:37:41 +00:00