mirror of
https://github.com/mii443/qemu.git
synced 2025-12-09 14:08:32 +00: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:
committed by
Stefan Hajnoczi
parent
14aa0c2de0
commit
2be64a68ed
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user