Revision 376253ec net.h
b/net.h | ||
---|---|---|
53 | 53 |
const char *default_model); |
54 | 54 |
void qemu_handler_true(void *opaque); |
55 | 55 |
|
56 |
void do_info_network(void);
|
|
57 |
int do_set_link(const char *name, const char *up_or_down); |
|
56 |
void do_info_network(Monitor *mon);
|
|
57 |
int do_set_link(Monitor *mon, const char *name, const char *up_or_down);
|
|
58 | 58 |
|
59 | 59 |
/* NIC info */ |
60 | 60 |
|
... | ... | |
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 |
void net_host_device_add(Monitor *mon, const char *device, const char *opts);
|
|
106 |
void net_host_device_remove(Monitor *mon, int vlan_id, const char *device);
|
|
107 | 107 |
|
108 | 108 |
#define DEFAULT_NETWORK_SCRIPT "/etc/qemu-ifup" |
109 | 109 |
#define DEFAULT_NETWORK_DOWN_SCRIPT "/etc/qemu-ifdown" |
Also available in: Unified diff