Lines Matching refs:Ip

173                         Endpoint::Ip(Some(smoltcp::wire::IpEndpoint {  in read()
182 return (Err(SystemError::EAGAIN_OR_EWOULDBLOCK), Endpoint::Ip(None)); in read()
208 if let Some(Endpoint::Ip(Some(endpoint))) = to { in write()
328 if let Endpoint::Ip(Some(ip)) = endpoint { in do_bind()
361 return (Ok(size), Endpoint::Ip(Some(remote_endpoint))); in read()
376 if let Some(Endpoint::Ip(Some(ref endpoint))) = to { in write()
378 } else if let Some(Endpoint::Ip(Some(ref endpoint))) = self.remote_endpoint { in write()
396 wire::IpAddress::Ipv4(_) => Endpoint::Ip(Some(wire::IpEndpoint::new( in write()
400 wire::IpAddress::Ipv6(_) => Endpoint::Ip(Some(wire::IpEndpoint::new( in write()
446 if let Endpoint::Ip(_) = endpoint { in connect()
488 return Some(Endpoint::Ip(Some(result))); in endpoint()
577 return (Err(SystemError::ENOTCONN), Endpoint::Ip(None)); in read()
588 return (Err(SystemError::ENOTCONN), Endpoint::Ip(None)); in read()
594 return (Ok(size), Endpoint::Ip(Some(endpoint))); in read()
601 return (Err(SystemError::ENOTCONN), Endpoint::Ip(None)); in read()
604 return (Err(SystemError::ENOTCONN), Endpoint::Ip(None)); in read()
609 return (Err(SystemError::ENOTCONN), Endpoint::Ip(None)); in read()
670 if let Endpoint::Ip(Some(ip)) = endpoint { in connect()
738 if let Endpoint::Ip(Some(mut ip)) = endpoint { in bind()
799 return Ok((new_socket, Endpoint::Ip(Some(remote_ep)))); in accept()
809 self.local_endpoint.clone().map(|x| Endpoint::Ip(Some(x))); in endpoint()
815 result = Some(Endpoint::Ip(Some(ep))); in endpoint()
824 return socket.remote_endpoint().map(|x| Endpoint::Ip(Some(x))); in peer_endpoint()