From ad196a9d0c14f681f010bb4b979030ec125ba976 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Wed, 24 Jun 2009 14:42:28 +0200 Subject: slirp: Move smb, redir, tftp and bootp parameters and -net channel So far a couple of slirp-related parameters were expressed via stand-alone command line options. This it inconsistent and unintuitive. Moreover, it prevents both dynamically reconfigured (host_net_add/ delete) and multi-instance slirp. This patch refactors the configuration by turning -smb, -redir, -tftp and -bootp as well as -net channel into options of "-net user". The old stand-alone command line options are still processed, but no longer advertised. This allows smooth migration of management applications to to the new syntax and also the extension of that syntax later in this series. Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori --- net.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net.h') diff --git a/net.h b/net.h index 6ba3624..01f3450 100644 --- a/net.h +++ b/net.h @@ -125,6 +125,9 @@ uint16_t net_checksum_tcpudp(uint16_t length, uint16_t proto, void net_checksum_calculate(uint8_t *data, int length); /* from net.c */ +extern const char *legacy_tftp_prefix; +extern const char *legacy_bootp_filename; + int net_client_init(Monitor *mon, const char *device, const char *p); void net_client_uninit(NICInfo *nd); int net_client_parse(const char *str); -- cgit v1.1