diff options
author | Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> | 2012-08-20 10:21:54 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@gmail.com> | 2012-09-14 08:40:33 +0100 |
commit | 863f678fba4191f3b695620f41056cb7c124425d (patch) | |
tree | 930c9a15af27bf313ca7749793a5e655afb471a2 /net/queue.h | |
parent | 61518a74ca98870e8ff132f91dd5dda252e31f58 (diff) |
net: asynchronous send/receive infrastructure for net/socket.c
The net/socket.c net client is not truly asynchronous. This patch
borrows the qemu_set_fd_handler2() code from net/tap.c as the basis for
proper asynchronous send/receive.
Only read packets from the socket when the peer is able to receive.
This avoids needless queuing.
Later patches implement asynchronous send.
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'net/queue.h')
0 files changed, 0 insertions, 0 deletions