Searched refs:VMADDR_CID_ANY (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/tools/testing/vsock/ |
D | vsock_test.c | 114 .svm_cid = VMADDR_CID_ANY, in test_stream_bind_only_server() 153 fd = vsock_stream_accept(VMADDR_CID_ANY, 1234, NULL); in test_stream_client_close_server() 195 fd = vsock_stream_accept(VMADDR_CID_ANY, 1234, NULL); in test_stream_server_close_server() 240 fds[i] = vsock_stream_accept(VMADDR_CID_ANY, 1234, NULL); in test_stream_multiconn_server() 276 fd = vsock_stream_accept(VMADDR_CID_ANY, 1234, NULL); in test_stream_msg_peek_server() 314 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, 1234, NULL); in test_seqpacket_msg_bounds_server() 369 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, 1234, NULL); in test_seqpacket_msg_trunc_server() 465 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, 1234, NULL); in test_seqpacket_timeout_server() 531 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, 1234, NULL); in test_seqpacket_invalid_rec_buffer_server() 607 fd = vsock_stream_accept(VMADDR_CID_ANY, 1234, NULL); in test_stream_poll_rcvlowat_server() [all …]
|
D | vsock_diag_test.c | 81 if (cid == VMADDR_CID_ANY) in print_vsock_addr() 346 .svm_cid = VMADDR_CID_ANY, in test_listen_socket_server() 406 client_fd = vsock_stream_accept(VMADDR_CID_ANY, 1234, NULL); in test_connect_server() 519 .peer_cid = VMADDR_CID_ANY, in main() 567 if (opts.peer_cid == VMADDR_CID_ANY) in main()
|
/linux-6.1.9/include/uapi/linux/ |
D | vm_sockets.h | 99 #define VMADDR_CID_ANY -1U macro
|
/linux-6.1.9/net/vmw_vsock/ |
D | af_vsock.c | 189 vsock_addr_init(&local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_auto_bind() 239 (vsk->local_addr.svm_cid == VMADDR_CID_ANY || in __vsock_find_bound_socket() 240 addr->svm_cid == VMADDR_CID_ANY)) in __vsock_find_bound_socket() 698 if (addr->svm_cid != VMADDR_CID_ANY && !vsock_find_cid(addr->svm_cid)) in __vsock_bind() 748 vsock_addr_init(&vsk->local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in __vsock_create() 749 vsock_addr_init(&vsk->remote_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in __vsock_create() 839 vsock_addr_init(&vsk->local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_sk_destruct() 840 vsock_addr_init(&vsk->remote_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_sk_destruct() 1171 if (remote_addr->svm_cid == VMADDR_CID_ANY) in vsock_dgram_sendmsg() 1181 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 | 77 ret = VMADDR_CID_ANY; in virtio_transport_get_local_cid()
|
D | virtio_transport_common.c | 1299 if (vsk->local_addr.svm_cid != VMADDR_CID_ANY) in virtio_transport_recv_pkt()
|