Searched refs:VMADDR_CID_HOST (Results 1 – 11 of 11) sorted by relevance
/external/rust/crates/vsock/tests/ |
D | vsock.rs | 20 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/ |
D | vm_sockets.h | 28 #define VMADDR_CID_HOST 2 macro
|
/external/kernel-headers/original/uapi/linux/ |
D | vm_sockets.h | 127 #define VMADDR_CID_HOST 2 macro
|
/external/libchromeos-rs/src/ |
D | vsock.rs | 17 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/ |
D | vsock.rs | 29 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/ |
D | vsock01.c | 83 addr.svm_cid = VMADDR_CID_HOST + 3; in run()
|
/external/rust/crates/vsock/src/ |
D | lib.rs | 40 pub use libc::{VMADDR_CID_ANY, VMADDR_CID_HOST, VMADDR_CID_HYPERVISOR, VMADDR_CID_LOCAL};
|
/external/rust/crates/nix/test/sys/ |
D | test_socket.rs | 2169 let cid: u32 = libc::VMADDR_CID_HOST; in test_vsock()
|
/external/rust/crates/libc/src/unix/linux_like/android/ |
D | mod.rs | 2606 pub const VMADDR_CID_HOST: ::c_uint = 2; constant
|
/external/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 3045 pub const VMADDR_CID_HOST: ::c_uint = 2; constant
|
/external/python/cpython3/Lib/test/ |
D | test_socket.py | 2347 socket.VMADDR_CID_HOST
|