Home
last modified time | relevance | path

Searched refs:sockaddr_vm (Results 1 – 14 of 14) sorted by relevance

/external/crosvm/sys_util/src/
Dvsock.rs38 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/
Dvsock.rs38 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/
Dlib.rs76 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/
Dunix_sockets_posix.cc73 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()
Dvm_sockets.h33 struct sockaddr_vm { struct
Dsockaddr_utils.cc277 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/
Dvm_sockets.h167 struct sockaddr_vm { struct
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dparse_address.cc71 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/
Dsocketmodule.h271 struct sockaddr_vm vm;
Dsocketmodule.c1393 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/
Daddr.rs758 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()
Dmod.rs1731 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/
Dmod.rs240 pub struct sockaddr_vm {
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs505 pub struct sockaddr_vm {