diff options
| author | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2021-03-29 16:32:54 +0000 |
|---|---|---|
| committer | Vincenzo Maffione <vmaffione@FreeBSD.org> | 2021-03-29 16:32:54 +0000 |
| commit | 660a47cb991d5a7ca69cd8dd9c09a5288d49e405 (patch) | |
| tree | 63a418bf149e680d5ed1f0ed7c98d2d4902f636a /sys/net/netmap.h | |
| parent | a6d768d845c173823785c71bb18b40074e7a8998 (diff) | |
Diffstat (limited to 'sys/net/netmap.h')
| -rw-r--r-- | sys/net/netmap.h | 5 |
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) /* |
