Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/net/
Dnet_core.rs15 socket::{sockets::TcpSocket, HANDLE_MAP, SOCKET_SET},
128 let mut sockets = SOCKET_SET.lock_irqsave(); in poll_ifaces() localVariable
130 iface.poll(&mut sockets).ok(); in poll_ifaces()
132 let _ = send_event(&sockets); in poll_ifaces()
150 let sockets = SOCKET_SET.try_lock_irqsave(); in poll_ifaces_try_lock() localVariable
152 if sockets.is_err() { in poll_ifaces_try_lock()
157 let mut sockets = sockets.unwrap(); in poll_ifaces_try_lock() localVariable
159 iface.poll(&mut sockets).ok(); in poll_ifaces_try_lock()
161 send_event(&sockets)?; in poll_ifaces_try_lock()
181 let mut sockets = SOCKET_SET.try_lock_irqsave()?; in poll_ifaces_try_lock_onetime() localVariable
[all …]
/DragonOS-0.1.9/kernel/src/net/socket/
Dsockets.rs393 let mut sockets = SOCKET_SET.lock_irqsave(); in bind() localVariable
394 let socket = sockets.get_mut::<udp::Socket>(self.handle.0); in bind()
400 let sockets = SOCKET_SET.lock_irqsave(); in poll() localVariable
401 let socket = sockets.get::<udp::Socket>(self.handle.0); in poll()
441 let sockets = SOCKET_SET.lock_irqsave(); in endpoint() localVariable
442 let socket = sockets.get::<udp::Socket>(self.handle.0); in endpoint()
677 let mut sockets = SOCKET_SET.lock_irqsave(); in connect() localVariable
678 let socket = sockets.get_mut::<tcp::Socket>(self.handle.0); in connect()
695 drop(sockets); in connect()
698 let mut sockets = SOCKET_SET.lock_irqsave(); in connect() localVariable
[all …]
Dmod.rs30 use self::sockets::{RawSocket, SeqpacketSocket, TcpSocket, UdpSocket};
38 pub mod sockets; module
/DragonOS-0.1.9/kernel/src/driver/net/
Dmod.rs25 fn poll(&self, sockets: &mut iface::SocketSet) -> Result<(), SystemError>; in poll()
Dvirtio_net.rs335 fn poll(&self, sockets: &mut smoltcp::iface::SocketSet) -> Result<(), SystemError> { in poll()
338 let poll_res = guard.poll(timestamp, self.driver.force_get_mut(), sockets); in poll()
/DragonOS-0.1.9/kernel/src/driver/net/e1000e/
De1000e_driver.rs266 fn poll(&self, sockets: &mut smoltcp::iface::SocketSet) -> Result<(), SystemError> { in poll()
269 let poll_res = guard.poll(timestamp, self.driver.force_get_mut(), sockets); in poll()