mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 04:13:53 -06:00
hw, net: "net_client_type" -> "NetClientOptionsKind" (qapi-generated)
NET_CLIENT_TYPE_ -> NET_CLIENT_OPTIONS_KIND_ Signed-off-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
14aa0c2de0
commit
2be64a68ed
34 changed files with 71 additions and 83 deletions
|
@ -239,7 +239,7 @@ static void net_socket_cleanup(VLANClientState *nc)
|
|||
}
|
||||
|
||||
static NetClientInfo net_dgram_socket_info = {
|
||||
.type = NET_CLIENT_TYPE_SOCKET,
|
||||
.type = NET_CLIENT_OPTIONS_KIND_SOCKET,
|
||||
.size = sizeof(NetSocketState),
|
||||
.receive = net_socket_receive_dgram,
|
||||
.cleanup = net_socket_cleanup,
|
||||
|
@ -317,7 +317,7 @@ static void net_socket_connect(void *opaque)
|
|||
}
|
||||
|
||||
static NetClientInfo net_socket_info = {
|
||||
.type = NET_CLIENT_TYPE_SOCKET,
|
||||
.type = NET_CLIENT_OPTIONS_KIND_SOCKET,
|
||||
.size = sizeof(NetSocketState),
|
||||
.receive = net_socket_receive,
|
||||
.cleanup = net_socket_cleanup,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue