Home
last modified time | relevance | path

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

/external/rust/crates/vsock/tests/
Dvsock.rs20 use vsock::{get_local_cid, VsockAddr, VsockListener, VsockStream, VMADDR_CID_HOST};
77 assert_eq!(get_local_cid().unwrap(), VMADDR_CID_HOST); in test_get_local_cid()
82 let listener = VsockListener::bind(&VsockAddr::new(VMADDR_CID_HOST, LISTEN_PORT)).unwrap(); in test_listener_local_addr()
85 assert_eq!(local_addr.cid(), VMADDR_CID_HOST); in test_listener_local_addr()
97 assert!([libc::VMADDR_CID_ANY, VMADDR_CID_HOST].contains(&local_addr.cid())); in test_stream_addresses()
/external/grpc-grpc/src/core/lib/iomgr/
Dvm_sockets.h28 #define VMADDR_CID_HOST 2 macro
/external/kernel-headers/original/uapi/linux/
Dvm_sockets.h127 #define VMADDR_CID_HOST 2 macro
/external/libchromeos-rs/src/
Dvsock.rs17 VMADDR_CID_ANY, VMADDR_CID_HOST, VMADDR_CID_HYPERVISOR,
88 VMADDR_CID_HOST => VsockCid::Host, in from()
109 VsockCid::Host => VMADDR_CID_HOST, in into()
/external/crosvm/base/src/sys/unix/
Dvsock.rs29 use libc::VMADDR_CID_HOST;
96 VMADDR_CID_HOST => VsockCid::Host, in from()
117 VsockCid::Host => VMADDR_CID_HOST, in from()
/external/ltp/testcases/network/sockets/
Dvsock01.c83 addr.svm_cid = VMADDR_CID_HOST + 3; in run()
/external/rust/crates/vsock/src/
Dlib.rs40 pub use libc::{VMADDR_CID_ANY, VMADDR_CID_HOST, VMADDR_CID_HYPERVISOR, VMADDR_CID_LOCAL};
/external/rust/crates/nix/test/sys/
Dtest_socket.rs2169 let cid: u32 = libc::VMADDR_CID_HOST; in test_vsock()
/external/rust/crates/libc/src/unix/linux_like/android/
Dmod.rs2606 pub const VMADDR_CID_HOST: ::c_uint = 2; constant
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs3045 pub const VMADDR_CID_HOST: ::c_uint = 2; constant
/external/python/cpython3/Lib/test/
Dtest_socket.py2347 socket.VMADDR_CID_HOST