diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2015-10-07 11:52:16 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2015-10-12 13:30:04 +0800 |
commit | fefe2a78abde932e0f340b21bded2c86def1d242 (patch) | |
tree | 16d422f7620487c1e7b75f10effc4d8d3c08f2f9 /include/net | |
parent | e64c770d1fa859bd8ee583d339b085fe345ac02b (diff) | |
download | qemu-fefe2a78abde932e0f340b21bded2c86def1d242.zip qemu-fefe2a78abde932e0f340b21bded2c86def1d242.tar.gz qemu-fefe2a78abde932e0f340b21bded2c86def1d242.tar.bz2 |
net: merge qemu_deliver_packet and qemu_deliver_packet_iov
qemu_deliver_packet_iov already have the compat delivery, we
can drop qemu_deliver_packet.
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/net.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/net.h b/include/net/net.h index 36e5fab..7af3e15 100644 --- a/include/net/net.h +++ b/include/net/net.h @@ -152,11 +152,6 @@ void qemu_check_nic_model(NICInfo *nd, const char *model); int qemu_find_nic_model(NICInfo *nd, const char * const *models, const char *default_model); -ssize_t qemu_deliver_packet(NetClientState *sender, - unsigned flags, - const uint8_t *data, - size_t size, - void *opaque); ssize_t qemu_deliver_packet_iov(NetClientState *sender, unsigned flags, const struct iovec *iov, |