Searched refs:SocketAddrCRepr (Results 1 – 2 of 2) sorted by relevance
52 pub(crate) union SocketAddrCRepr {57 impl SocketAddrCRepr { implementation63 pub(crate) fn socket_addr(addr: &SocketAddr) -> (SocketAddrCRepr, c_int) { in socket_addr() argument81 let sockaddr = SocketAddrCRepr { v4: sockaddr_in }; in socket_addr()104 let sockaddr = SocketAddrCRepr { v6: sockaddr_in6 }; in socket_addr()
68 pub(crate) union SocketAddrCRepr {73 impl SocketAddrCRepr { impl80 pub(crate) fn socket_addr(addr: &SocketAddr) -> (SocketAddrCRepr, libc::socklen_t) { in socket_addr() argument105 let sockaddr = SocketAddrCRepr { v4: sockaddr_in }; in socket_addr()131 let sockaddr = SocketAddrCRepr { v6: sockaddr_in6 }; in socket_addr()