aboutsummaryrefslogtreecommitdiff
path: root/sys/net/netmap.h
diff options
context:
space:
mode:
authorVincenzo Maffione <vmaffione@FreeBSD.org>2021-03-29 16:32:54 +0000
committerVincenzo Maffione <vmaffione@FreeBSD.org>2021-03-29 16:32:54 +0000
commit660a47cb991d5a7ca69cd8dd9c09a5288d49e405 (patch)
tree63a418bf149e680d5ed1f0ed7c98d2d4902f636a /sys/net/netmap.h
parenta6d768d845c173823785c71bb18b40074e7a8998 (diff)
Diffstat (limited to 'sys/net/netmap.h')
-rw-r--r--sys/net/netmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/net/netmap.h b/sys/net/netmap.h
index 7da40d6869f1..57480cba4ebd 100644
--- a/sys/net/netmap.h
+++ b/sys/net/netmap.h
@@ -219,6 +219,11 @@ struct netmap_slot {
* The 'len' field refers to the individual fragment.
*/
+#define NS_TXMON 0x0040
+ /* (monitor ports only) the packet comes from the TX
+ * ring of the monitored port
+ */
+
#define NS_PORT_SHIFT 8
#define NS_PORT_MASK (0xff << NS_PORT_SHIFT)
/*