|
@@ -172,9 +172,6 @@ ssize_t qemu_sendv_packet_async(NetClientState *nc, const struct iovec *iov,
|
|
int iovcnt, NetPacketSent *sent_cb);
|
|
int iovcnt, NetPacketSent *sent_cb);
|
|
ssize_t qemu_send_packet(NetClientState *nc, const uint8_t *buf, int size);
|
|
ssize_t qemu_send_packet(NetClientState *nc, const uint8_t *buf, int size);
|
|
ssize_t qemu_receive_packet(NetClientState *nc, const uint8_t *buf, int size);
|
|
ssize_t qemu_receive_packet(NetClientState *nc, const uint8_t *buf, int size);
|
|
-ssize_t qemu_receive_packet_iov(NetClientState *nc,
|
|
|
|
- const struct iovec *iov,
|
|
|
|
- int iovcnt);
|
|
|
|
ssize_t qemu_send_packet_raw(NetClientState *nc, const uint8_t *buf, int size);
|
|
ssize_t qemu_send_packet_raw(NetClientState *nc, const uint8_t *buf, int size);
|
|
ssize_t qemu_send_packet_async(NetClientState *nc, const uint8_t *buf,
|
|
ssize_t qemu_send_packet_async(NetClientState *nc, const uint8_t *buf,
|
|
int size, NetPacketSent *sent_cb);
|
|
int size, NetPacketSent *sent_cb);
|
|
@@ -307,7 +304,6 @@ void hmp_host_net_remove(Monitor *mon, const QDict *qdict);
|
|
void netdev_add(QemuOpts *opts, Error **errp);
|
|
void netdev_add(QemuOpts *opts, Error **errp);
|
|
|
|
|
|
int net_hub_id_for_client(NetClientState *nc, int *id);
|
|
int net_hub_id_for_client(NetClientState *nc, int *id);
|
|
-NetClientState *net_hub_port_find(int hub_id);
|
|
|
|
|
|
|
|
#define DEFAULT_NETWORK_SCRIPT CONFIG_SYSCONFDIR "/qemu-ifup"
|
|
#define DEFAULT_NETWORK_SCRIPT CONFIG_SYSCONFDIR "/qemu-ifup"
|
|
#define DEFAULT_NETWORK_DOWN_SCRIPT CONFIG_SYSCONFDIR "/qemu-ifdown"
|
|
#define DEFAULT_NETWORK_DOWN_SCRIPT CONFIG_SYSCONFDIR "/qemu-ifdown"
|