Searched refs:SocketAddrStorage (Results 1 – 7 of 7) sorted by relevance
/third_party/rust/crates/rustix/src/backend/linux_raw/net/ |
D | write_sockaddr.rs | 6 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()
|
D | addr.rs | 162 pub type SocketAddrStorage = c::sockaddr; typedef
|
/third_party/rust/crates/rustix/src/backend/libc/net/ |
D | write_sockaddr.rs | 5 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()
|
D | addr.rs | 270 pub type SocketAddrStorage = c::sockaddr_storage; typedef
|
/third_party/rust/crates/rustix/tests/net/ |
D | addr.rs | 6 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/ |
D | socket_addr_any.rs | 19 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
|
D | mod.rs | 32 pub use socket_addr_any::{SocketAddrAny, SocketAddrStorage};
|