Lines Matching refs:connect_addr

53                                        SocketAddress *connect_addr,  in test_io_channel_setup_sync()  argument
67 g_free(connect_addr->u.inet.port); in test_io_channel_setup_sync()
68 connect_addr->u.inet.port = g_strdup(laddr->u.inet.port); in test_io_channel_setup_sync()
75 QIO_CHANNEL_SOCKET(*src), connect_addr, &error_abort); in test_io_channel_setup_sync()
104 SocketAddress *connect_addr, in test_io_channel_setup_async() argument
129 g_free(connect_addr->u.inet.port); in test_io_channel_setup_async()
130 connect_addr->u.inet.port = g_strdup(laddr->u.inet.port); in test_io_channel_setup_async()
138 QIO_CHANNEL_SOCKET(*src), connect_addr, in test_io_channel_setup_async()
173 SocketAddress *connect_addr, in test_io_channel() argument
179 test_io_channel_setup_async(listen_addr, connect_addr, in test_io_channel()
208 test_io_channel_setup_async(listen_addr, connect_addr, in test_io_channel()
240 test_io_channel_setup_sync(listen_addr, connect_addr, in test_io_channel()
269 test_io_channel_setup_sync(listen_addr, connect_addr, in test_io_channel()
309 SocketAddress *connect_addr = g_new0(SocketAddress, 1); in test_io_channel_ipv4() local
317 connect_addr->type = SOCKET_ADDRESS_TYPE_INET; in test_io_channel_ipv4()
318 connect_addr->u.inet = (InetSocketAddress) { in test_io_channel_ipv4()
323 test_io_channel(async, listen_addr, connect_addr, false); in test_io_channel_ipv4()
326 qapi_free_SocketAddress(connect_addr); in test_io_channel_ipv4()
345 SocketAddress *connect_addr = g_new0(SocketAddress, 1); in test_io_channel_ipv6() local
353 connect_addr->type = SOCKET_ADDRESS_TYPE_INET; in test_io_channel_ipv6()
354 connect_addr->u.inet = (InetSocketAddress) { in test_io_channel_ipv6()
359 test_io_channel(async, listen_addr, connect_addr, false); in test_io_channel_ipv6()
362 qapi_free_SocketAddress(connect_addr); in test_io_channel_ipv6()
381 SocketAddress *connect_addr = g_new0(SocketAddress, 1); in test_io_channel_unix() local
387 connect_addr->type = SOCKET_ADDRESS_TYPE_UNIX; in test_io_channel_unix()
388 connect_addr->u.q_unix.path = g_strdup(TEST_SOCKET); in test_io_channel_unix()
390 test_io_channel(async, listen_addr, connect_addr, true); in test_io_channel_unix()
393 qapi_free_SocketAddress(connect_addr); in test_io_channel_unix()
412 SocketAddress *connect_addr = g_new0(SocketAddress, 1); in test_io_channel_unix_fd_pass() local
434 connect_addr->type = SOCKET_ADDRESS_TYPE_UNIX; in test_io_channel_unix_fd_pass()
435 connect_addr->u.q_unix.path = g_strdup(TEST_SOCKET); in test_io_channel_unix_fd_pass()
437 test_io_channel_setup_sync(listen_addr, connect_addr, &srv, &src, &dst); in test_io_channel_unix_fd_pass()
494 qapi_free_SocketAddress(connect_addr); in test_io_channel_unix_fd_pass()