Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/vsock/ !
Dvsock_test.c114 .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 …]
Dvsock_diag_test.c81 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/ !
Dvm_sockets.h99 #define VMADDR_CID_ANY -1U macro
/linux-6.1.9/net/vmw_vsock/ !
Daf_vsock.c189 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 …]
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.c77 ret = VMADDR_CID_ANY; in virtio_transport_get_local_cid()
Dvirtio_transport_common.c1299 if (vsk->local_addr.svm_cid != VMADDR_CID_ANY) in virtio_transport_recv_pkt()