Revision 5610c3aa net.h

b/net.h
26 26
    LinkStatusChanged *link_status_changed;
27 27
    int link_down;
28 28
    void *opaque;
29
    struct VLANClientState *next;
29
    QTAILQ_ENTRY(VLANClientState) next;
30 30
    struct VLANState *vlan;
31 31
    char *model;
32 32
    char *name;
......
47 47

  
48 48
struct VLANState {
49 49
    int id;
50
    VLANClientState *first_client;
51
    struct VLANState *next;
50
    QTAILQ_HEAD(, VLANClientState) clients;
51
    QTAILQ_ENTRY(VLANState) next;
52 52
    unsigned int nb_guest_devs, nb_host_devs;
53 53
    QTAILQ_HEAD(send_queue, VLANPacket) send_queue;
54 54
    int delivering;

Also available in: Unified diff