HomeFreeBSD

netmap: monitor: add a flag to distinguish packet direction

Description

netmap: monitor: add a flag to distinguish packet direction

The netmap monitor intercepts any TX/RX packets on the monitored
port. However, before this change there was no way to tell
whether an intercepted packet was being transmitted or received
on the monitored port.
A TXMON flag in the netmap slot has been added for this purpose.

Details

Provenance
vmaffioneAuthored on Mar 29 2021, 4:32 PM
Parents
rGa6d768d845c1: netmap: add kernel support for the "offsets" feature
Branches
Unknown
Tags
Unknown