Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/net/socket/
Dsockets.rs110 Endpoint::Ip(Some(wire::IpEndpoint { in read()
119 return (Err(SystemError::EAGAIN_OR_EWOULDBLOCK), Endpoint::Ip(None)); in read()
148 if let Some(Endpoint::Ip(Some(endpoint))) = to { in write()
278 if let Endpoint::Ip(Some(ip)) = endpoint { in do_bind()
321 return (Ok(size), Endpoint::Ip(Some(remote_endpoint))); in read()
339 if let Some(Endpoint::Ip(Some(ref endpoint))) = to { in write()
341 } else if let Some(Endpoint::Ip(Some(ref endpoint))) = self.remote_endpoint { in write()
359 wire::IpAddress::Ipv4(_) => Endpoint::Ip(Some(wire::IpEndpoint::new( in write()
363 wire::IpAddress::Ipv6(_) => Endpoint::Ip(Some(wire::IpEndpoint::new( in write()
414 if let Endpoint::Ip(_) = endpoint { in connect()
[all …]
Dmod.rs321 if let Some(Endpoint::Ip(Some(ip))) = socket.endpoint() { in close()
/DragonOS-0.1.9/kernel/src/net/
Dmod.rs43 Ip(Option<IpEndpoint>), enumerator
Dsyscall.rs589 return Ok(Endpoint::Ip(Some(wire::IpEndpoint::new(ip, port)))); in to_endpoint()
667 Endpoint::Ip(ip_endpoint) => { in from()