HomeFreeBSD

libnetmap: add support for the offset features

Description

libnetmap: add support for the offset features

The companion libnetmap changes for the "offsets" kernel support added
in a6d768d845c173823785c. This includes code to parse the "@offset=NNN"
option that can be appended to the port name by any nmport_* application.
Example:

  1. pkt-gen -i 'netmap:em0@offset=16'

Details

Provenance
vmaffioneAuthored on Mar 29 2021, 4:38 PM
Parents
rG660a47cb991d: netmap: monitor: add a flag to distinguish packet direction
Branches
Unknown
Tags
Unknown