Home
last modified time | relevance | path

Searched defs:endpoint (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/net/socket/
H A Dinet.rs448 fn endpoint(&self) -> Option<Endpoint> { in endpoint() method
647 let endpoint = if let Some(p) = socket.remote_endpoint() { in read() localVariable
885 let endpoint = self.local_endpoint.ok_or(SystemError::EINVAL)?; in accept() localVariable
966 fn endpoint(&self) -> Option<Endpoint> { in endpoint() method
H A Dmod.rs169 fn endpoint(&self) -> Option<Endpoint> { in endpoint() method
/DragonOS/kernel/src/net/
H A Dsyscall.rs198 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in connect() localVariable
215 let endpoint: Endpoint = SockAddr::to_endpoint(addr, addrlen)?; in bind() localVariable
240 let endpoint = if addr.is_null() { in sendto() localVariable
463 let endpoint: Endpoint = socket.endpoint().ok_or(SystemError::EINVAL)?; in getsockname() localVariable
493 let endpoint: Endpoint = socket.peer_endpoint().ok_or(SystemError::EINVAL)?; in getpeername() localVariable