net: re-name vc->fd_read() to vc->receive()

VLANClientState's fd_read() handler doesn't read from file
descriptors, it adds a buffer to the client's receive queue.

Re-name the handlers to make things a little less confusing.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
This commit is contained in:
Mark McLoughlin 2009-05-18 13:13:16 +01:00
parent 463af5349a
commit cda9046ba7
20 changed files with 57 additions and 56 deletions

View file

@ -650,7 +650,7 @@ static void tap_cleanup(VLANClientState *vc)
qemu_free(s);
}
static void tap_receive(void *opaque, const uint8_t *buf, int size)
static void tap_receive(void *opaque, const uint8_t *buf, size_t size)
{
TAPState *s = opaque;