diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-11-25 18:49:30 +0000 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 09:41:34 -0600 |
commit | 665a3b071dc6351f9d1840dc50f7cda80bca5f40 (patch) | |
tree | 1342018a8e29fd3b027776e261732f6db70452cf /net.h | |
parent | 68da46eeb6cbe60b03f7afcb4e3cd1b5f14cc259 (diff) |
net: remove VLANClientState members now in NetClientInfo
Add a NetClientInfo pointer to VLANClientState and use that
for the typecode and function pointers.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -54,15 +54,7 @@ typedef struct NetClientInfo { } NetClientInfo; struct VLANClientState { - net_client_type type; - NetReceive *receive; - NetReceive *receive_raw; - NetReceiveIOV *receive_iov; - /* Packets may still be sent if this returns zero. It's used to - rate-limit the slirp code. */ - NetCanReceive *can_receive; - NetCleanup *cleanup; - LinkStatusChanged *link_status_changed; + NetClientInfo *info; int link_down; QTAILQ_ENTRY(VLANClientState) next; struct VLANState *vlan; |