Home
last modified time | relevance | path

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

/DragonOS/kernel/src/net/socket/
H A Dinet.rs53 let rx_buffer = raw::PacketBuffer::new( in new() localVariable
65 rx_buffer, in new()
264 let rx_buffer = udp::PacketBuffer::new( in new() localVariable
272 let socket = udp::Socket::new(rx_buffer, tx_buffer); in new()
569 let rx_buffer = tcp::SocketBuffer::new(vec![0; Self::DEFAULT_RX_BUF_SIZE]); in create_new_socket() localVariable
571 tcp::Socket::new(rx_buffer, tx_buffer) in create_new_socket()
/DragonOS/kernel/src/driver/net/
H A Dvirtio_net.rs529 rx_buffer: Option<virtio_drivers::device::net::RxBuffer>, field
535 rx_buffer: Option<virtio_drivers::device::net::RxBuffer>, in new()
537 return Self { driver, rx_buffer }; in new()
610 let mut rx_buf = self.rx_buffer.unwrap(); in consume()