Access the UMEM frames by passing it the descriptor which it uses to define the slice for reading or writing. Includes readable and writeable headroom and data types for easily distinguishing between headroom and packet data, also adds a cursor type for convenient writing.
Add config builders and add extra types to enforce restrictions on certain values / sizes (e.g queue sizes)
Remove lifetimes by packaging the various queues with an Arc'd UMEM or socket where needed to ensure they don't outlive what they depend on. Shouldn't cause any slowdown in the single threaded case since the Arcs aren't dereferenced.
Quite a few changes:
Arc
'd UMEM or socket where needed to ensure they don't outlive what they depend on. Shouldn't cause any slowdown in the single threaded case since theArc
s aren't dereferenced.libbpf-sys
to 0.6.0-1