Lines Matching refs:Ip

295                         Endpoint::Ip(Some(smoltcp::wire::IpEndpoint {  in read()
304 return (Err(SystemError::EAGAIN_OR_EWOULDBLOCK), Endpoint::Ip(None)); in read()
330 if let Some(Endpoint::Ip(Some(endpoint))) = to { in write()
459 if let Endpoint::Ip(Some(ip)) = endpoint { in do_bind()
495 return (Ok(size), Endpoint::Ip(Some(remote_endpoint))); in read()
510 if let Some(Endpoint::Ip(Some(ref endpoint))) = to { in write()
512 } else if let Some(Endpoint::Ip(Some(ref endpoint))) = self.remote_endpoint { in write()
530 wire::IpAddress::Ipv4(_) => Endpoint::Ip(Some(wire::IpEndpoint::new( in write()
534 wire::IpAddress::Ipv6(_) => Endpoint::Ip(Some(wire::IpEndpoint::new( in write()
580 if let Endpoint::Ip(_) = endpoint { in connect()
622 return Some(Endpoint::Ip(Some(result))); in endpoint()
720 return (Err(SystemError::ENOTCONN), Endpoint::Ip(None)); in read()
731 return (Err(SystemError::ENOTCONN), Endpoint::Ip(None)); in read()
737 return (Ok(size), Endpoint::Ip(Some(endpoint))); in read()
744 return (Err(SystemError::ENOTCONN), Endpoint::Ip(None)); in read()
747 return (Err(SystemError::ENOTCONN), Endpoint::Ip(None)); in read()
752 return (Err(SystemError::ENOTCONN), Endpoint::Ip(None)); in read()
813 if let Endpoint::Ip(Some(ip)) = endpoint { in connect()
881 if let Endpoint::Ip(Some(mut ip)) = endpoint { in bind()
953 return Ok((new_socket, Endpoint::Ip(Some(remote_ep)))); in accept()
963 self.local_endpoint.clone().map(|x| Endpoint::Ip(Some(x))); in endpoint()
969 result = Some(Endpoint::Ip(Some(ep))); in endpoint()
978 return socket.remote_endpoint().map(|x| Endpoint::Ip(Some(x))); in peer_endpoint()
1150 if let Some(Endpoint::Ip(Some(ip))) = socket.endpoint() { in close()