Home
last modified time | relevance | path

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

/DragonOS-0.1.7/kernel/src/net/
Dsocket.rs503 local_endpoint: Option<wire::IpEndpoint>, // save local endpoint for bind() field
532 local_endpoint: None, in new()
540 local_endpoint: smoltcp::wire::IpEndpoint, in do_listen()
542 let listen_result = if local_endpoint.addr.is_unspecified() { in do_listen()
544 socket.listen(local_endpoint.port) in do_listen()
547 socket.listen(local_endpoint) in do_listen()
725 let local_endpoint = self.local_endpoint.ok_or(SystemError::EINVAL)?; in listen() localVariable
734 return self.do_listen(socket, local_endpoint); in listen()
743 self.local_endpoint = Some(ip); in bind()
758 let endpoint = self.local_endpoint.ok_or(SystemError::EINVAL)?; in accept()
[all …]