Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/net/
Dmod.rs57 pub enum Endpoint { enum
72 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint); in read() argument
130 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept() argument
137 fn endpoint(&self) -> Option<Endpoint> { in endpoint()
144 fn peer_endpoint(&self) -> Option<Endpoint> { in peer_endpoint()
Dsocket.rs161 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint) { in read() argument
347 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint) { in read() argument
471 fn endpoint(&self) -> Option<Endpoint> { in endpoint()
492 fn peer_endpoint(&self) -> Option<Endpoint> { in peer_endpoint()
566 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint) { in read() argument
757 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept() argument
807 fn endpoint(&self) -> Option<Endpoint> { in endpoint()
821 fn peer_endpoint(&self) -> Option<Endpoint> { in peer_endpoint()
Dsyscall.rs673 pub fn to_endpoint(addr: *const SockAddr, len: usize) -> Result<Endpoint, SystemError> { in to_endpoint()