Searched refs:sockaddr_vm (Results 1 – 14 of 14) sorted by relevance
/external/crosvm/sys_util/src/ |
D | vsock.rs | 38 struct sockaddr_vm { struct 223 assert_eq!(size_of::<sockaddr_vm>(), size_of::<sockaddr>()); in bind() 225 let svm = sockaddr_vm { in bind() 236 &svm as *const sockaddr_vm as *const sockaddr, in bind() constant 237 size_of::<sockaddr_vm>() as socklen_t, in bind() 253 let svm = sockaddr_vm { in connect() 264 &svm as *const sockaddr_vm as *const sockaddr, in connect() constant 265 size_of::<sockaddr_vm>() as socklen_t, in connect() 288 let mut svm: sockaddr_vm = Default::default(); in local_port() 291 let mut addrlen = size_of::<sockaddr_vm>() as socklen_t; in local_port() [all …]
|
/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/rust/crates/vsock/src/ |
D | lib.rs | 76 size_of::<sockaddr_vm>() as socklen_t, in bind() 99 let mut vsock_addr = sockaddr_vm { in local_addr() 106 let mut vsock_addr_len = size_of::<sockaddr_vm>() as socklen_t; in local_addr() 128 let mut vsock_addr = sockaddr_vm { in accept() 135 let mut vsock_addr_len = size_of::<sockaddr_vm>() as socklen_t; in accept() 245 size_of::<sockaddr_vm>() as socklen_t, in connect() 262 let mut vsock_addr = sockaddr_vm { in peer_addr() 269 let mut vsock_addr_len = size_of::<sockaddr_vm>() as socklen_t; in peer_addr() 286 let mut vsock_addr = sockaddr_vm { in local_addr() 293 let mut vsock_addr_len = size_of::<sockaddr_vm>() as socklen_t; in local_addr()
|
/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/kernel-headers/original/uapi/linux/ |
D | vm_sockets.h | 167 struct sockaddr_vm { struct
|
/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/python/cpython3/Modules/ |
D | socketmodule.h | 271 struct sockaddr_vm vm;
|
D | socketmodule.c | 1393 struct sockaddr_vm *a = (struct sockaddr_vm *) addr; in makesockaddr() 1804 struct sockaddr_vm* addr = &addrbuf->vm; in getsockaddrarg() 1806 memset(addr, 0, sizeof(struct sockaddr_vm)); in getsockaddrarg() 2448 *len_ret = sizeof (struct sockaddr_vm); in getsockaddrlen()
|
/external/rust/crates/nix/src/sys/socket/ |
D | addr.rs | 758 VsockAddr(*(addr as *const libc::sockaddr_vm)))), in from_libc_sockaddr() 846 &*(sa as *const libc::sockaddr_vm as *const libc::sockaddr) in as_ffi_pair() 1212 use libc::{sa_family_t, sockaddr_vm}; 1217 pub struct VsockAddr(pub sockaddr_vm); 1242 let mut addr: sockaddr_vm = unsafe { mem::zeroed() }; in new()
|
D | mod.rs | 1731 use libc::sockaddr_vm; in sockaddr_storage_to_addr() 1733 *(addr as *const _ as *const sockaddr_vm) in sockaddr_storage_to_addr() constant
|
/external/rust/crates/libc/src/unix/linux_like/android/ |
D | mod.rs | 240 pub struct sockaddr_vm {
|
/external/rust/crates/libc/src/unix/linux_like/linux/ |
D | mod.rs | 505 pub struct sockaddr_vm {
|