]> git.proxmox.com Git - qemu.git/commit
net: Refactor net_client_types
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 20 Jul 2011 10:20:20 +0000 (12:20 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Sat, 23 Jul 2011 15:19:50 +0000 (10:19 -0500)
commit6f7b3b1be229e3a686a4507d6c11dfcf5f12cef4
treea7a3b29bb96b44066ae9ddcb0a523113309d657d
parent19061e63c04810cb24769e9d92d943079206297a
net: Refactor net_client_types

Position entries of net_client_types according to the corresponding
values of NET_CLIENT_TYPE_*. The array size is now defined by
NET_CLIENT_TYPE_MAX. This will allow to obtain entries based on type
value in later patches.

At this chance rename NET_CLIENT_TYPE_SLIRP to NET_CLIENT_TYPE_USER for
the sake of consistency.

CC: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c
net.h
net/slirp.c