Expand description
Multithreaded packet processing using Rayon.
This module provides parallel variants of common packet operations for high-throughput scenarios like PCAP batch processing and flow extraction.
Functionsยง
- configure_
thread_ pool - Configure the global Rayon thread pool.
- par_
count - Count packets matching a predicate in parallel.
- par_
filter - Filter packets in parallel using a predicate.
- par_map
- Apply a function to each packet in parallel, collecting results.
- parse_
and_ map - Parse and immediately apply a transform in parallel.
- parse_
batch - Parse a batch of raw byte buffers into packets in parallel.
- parse_
batch_ bytes - Parse a batch of
Bytesbuffers into packets in parallel (zero-copy). - parse_
batch_ ok - Parse a batch and return only successfully parsed packets.
- summarize_
batch - Parallel summary extraction: parse and summarize each packet.