Revision a005d073 net.h
b/net.h | ||
---|---|---|
17 | 17 |
|
18 | 18 |
typedef struct NICConf { |
19 | 19 |
MACAddr macaddr; |
20 |
VLANState *vlan; |
|
21 | 20 |
VLANClientState *peer; |
22 | 21 |
int32_t bootindex; |
23 | 22 |
} NICConf; |
... | ... | |
53 | 52 |
NetClientInfo *info; |
54 | 53 |
int link_down; |
55 | 54 |
QTAILQ_ENTRY(VLANClientState) next; |
56 |
struct VLANState *vlan; |
|
57 | 55 |
VLANClientState *peer; |
58 | 56 |
NetQueue *send_queue; |
59 | 57 |
char *model; |
... | ... | |
69 | 67 |
bool peer_deleted; |
70 | 68 |
} NICState; |
71 | 69 |
|
72 |
struct VLANState { |
|
73 |
int id; |
|
74 |
QTAILQ_HEAD(, VLANClientState) clients; |
|
75 |
QTAILQ_ENTRY(VLANState) next; |
|
76 |
NetQueue *send_queue; |
|
77 |
}; |
|
78 |
|
|
79 | 70 |
VLANClientState *qemu_find_netdev(const char *id); |
80 | 71 |
VLANClientState *qemu_new_net_client(NetClientInfo *info, |
81 | 72 |
VLANClientState *peer, |
... | ... | |
120 | 111 |
char *model; |
121 | 112 |
char *name; |
122 | 113 |
char *devaddr; |
123 |
VLANState *vlan; |
|
124 | 114 |
VLANClientState *netdev; |
125 | 115 |
int used; /* is this slot in nd_table[] being used? */ |
126 | 116 |
int instantiated; /* does this NICInfo correspond to an instantiated NIC? */ |
Also available in: Unified diff