/external/libchromeos-rs/src/ |
D | vsock.rs | 38 struct sockaddr_vm { struct 223 assert_eq!(size_of::<sockaddr_vm>(), size_of::<sockaddr>()); in bind() 225 let mut svm: sockaddr_vm = Default::default(); in bind() 234 &svm as *const sockaddr_vm as *const sockaddr, in bind() constant 235 size_of::<sockaddr_vm>() as socklen_t, in bind() 251 let mut svm: sockaddr_vm = Default::default(); in connect() 260 &svm as *const sockaddr_vm as *const sockaddr, in connect() constant 261 size_of::<sockaddr_vm>() as socklen_t, in connect() 284 let mut svm: sockaddr_vm = Default::default(); in local_port() 287 let mut addrlen = size_of::<sockaddr_vm>() as socklen_t; in local_port() [all …]
|
/external/crosvm/base/src/sys/unix/ |
D | vsock.rs | 51 struct sockaddr_vm { struct 231 assert_eq!(size_of::<sockaddr_vm>(), size_of::<sockaddr>()); in bind() 233 let svm = sockaddr_vm { in bind() 244 &svm as *const sockaddr_vm as *const sockaddr, in bind() constant 245 size_of::<sockaddr_vm>() as socklen_t, in bind() 261 let svm = sockaddr_vm { in connect() 272 &svm as *const sockaddr_vm as *const sockaddr, in connect() constant 273 size_of::<sockaddr_vm>() as socklen_t, in connect() 296 let mut svm: sockaddr_vm = Default::default(); in local_port() 299 let mut addrlen = size_of::<sockaddr_vm>() as socklen_t; in local_port() [all …]
|
/external/grpc-grpc/src/core/lib/iomgr/ |
D | unix_sockets_posix.cc | 73 struct sockaddr_vm *vm; in grpc_resolve_vsock_address() 86 vm = (struct sockaddr_vm *)(*addrs)->addrs->addr; in grpc_resolve_vsock_address() 90 (*addrs)->addrs->len = sizeof(struct sockaddr_vm); in grpc_resolve_vsock_address() 153 struct sockaddr_vm *vm = (struct sockaddr_vm*)addr; in grpc_sockaddr_to_uri_vsock_if_possible()
|
D | vm_sockets.h | 33 struct sockaddr_vm { struct
|
D | sockaddr_utils.cc | 277 return static_cast<int>(reinterpret_cast<const struct sockaddr_vm *>(addr)->svm_port); in grpc_sockaddr_get_port() 311 reinterpret_cast<struct sockaddr_vm *>(addr)->svm_port = static_cast<unsigned int>(port); in grpc_sockaddr_set_port()
|
/external/trace-cmd/tracecmd/ |
D | trace-vsock.c | 11 struct sockaddr_vm addr = { in trace_vsock_open() 30 struct sockaddr_vm addr = { in trace_vsock_make() 59 struct sockaddr_vm addr; in trace_vsock_get_port() 76 struct sockaddr_vm addr; in get_vsocket_params() 99 struct sockaddr_vm vm_addr; in trace_vsock_print_connection()
|
D | trace-listen.c | 153 struct sockaddr_vm vm_addr; in process_child() 852 struct sockaddr_vm *vm_addr = (struct sockaddr_vm *)addr; in do_connection() 961 struct sockaddr_vm vm_addr; in do_accept_loop()
|
/external/rust/crates/vsock/src/ |
D | lib.rs | 21 accept4, ioctl, sa_family_t, sockaddr, sockaddr_vm, socklen_t, suseconds_t, timeval, AF_VSOCK, 109 let mut vsock_addr = sockaddr_vm { in accept() 116 let mut vsock_addr_len = size_of::<sockaddr_vm>() as socklen_t; in accept()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/ |
D | parse_address.cc | 71 struct sockaddr_vm *vm = in grpc_parse_vsock() 72 reinterpret_cast<struct sockaddr_vm *>(resolved_addr->addr); in grpc_parse_vsock()
|
/external/kernel-headers/original/uapi/linux/ |
D | vm_sockets.h | 178 struct sockaddr_vm { struct
|
/external/ltp/testcases/network/sockets/ |
D | vsock01.c | 55 struct sockaddr_vm addr = { 0 }; in run()
|
/external/python/cpython3/Modules/ |
D | socketmodule.h | 271 struct sockaddr_vm vm;
|
D | socketmodule.c | 1348 struct sockaddr_vm *a = (struct sockaddr_vm *) addr; in makesockaddr() 1759 struct sockaddr_vm* addr = &addrbuf->vm; in getsockaddrarg() 1761 memset(addr, 0, sizeof(struct sockaddr_vm)); in getsockaddrarg() 2403 *len_ret = sizeof (struct sockaddr_vm); in getsockaddrlen()
|
/external/rust/crates/nix/src/sys/socket/ |
D | addr.rs | 1793 AddressFamily::Vsock, libc::sockaddr_vm, vsock} 2273 &*(sa as *const libc::sockaddr_vm as *const libc::sockaddr) in as_ffi_pair() 2862 use libc::{sa_family_t, sockaddr_vm}; 2873 pub struct VsockAddr(pub(in super::super) sockaddr_vm); 2885 if l != mem::size_of::<libc::sockaddr_vm>() as libc::socklen_t { in from_raw() 2896 impl AsRef<libc::sockaddr_vm> for VsockAddr { 2897 fn as_ref(&self) -> &libc::sockaddr_vm { in as_ref() argument 2926 let mut addr: sockaddr_vm = unsafe { mem::zeroed() }; in new()
|
D | mod.rs | 2446 use libc::sockaddr_vm; in sockaddr_storage_to_addr() 2447 let svm = unsafe { *(addr as *const _ as *const sockaddr_vm) }; in sockaddr_storage_to_addr() constant
|
/external/rust/crates/socket2/src/sys/ |
D | unix.rs | 548 let storage: &mut libc::sockaddr_vm = unsafe { &mut *storage.cast() }; in vsock() 555 *len = mem::size_of::<libc::sockaddr_vm>() as socklen_t; in vsock() 573 let addr = unsafe { &*(self.as_ptr() as *const libc::sockaddr_vm) }; in vsock_address()
|
/external/rust/crates/libc/src/unix/linux_like/android/ |
D | mod.rs | 273 pub struct sockaddr_vm {
|
/external/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 511 pub struct sockaddr_vm {
|