diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2015-10-07 11:52:20 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2015-10-12 13:31:18 +0800 |
commit | b68c7f76926dee3f234ccee88f3167b640d9318e (patch) | |
tree | 400d818d74aa5530861e75f4a7e750a94434dc9b /include | |
parent | a4960f52e7f402a4b7402ace204283de7b9d4879 (diff) |
net/queue: export qemu_net_queue_append_iov
This will be used by buffer filter implementation later to
queue packets.
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/queue.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/queue.h b/include/net/queue.h index b4a7183dee..5469fdbeaa 100644 --- a/include/net/queue.h +++ b/include/net/queue.h @@ -47,6 +47,13 @@ typedef ssize_t (NetQueueDeliverFunc)(NetClientState *sender, NetQueue *qemu_new_net_queue(NetQueueDeliverFunc *deliver, void *opaque); +void qemu_net_queue_append_iov(NetQueue *queue, + NetClientState *sender, + unsigned flags, + const struct iovec *iov, + int iovcnt, + NetPacketSent *sent_cb); + void qemu_del_net_queue(NetQueue *queue); ssize_t qemu_net_queue_send(NetQueue *queue, |