Home
last modified time | relevance | path

Searched refs:sockaddr_storage_to_addr (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/nix/test/sys/
Dtest_socket.rs45 use nix::sys::socket::{sockaddr_storage_to_addr, SockAddr}; in test_inetv4_addr_roundtrip_sockaddr_storage_to_addr()
63 sockaddr_storage_to_addr(&storage, ffi_size as usize).unwrap(); in test_inetv4_addr_roundtrip_sockaddr_storage_to_addr()
66 sockaddr_storage_to_addr(&storage, mem::size_of::<sockaddr_storage>()) in test_inetv4_addr_roundtrip_sockaddr_storage_to_addr()
134 use nix::sys::socket::{sockaddr_storage_to_addr, SockAddr}; in test_inetv6_addr_roundtrip_sockaddr_storage_to_addr()
161 sockaddr_storage_to_addr(&storage, ffi_size as usize).unwrap(); in test_inetv6_addr_roundtrip_sockaddr_storage_to_addr()
164 sockaddr_storage_to_addr(&storage, mem::size_of::<sockaddr_storage>()) in test_inetv6_addr_roundtrip_sockaddr_storage_to_addr()
/external/rust/crates/nix/
DCHANGELOG.md642 - `sys::socket::sockaddr_storage_to_addr` is no longer `unsafe`. So is
644 - `sys::socket::sockaddr_storage_to_addr`, `offset_of!`, and `Errno::clear` are
646 - `SockAddr::as_ffi_pair`,`sys::socket::sockaddr_storage_to_addr`, `offset_of!`,
1555 - `sockaddr_storage_to_addr` in `::nix::sys::socket` now supports `sockaddr_nl`
/external/rust/crates/nix/src/sys/socket/
Dmod.rs2392 pub fn sockaddr_storage_to_addr( in sockaddr_storage_to_addr() function