Home
last modified time | relevance | path

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

/DragonOS/kernel/src/net/socket/
H A Dinet.rs107 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint) { in read() argument
338 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint) { in read() argument
448 fn endpoint(&self) -> Option<Endpoint> { in endpoint()
469 fn peer_endpoint(&self) -> Option<Endpoint> { in peer_endpoint()
618 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint) { in read() argument
881 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept() argument
966 fn endpoint(&self) -> Option<Endpoint> { in endpoint()
982 fn peer_endpoint(&self) -> Option<Endpoint> { in peer_endpoint()
H A Dunix.rs63 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint) { in read() argument
174 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint) { in read() argument
H A Dmod.rs104 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint); in read() argument
162 fn accept(&mut self) -> Result<(Box<dyn Socket>, Endpoint), SystemError> { in accept() argument
169 fn endpoint(&self) -> Option<Endpoint> { in endpoint()
176 fn peer_endpoint(&self) -> Option<Endpoint> { in peer_endpoint()
/DragonOS/kernel/src/net/
H A Dmod.rs41 pub enum Endpoint { enum
H A Dsyscall.rs562 pub fn to_endpoint(addr: *const SockAddr, len: usize) -> Result<Endpoint, SystemError> { in to_endpoint()