Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/net/
Dvirtio_net.rs130 rx_buffer: Option<virtio_drivers::device::net::RxBuffer>, field
136 rx_buffer: Option<virtio_drivers::device::net::RxBuffer>, in new()
138 return Self { driver, rx_buffer }; in new()
206 let mut rx_buf = self.rx_buffer.unwrap(); in consume()
/DragonOS-0.1.8/kernel/src/net/
Dsocket.rs250 let rx_buffer = raw::PacketBuffer::new( in new() localVariable
259 rx_buffer, in new()
433 let rx_buffer = udp::PacketBuffer::new( in new() localVariable
437 let socket = udp::Socket::new(tx_buffer, rx_buffer); in new()
658 let rx_buffer = tcp::SocketBuffer::new(vec![0; Self::DEFAULT_RX_BUF_SIZE]); in new() localVariable
659 let socket = tcp::Socket::new(tx_buffer, rx_buffer); in new()
920 let rx_buffer = tcp::SocketBuffer::new(vec![0; Self::DEFAULT_RX_BUF_SIZE]); in accept() localVariable
923 let mut tcp_socket = tcp::Socket::new(rx_buffer, tx_buffer); in accept()