Home
last modified time | relevance | path

Searched refs:Ip (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.7/kernel/src/net/
Dsocket.rs173 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()
[all …]
Dmod.rs61 Ip(Option<IpEndpoint>), enumerator
Dsyscall.rs698 return Ok(Endpoint::Ip(Some(wire::IpEndpoint::new(ip, port)))); in to_endpoint()
771 Endpoint::Ip(ip_endpoint) => { in from()