mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
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
This commit is contained in:
parent
6f97dba008
commit
63a01ef83a
5 changed files with 1632 additions and 1462 deletions
9
net.h
9
net.h
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue