Lines Matching refs:endpoint
231 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in do_connect() localVariable
237 socket.connect(endpoint)?; in do_connect()
259 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in do_bind() localVariable
264 socket.bind(endpoint)?; in do_bind()
310 let endpoint = if addr.is_null() { in do_sendto() localVariable
320 return socket.write(buf, endpoint).map(|n| n as i64); in do_sendto()
379 let (n, endpoint) = socket.read(buf); in do_recvfrom()
386 let sockaddr_in = SockAddr::from(endpoint); in do_recvfrom()
427 let (n, endpoint) = socket.read(&mut buf); in do_recvmsg()
435 let sockaddr_in = SockAddr::from(endpoint); in do_recvmsg()
565 let endpoint: Endpoint = socket.endpoint().ok_or(SystemError::EINVAL)?; in do_getsockname() localVariable
568 let sockaddr_in = SockAddr::from(endpoint); in do_getsockname()
605 let endpoint: Endpoint = socket.peer_endpoint().ok_or(SystemError::EINVAL)?; in do_getpeername() localVariable
608 let sockaddr_in = SockAddr::from(endpoint); in do_getpeername()