Searched refs:VMADDR_CID_ANY (Results 1 – 13 of 13) sorted by relevance
/linux-6.12.1/tools/testing/vsock/ |
D | vsock_test.c | 118 .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 …]
|
D | vsock_diag_test.c | 83 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()
|
D | vsock_uring_test.c | 123 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()
|
D | vsock_test_zerocopy.c | 251 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()
|
D | vsock_perf.c | 152 .svm_cid = VMADDR_CID_ANY, in run_receiver()
|
D | util.c | 104 .svm_cid = VMADDR_CID_ANY, in vsock_bind_connect()
|
/linux-6.12.1/include/uapi/linux/ |
D | vm_sockets.h | 99 #define VMADDR_CID_ANY -1U macro
|
/linux-6.12.1/net/vmw_vsock/ |
D | af_vsock.c | 195 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 …]
|
D | vsock_addr.c | 48 vsock_addr_init(addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_addr_unbind()
|
D | hyperv_transport.c | 174 vsock_addr_init(addr, VMADDR_CID_ANY, port); in hvs_addr_init() 439 return VMADDR_CID_ANY; in hvs_get_local_cid()
|
D | vmci_transport.c | 125 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()
|
D | virtio_transport.c | 87 ret = VMADDR_CID_ANY; in virtio_transport_get_local_cid()
|
D | virtio_transport_common.c | 1642 if (vsk->local_addr.svm_cid != VMADDR_CID_ANY) in virtio_transport_recv_pkt()
|