net: Rename send_queue to incoming_queue

Each networking client has a queue for packets that could not yet be
delivered to that client. Calling this queue "send_queue" is highly
confusing as it has nothing to to with packets send from this client but
to it. Avoid this confusing by renaming it to "incoming_queue".

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
Jan Kiszka
2013-08-02 21:47:08 +02:00
committed by Stefan Hajnoczi
parent aa4f082f75
commit 067404be62
3 changed files with 9 additions and 9 deletions

View File

@@ -347,7 +347,7 @@ bool net_hub_flush(NetClientState *nc)
QLIST_FOREACH(port, &source_port->hub->ports, next) {
if (port != source_port) {
ret += qemu_net_queue_flush(port->nc.send_queue);
ret += qemu_net_queue_flush(port->nc.incoming_queue);
}
}
return ret ? true : false;