Lines Matching refs:SockAddr
36 use crate::{RecvFlags, SockAddr, TcpKeepalive, Type};
238 pub(crate) fn bind(socket: Socket, addr: &SockAddr) -> io::Result<()> { in bind()
242 pub(crate) fn connect(socket: Socket, addr: &SockAddr) -> io::Result<()> { in connect()
311 pub(crate) fn accept(socket: Socket) -> io::Result<(Socket, SockAddr)> { in accept() argument
314 SockAddr::init(|storage, len| { in accept()
324 pub(crate) fn getsockname(socket: Socket) -> io::Result<SockAddr> { in getsockname() argument
327 SockAddr::init(|storage, len| { in getsockname()
338 pub(crate) fn getpeername(socket: Socket) -> io::Result<SockAddr> { in getpeername() argument
341 SockAddr::init(|storage, len| { in getpeername()
444 ) -> io::Result<(usize, SockAddr)> { in recv_from() argument
447 SockAddr::init(|storage, addrlen| { in recv_from()
473 ) -> io::Result<(usize, RecvFlags, SockAddr)> { in recv_from_vectored() argument
476 SockAddr::init(|storage, addrlen| { in recv_from_vectored()
561 addr: &SockAddr, in send_to() argument
582 addr: &SockAddr, in send_to_vectored() argument