Home
last modified time | relevance | path

Searched refs:SocketAddrStorage (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/crates/rustix/src/backend/linux_raw/net/
Dwrite_sockaddr.rs6 use crate::net::{SocketAddrAny, SocketAddrStorage, SocketAddrUnix, SocketAddrV4, SocketAddrV6};
11 storage: *mut SocketAddrStorage, in write_sockaddr() argument
31 unsafe fn write_sockaddr_v4(v4: &SocketAddrV4, storage: *mut SocketAddrStorage) -> usize { in write_sockaddr_v4()
51 unsafe fn write_sockaddr_v6(v6: &SocketAddrV6, storage: *mut SocketAddrStorage) -> usize { in write_sockaddr_v6()
57 unsafe fn write_sockaddr_unix(unix: &SocketAddrUnix, storage: *mut SocketAddrStorage) -> usize { in write_sockaddr_unix()
Daddr.rs162 pub type SocketAddrStorage = c::sockaddr; typedef
/third_party/rust/crates/rustix/src/backend/libc/net/
Dwrite_sockaddr.rs5 use super::addr::SocketAddrStorage;
14 storage: *mut SocketAddrStorage, in write_sockaddr() argument
46 unsafe fn write_sockaddr_v4(v4: &SocketAddrV4, storage: *mut SocketAddrStorage) -> usize { in write_sockaddr_v4()
92 unsafe fn write_sockaddr_v6(v6: &SocketAddrV6, storage: *mut SocketAddrStorage) -> usize { in write_sockaddr_v6()
99 unsafe fn write_sockaddr_unix(unix: &SocketAddrUnix, storage: *mut SocketAddrStorage) -> usize { in write_sockaddr_unix()
Daddr.rs270 pub type SocketAddrStorage = c::sockaddr_storage; typedef
/third_party/rust/crates/rustix/tests/net/
Daddr.rs6 Ipv4Addr, Ipv6Addr, SocketAddrAny, SocketAddrStorage, SocketAddrV4, SocketAddrV6, in encode_decode()
11 let mut encoded = std::mem::MaybeUninit::<SocketAddrStorage>::uninit(); in encode_decode()
17 let mut encoded = std::mem::MaybeUninit::<SocketAddrStorage>::uninit(); in encode_decode()
25 let mut encoded = std::mem::MaybeUninit::<SocketAddrStorage>::uninit(); in encode_decode()
/third_party/rust/crates/rustix/src/net/
Dsocket_addr_any.rs19 pub use backend::net::addr::SocketAddrStorage;
77 pub unsafe fn write(&self, storage: *mut SocketAddrStorage) -> usize { in write()
88 pub unsafe fn read(storage: *const SocketAddrStorage, len: usize) -> io::Result<Self> { in read() argument
Dmod.rs32 pub use socket_addr_any::{SocketAddrAny, SocketAddrStorage};