Searched defs:Endpoint (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.7/kernel/src/net/ |
D | mod.rs | 57 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()
|
D | socket.rs | 161 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()
|
D | syscall.rs | 673 pub fn to_endpoint(addr: *const SockAddr, len: usize) -> Result<Endpoint, SystemError> { in to_endpoint()
|