Home
last modified time | relevance | path

Searched refs:SocketAddrCRepr (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/mio/src/sys/windows/
Dnet.rs52 pub(crate) union SocketAddrCRepr {
57 impl SocketAddrCRepr { implementation
63 pub(crate) fn socket_addr(addr: &SocketAddr) -> (SocketAddrCRepr, c_int) { in socket_addr() argument
81 let sockaddr = SocketAddrCRepr { v4: sockaddr_in }; in socket_addr()
104 let sockaddr = SocketAddrCRepr { v6: sockaddr_in6 }; in socket_addr()
/external/rust/crates/mio/src/sys/unix/
Dnet.rs68 pub(crate) union SocketAddrCRepr {
73 impl SocketAddrCRepr { impl
80 pub(crate) fn socket_addr(addr: &SocketAddr) -> (SocketAddrCRepr, libc::socklen_t) { in socket_addr() argument
105 let sockaddr = SocketAddrCRepr { v4: sockaddr_in }; in socket_addr()
131 let sockaddr = SocketAddrCRepr { v6: sockaddr_in6 }; in socket_addr()