diff options
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -26,7 +26,7 @@ struct VLANClientState { LinkStatusChanged *link_status_changed; int link_down; void *opaque; - struct VLANClientState *next; + QTAILQ_ENTRY(VLANClientState) next; struct VLANState *vlan; char *model; char *name; @@ -47,8 +47,8 @@ struct VLANPacket { struct VLANState { int id; - VLANClientState *first_client; - struct VLANState *next; + QTAILQ_HEAD(, VLANClientState) clients; + QTAILQ_ENTRY(VLANState) next; unsigned int nb_guest_devs, nb_host_devs; QTAILQ_HEAD(send_queue, VLANPacket) send_queue; int delivering; |