summary refs log tree commit diff stats
path: root/net/queue.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-09-17 10:20:48 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-09-17 10:20:48 -0500
commitde71bd6f77739cc5addb6d70bf29be59aed41722 (patch)
tree83a53c6fa78028ffbcf4cb9413754d025ad8796b /net/queue.h
parent31e165f1770cd10ee4fabf7ef4c1a48566be3336 (diff)
parent45a7f54a8bb3928ffa58d522e0d61acaee8277bb (diff)
downloadfocaccia-qemu-de71bd6f77739cc5addb6d70bf29be59aed41722.tar.gz
focaccia-qemu-de71bd6f77739cc5addb6d70bf29be59aed41722.zip
Merge remote-tracking branch 'stefanha/net' into staging
* stefanha/net:
  net: EAGAIN handling for net/socket.c TCP
  net: EAGAIN handling for net/socket.c UDP
  net: asynchronous send/receive infrastructure for net/socket.c
  net: broadcast hub packets if at least one port can receive
  net: fix usbnet_receive() packet drops
  net: clean up usbnet_receive()
  net: add -netdev options to man page
  net: do not report queued packets as sent
  net: add receive_disabled logic to iov delivery path
  eepro100: Fix network hang when rx buffers run out
  xen: flush queue when getting an event
  e1000: flush queue whenever can_receive can go from false to true
  net: notify iothread after flushing queue
Diffstat (limited to 'net/queue.h')
-rw-r--r--net/queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/queue.h b/net/queue.h
index 9d44a9b3b8..fc02b33915 100644
--- a/net/queue.h
+++ b/net/queue.h
@@ -53,6 +53,6 @@ ssize_t qemu_net_queue_send_iov(NetQueue *queue,
                                 NetPacketSent *sent_cb);
 
 void qemu_net_queue_purge(NetQueue *queue, NetClientState *from);
-void qemu_net_queue_flush(NetQueue *queue);
+bool qemu_net_queue_flush(NetQueue *queue);
 
 #endif /* QEMU_NET_QUEUE_H */