diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-31 19:10:00 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-31 19:10:00 +0000 |
commit | 63a01ef83ad1135355dfca1e6b8da9404fc5fa5b (patch) | |
tree | 4d09382c22920f19620729427dcbae2d4f8ae225 /net.h | |
parent | 6f97dba008ec434b742764596d9e28df673cf6c2 (diff) |
Move network redirection code out of vl.c and into net.c
Mostly code motion.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5581 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -69,4 +69,13 @@ uint16_t net_checksum_tcpudp(uint16_t length, uint16_t proto, uint8_t *addrs, uint8_t *buf); void net_checksum_calculate(uint8_t *data, int length); +/* from net.c */ +int net_client_init(const char *device, const char *p); +int net_client_parse(const char *str); +void net_slirp_smb(const char *exported_dir); +void net_slirp_redir(const char *redir_str); +void net_cleanup(void); +int slirp_is_inited(void); +void net_client_check(void); + #endif |