Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/vsock/
H A 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()
308 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, 1234, NULL); in test_msg_peek_server()
310 fd = vsock_stream_accept(VMADDR_CID_ANY, 1234, NULL); in test_msg_peek_server()
487 fd = vsock_seqpacket_accept(VMADDR_CID_ANY, 1234, NULL); in test_seqpacket_msg_bounds_server()
882 fd = vsock_stream_accept(VMADDR_CID_ANY, 1234, NULL); in test_stream_poll_rcvlowat_server()
1043 fd = vsock_stream_accept(VMADDR_CID_ANY, 1234, NULL); in test_inv_buf_server()
1130 fd = vsock_stream_accept(VMADDR_CID_ANY, 1234, NULL); in test_stream_virtio_skb_merge_server()
1340 .peer_cid = VMADDR_CID_ANY, in main()
[all …]
H A 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()
H A Dvsock_perf.c148 .svm_cid = VMADDR_CID_ANY, in run_receiver()
/openbmc/linux/include/uapi/linux/
H A Dvm_sockets.h99 #define VMADDR_CID_ANY -1U macro
/openbmc/linux/net/vmw_vsock/
H A Daf_vsock.c194 vsock_addr_init(&local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_auto_bind()
244 (vsk->local_addr.svm_cid == VMADDR_CID_ANY || in __vsock_find_bound_socket()
245 addr->svm_cid == VMADDR_CID_ANY)) in __vsock_find_bound_socket()
752 vsock_addr_init(&vsk->local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in __vsock_create()
753 vsock_addr_init(&vsk->remote_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in __vsock_create()
843 vsock_addr_init(&vsk->local_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_sk_destruct()
844 vsock_addr_init(&vsk->remote_addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_sk_destruct()
1183 if (remote_addr->svm_cid == VMADDR_CID_ANY) in vsock_dgram_sendmsg()
1193 if (remote_addr->svm_cid == VMADDR_CID_ANY) in vsock_dgram_sendmsg()
1235 vsock_addr_init(&vsk->remote_addr, VMADDR_CID_ANY, in vsock_dgram_connect()
[all …]
H A Dvsock_addr.c48 vsock_addr_init(addr, VMADDR_CID_ANY, VMADDR_PORT_ANY); in vsock_addr_unbind()
H A 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()
H A 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()
H A Dvirtio_transport.c76 ret = VMADDR_CID_ANY; in virtio_transport_get_local_cid()
H A Dvirtio_transport_common.c1434 if (vsk->local_addr.svm_cid != VMADDR_CID_ANY) in virtio_transport_recv_pkt()