]> Git Repo - qemu.git/commit - net/net.c
net: introduce NICState and qemu_new_nic()
authorMark McLoughlin <[email protected]>
Wed, 25 Nov 2009 18:49:10 +0000 (18:49 +0000)
committerAnthony Liguori <[email protected]>
Thu, 3 Dec 2009 15:41:30 +0000 (09:41 -0600)
commitebef2c093e47103464cd459d811803692c7315e6
tree28f9b764654e6605e1c23465dfcdfd8ddff4d8a0
parent731d5856cbb9c160fe02b90cd3cf354ea4f52f34
net: introduce NICState and qemu_new_nic()

Common state for all NICs.

The opaque member will replace the opaque member in VLANClientState
since only NICs need it.

The conf member will allow us to iterate over NICs, access the MAC
addr for the NIC and send a packet from each NIC in qemu_announce_self().

Signed-off-by: Mark McLoughlin <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
net.c
net.h
This page took 0.024504 seconds and 4 git commands to generate.