summaryrefslogtreecommitdiffstats
path: root/include/net/net.h
diff options
context:
space:
mode:
authorYang Hongyang2015-10-07 05:52:16 +0200
committerJason Wang2015-10-12 07:30:04 +0200
commitfefe2a78abde932e0f340b21bded2c86def1d242 (patch)
tree16d422f7620487c1e7b75f10effc4d8d3c08f2f9 /include/net/net.h
parentnetfilter: hook packets before net queue send (diff)
downloadqemu-fefe2a78abde932e0f340b21bded2c86def1d242.tar.gz
qemu-fefe2a78abde932e0f340b21bded2c86def1d242.tar.xz
qemu-fefe2a78abde932e0f340b21bded2c86def1d242.zip
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/net.h')
-rw-r--r--include/net/net.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/net.h b/include/net/net.h
index 36e5fabca5..7af3e15f83 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,