Home
last modified time | relevance | path

Searched refs:VMADDR_CID_ANY (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/tools/testing/vsock/
Dvsock_test.c118 .svm_cid = VMADDR_CID_ANY, in test_stream_bind_only_server()
157 fd = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_stream_client_close_server()
199 fd = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_stream_server_close_server()
244 fds[i] = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_stream_multiconn_server()
300 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_msg_peek_server()
302 fd = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_msg_peek_server()
439 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_seqpacket_msg_bounds_server()
529 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_seqpacket_msg_trunc_server()
625 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_seqpacket_timeout_server()
676 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_seqpacket_bigmsg_server()
[all …]
Dvsock_diag_test.c83 if (cid == VMADDR_CID_ANY) in print_vsock_addr()
348 .svm_cid = VMADDR_CID_ANY, in test_listen_socket_server()
408 client_fd = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_connect_server()
528 .peer_cid = VMADDR_CID_ANY, in main()
580 if (opts.peer_cid == VMADDR_CID_ANY) in main()
Dvsock_uring_test.c123 fd = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in vsock_io_uring_server()
291 .peer_cid = VMADDR_CID_ANY, in main()
336 if (opts.peer_cid == VMADDR_CID_ANY) in main()
Dvsock_test_zerocopy.c251 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_server()
253 fd = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_server()
350 fd = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in test_stream_msgzcopy_empty_errq_server()
Dvsock_perf.c152 .svm_cid = VMADDR_CID_ANY, in run_receiver()
Dutil.c104 .svm_cid = VMADDR_CID_ANY, in vsock_bind_connect()
/linux-6.12.1/include/uapi/linux/
Dvm_sockets.h99 #define VMADDR_CID_ANY -1U macro
/linux-6.12.1/net/vmw_vsock/
Daf_vsock.c195 vsock_addr_init(&local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_auto_bind()
245 (vsk->local_addr.svm_cid == VMADDR_CID_ANY || in __vsock_find_bound_socket()
246 addr->svm_cid == VMADDR_CID_ANY)) in __vsock_find_bound_socket()
703 if (addr->svm_cid != VMADDR_CID_ANY && !vsock_find_cid(addr->svm_cid)) in __vsock_bind()
753 vsock_addr_init(&vsk->local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in __vsock_create()
754 vsock_addr_init(&vsk->remote_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in __vsock_create()
847 vsock_addr_init(&vsk->local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_sk_destruct()
848 vsock_addr_init(&vsk->remote_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_sk_destruct()
1187 if (remote_addr->svm_cid == VMADDR_CID_ANY) in vsock_dgram_sendmsg()
1197 if (remote_addr->svm_cid == VMADDR_CID_ANY) in vsock_dgram_sendmsg()
[all …]
Dvsock_addr.c48 vsock_addr_init(addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_addr_unbind()
Dhyperv_transport.c174 vsock_addr_init(addr, VMADDR_CID_ANY, port); in hvs_addr_init()
439 return VMADDR_CID_ANY; in hvs_get_local_cid()
Dvmci_transport.c125 pkt->dg.src = vmci_make_handle(VMADDR_CID_ANY, in vmci_transport_packet_init()
1409 if (vsk->local_addr.svm_cid == VMADDR_CID_ANY) in vmci_transport_recv_connecting_client_negotiate()
1679 flags = addr->svm_cid == VMADDR_CID_ANY ? in vmci_transport_dgram_bind()
Dvirtio_transport.c87 ret = VMADDR_CID_ANY; in virtio_transport_get_local_cid()
Dvirtio_transport_common.c1642 if (vsk->local_addr.svm_cid != VMADDR_CID_ANY) in virtio_transport_recv_pkt()