Home
last modified time | relevance | path

Searched refs:svm_cid (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/net/vmw_vsock/
H A Dvsock_addr.c18 addr->svm_cid = cid; in vsock_addr_init()
55 return addr->svm_cid == other->svm_cid && in vsock_addr_equals_addr()
H A Dvmci_transport.c127 pkt->dg.dst = vmci_make_handle(dst->svm_cid, in vmci_transport_packet_init()
128 vmci_transport_peer_rid(dst->svm_cid)); in vmci_transport_packet_init()
761 vsk->local_addr.svm_cid = dst.svm_cid; in vmci_transport_recv_stream_cb()
1193 vpending->remote_addr.svm_cid == vpending->local_addr.svm_cid; in vmci_transport_recv_connecting_server()
1206 vpending->remote_addr.svm_cid)); in vmci_transport_recv_connecting_server()
1409 if (vsk->local_addr.svm_cid == VMADDR_CID_ANY) in vmci_transport_recv_connecting_client_negotiate()
1410 vsk->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_connecting_client_negotiate()
1452 is_local = vsk->remote_addr.svm_cid == vsk->local_addr.svm_cid; in vmci_transport_recv_connecting_client_negotiate()
1459 vsk->remote_addr.svm_cid, in vmci_transport_recv_connecting_client_negotiate()
1464 remote_addr.svm_cid)); in vmci_transport_recv_connecting_client_negotiate()
[all …]
H A Daf_vsock.c173 (((src)->svm_cid ^ (dst)->svm_port) % VSOCK_HASH_SIZE)
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()
443 unsigned int remote_cid = vsk->remote_addr.svm_cid; in vsock_assign_transport()
456 vsk->remote_addr.svm_cid > VMADDR_CID_HOST) in vsock_assign_transport()
702 if (addr->svm_cid != VMADDR_CID_ANY && !vsock_find_cid(addr->svm_cid)) in __vsock_bind()
1183 if (remote_addr->svm_cid == VMADDR_CID_ANY) in vsock_dgram_sendmsg()
1184 remote_addr->svm_cid = transport->get_local_cid(); in vsock_dgram_sendmsg()
1193 if (remote_addr->svm_cid == VMADDR_CID_ANY) in vsock_dgram_sendmsg()
1208 if (!transport->dgram_allow(remote_addr->svm_cid, in vsock_dgram_sendmsg()
[all …]
H A Ddiag.c37 rep->vdiag_src_cid = vsk->local_addr.svm_cid; in sk_diag_fill()
39 rep->vdiag_dst_cid = vsk->remote_addr.svm_cid; in sk_diag_fill()
H A Dvirtio_transport_common.c218 dst_cid = vsk->remote_addr.svm_cid; in virtio_transport_send_pkt_info()
1382 trace_virtio_transport_recv_pkt(src.svm_cid, src.svm_port, in virtio_transport_recv_pkt()
1383 dst.svm_cid, dst.svm_port, in virtio_transport_recv_pkt()
1434 if (vsk->local_addr.svm_cid != VMADDR_CID_ANY) in virtio_transport_recv_pkt()
1435 vsk->local_addr.svm_cid = dst.svm_cid; in virtio_transport_recv_pkt()
/openbmc/linux/include/uapi/linux/
H A Dvm_sockets.h182 unsigned int svm_cid; member
/openbmc/linux/tools/testing/vsock/
H A Dvsock_perf.c105 .svm_cid = cid, in vsock_connect()
148 .svm_cid = VMADDR_CID_ANY, in run_receiver()
H A Dutil.c96 .svm_cid = cid, in vsock_connect()
146 .svm_cid = cid, in vsock_accept()
H A Dvsock_test.c36 .svm_cid = opts->peer_cid, in test_stream_connection_reset()
72 .svm_cid = opts->peer_cid, in test_stream_bind_only_client()
114 .svm_cid = VMADDR_CID_ANY, in test_stream_bind_only_server()
H A Dvsock_diag_test.c346 .svm_cid = VMADDR_CID_ANY, in test_listen_socket_server()
/openbmc/linux/drivers/vhost/
H A Dvsock.c304 vsock = vhost_vsock_get(vsk->remote_addr.svm_cid); in vhost_transport_cancel_pkt()
697 if (vhost_vsock_get(vsk->remote_addr.svm_cid)) in vhost_vsock_reset_orphans()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_helpers.h271 addr->svm_cid = VMADDR_CID_LOCAL; in init_addr_loopback_vsock()
/openbmc/linux/samples/nitro_enclaves/
H A Dne_ioctl_sample.c661 .svm_cid = NE_IMAGE_LOAD_HEARTBEAT_CID, in ne_start_enclave_check_booted()
/openbmc/qemu/util/
H A Dqemu-sockets.c745 svm->svm_cid = val; in vsock_parse_vaddr_to_sockaddr()
1375 vaddr->cid = g_strdup_printf("%u", svm->svm_cid); in socket_sockaddr_to_address_vsock()