Home
last modified time | relevance | path

Searched refs:VMADDR_CID_HOST (Results 1 – 6 of 6) sorted by relevance

/linux/include/uapi/linux/
H A Dvm_sockets.h131 #define VMADDR_CID_HOST 2 macro
/linux/net/vmw_vsock/
H A Dhyperv_transport.c115 * or VMADDR_CID_HOST (both are equivalent) as the remote cid, and when we
340 VMADDR_CID_HOST, VMADDR_PORT_ANY); in hvs_open_connection()
776 if (cid == VMADDR_CID_HOST) in hvs_stream_allow()
H A Daf_vsock.c569 return remote_cid == VMADDR_CID_HOST; in vsock_assign_transport()
589 * - remote CID == VMADDR_CID_LOCAL or g2h->local_cid or VMADDR_CID_HOST if in vsock_assign_transport()
591 * - remote CID <= VMADDR_CID_HOST or remote flags field includes in vsock_assign_transport()
593 * - remote CID > VMADDR_CID_HOST and h2g is loaded and h2g claims that CID, in vsock_assign_transport()
608 * than VMADDR_CID_HOST, then a vsock channel where all the packets are in vsock_assign_transport()
615 if (psk && vsk->local_addr.svm_cid > VMADDR_CID_HOST && in vsock_assign_transport()
616 vsk->remote_addr.svm_cid > VMADDR_CID_HOST) in vsock_assign_transport()
631 else if (remote_cid <= VMADDR_CID_HOST || in vsock_assign_transport()
735 if (transport_h2g && cid == VMADDR_CID_HOST) in vsock_is_accept_queue_empty()
2768 * guest CID instead of well-know host CID (VMADDR_CID_HOST)
[all...]
H A Dvmci_transport.c845 if (vsk->local_addr.svm_cid == VMADDR_CID_HOST || in vmci_transport_handle_detach()
/linux/tools/testing/vsock/
H A Dvsock_test.c1882 if (errno == ENODEV && cid == VMADDR_CID_HOST) { in test_stream_transport_uaf()
1896 for (c = VMADDR_CID_HYPERVISOR; c <= VMADDR_CID_HOST + 1; ++c) { in test_stream_transport_uaf()
1920 for (cid = VMADDR_CID_HYPERVISOR; cid <= VMADDR_CID_HOST + 1; ++cid) in test_stream_transport_uaf_client()
/linux/drivers/virt/nitro_enclaves/
H A Dne_misc_dev.c1314 enclave_start_info.enclave_cid <= VMADDR_CID_HOST) { in ne_enclave_ioctl()