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:
1 parent
463af5349a
commit
cda9046ba7
20 files changed
+57
-56
No files matched your search
@@ -131,7 +131,7 @@ static void qemu_announce_self_once(void *opaque)
|
||||
len = announce_self_create(buf, nd_table[i].macaddr);
|
||||
vlan = nd_table[i].vlan;
|
||||
for(vc = vlan->first_client; vc != NULL; vc = vc->next) {
|
||||
vc->fd_read(vc->opaque, buf, len);
|
||||
vc->receive(vc->opaque, buf, len);
|
||||
}
|
||||
}
|
||||
if (count--) {
|
||||
|
||||
Reference in new issue
Block a user