Revision 6f338c34 net.h
b/net.h | ||
---|---|---|
102 | 102 |
void net_cleanup(void); |
103 | 103 |
int slirp_is_inited(void); |
104 | 104 |
void net_client_check(void); |
105 |
void net_host_device_add(const char *device, const char *opts); |
|
106 |
void net_host_device_remove(int vlan_id, const char *device); |
|
105 | 107 |
|
106 | 108 |
#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" |
107 | 109 |
#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" |
Also available in: Unified diff