Home
last modified time | relevance | path

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

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