Function netstack3_core::device::handle_queued_rx_packets
source · pub fn handle_queued_rx_packets<NonSyncCtx: NonSyncContext>(
sync_ctx: &SyncCtx<NonSyncCtx>,
ctx: &mut NonSyncCtx,
device: &LoopbackDeviceId<NonSyncCtx>
) -> WorkQueueReport
Expand description
Handle a batch of queued RX packets for the device.
If packets remain in the RX queue after a batch of RX packets has been
handled, the RX task will be scheduled to run again so the next batch of
RX packets may be handled. See DeviceLayerEventDispatcher::wake_rx_task
for more details.