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 | 2f2e98b754d241b67d8c7db5e49bdff83ea28354 (patch) | |
tree | 1342018a8e29fd3b027776e261732f6db70452cf /net.h | |
parent | e9ae8d9525c7c568d36e39318c649a23ec2056f8 (diff) | |
download | qemu-2f2e98b754d241b67d8c7db5e49bdff83ea28354.tar.gz qemu-2f2e98b754d241b67d8c7db5e49bdff83ea28354.tar.bz2 qemu-2f2e98b754d241b67d8c7db5e49bdff83ea28354.zip |
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; |