diff --git a/tools/xdp/s2n-quic-xdp/src/io/rx.rs b/tools/xdp/s2n-quic-xdp/src/io/rx.rs index 326a4da9cc..2a8f882daf 100644 --- a/tools/xdp/s2n-quic-xdp/src/io/rx.rs +++ b/tools/xdp/s2n-quic-xdp/src/io/rx.rs @@ -117,7 +117,7 @@ impl Channel { /// Iterates over all of the acquired entries in the ring and calls `on_packet` #[inline] - fn for_each(&mut self, mut on_packet: F) { + pub fn for_each(&mut self, mut on_packet: F) { // one last effort to acquire any packets let len = self.rx.acquire(1); let len = self.fill.acquire(len);