Revision d861b05e vl.h
b/vl.h | ||
---|---|---|
279 | 279 |
|
280 | 280 |
struct VLANClientState { |
281 | 281 |
IOReadHandler *fd_read; |
282 |
/* Packets may still be sent if this returns zero. It's used to |
|
283 |
rate-limit the slirp code. */ |
|
284 |
IOCanRWHandler *fd_can_read; |
|
282 | 285 |
void *opaque; |
283 | 286 |
struct VLANClientState *next; |
284 | 287 |
struct VLANState *vlan; |
... | ... | |
293 | 296 |
|
294 | 297 |
VLANState *qemu_find_vlan(int id); |
295 | 298 |
VLANClientState *qemu_new_vlan_client(VLANState *vlan, |
296 |
IOReadHandler *fd_read, void *opaque); |
|
299 |
IOReadHandler *fd_read, |
|
300 |
IOCanRWHandler *fd_can_read, |
|
301 |
void *opaque); |
|
302 |
int qemu_can_send_packet(VLANClientState *vc); |
|
297 | 303 |
void qemu_send_packet(VLANClientState *vc, const uint8_t *buf, int size); |
304 |
void qemu_handler_true(void *opaque); |
|
298 | 305 |
|
299 | 306 |
void do_info_network(void); |
300 | 307 |
|
Also available in: Unified diff