We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd5ee73 commit 645c36aCopy full SHA for 645c36a
tools/xdp/s2n-quic-xdp/src/io/rx.rs
@@ -117,7 +117,7 @@ impl<D: Driver> Channel<D> {
117
118
/// Iterates over all of the acquired entries in the ring and calls `on_packet`
119
#[inline]
120
- fn for_each<F: FnMut(RxTxDescriptor)>(&mut self, mut on_packet: F) {
+ pub fn for_each<F: FnMut(RxTxDescriptor)>(&mut self, mut on_packet: F) {
121
// one last effort to acquire any packets
122
let len = self.rx.acquire(1);
123
let len = self.fill.acquire(len);
0 commit comments