Home
last modified time | relevance | path

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

/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/crosvm/base/src/sys/unix/
Dvsock.rs51 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/
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/trace-cmd/tracecmd/
Dtrace-vsock.c11 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()
Dtrace-listen.c153 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/
Dlib.rs21 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/
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/kernel-headers/original/uapi/linux/
Dvm_sockets.h178 struct sockaddr_vm { struct
/external/ltp/testcases/network/sockets/
Dvsock01.c55 struct sockaddr_vm addr = { 0 }; in run()
/external/python/cpython3/Modules/
Dsocketmodule.h271 struct sockaddr_vm vm;
Dsocketmodule.c1348 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/
Daddr.rs1793 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()
Dmod.rs2446 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/
Dunix.rs548 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/
Dmod.rs273 pub struct sockaddr_vm {
/external/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs511 pub struct sockaddr_vm {