diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-05-18 13:13:16 +0100 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2009-06-09 11:38:49 +0100 |
commit | cda9046ba7dbba45f3016e5d60caffa2d72960fa (patch) | |
tree | da29fa06d782170b8214be44382549735eafa3b3 /hw/eepro100.c | |
parent | 463af5349a787160642f023dad10eaf0cb419fb7 (diff) | |
download | qemu-cda9046ba7dbba45f3016e5d60caffa2d72960fa.zip qemu-cda9046ba7dbba45f3016e5d60caffa2d72960fa.tar.gz qemu-cda9046ba7dbba45f3016e5d60caffa2d72960fa.tar.bz2 |
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>
Diffstat (limited to 'hw/eepro100.c')
-rw-r--r-- | hw/eepro100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/eepro100.c b/hw/eepro100.c index 5450b83..39e8fcc 100644 --- a/hw/eepro100.c +++ b/hw/eepro100.c @@ -1441,7 +1441,7 @@ static int nic_can_receive(void *opaque) //~ return !eepro100_buffer_full(s); } -static void nic_receive(void *opaque, const uint8_t * buf, int size) +static void nic_receive(void *opaque, const uint8_t * buf, size_t size) { /* TODO: * - Magic packets should set bit 30 in power management driver register. |