freebsd-dev/sbin/ipfw
Boris Lytochkin fc727ad63d ipfw: add [fw]mark implementation for ipfw
Packet Mark is an analogue to ipfw tags with O(1) lookup from mbuf while
regular tags require a single-linked list traversal.
Mark is a 32-bit number that can be looked up in a table
[with 'number' table-type], matched or compared with a number with optional
mask applied before comparison.
Having generic nature, Mark can be used in a variety of needs.
For example, it could be used as a security group: mark will hold a security
group id and represent a group of packet flows that shares same access
control policy.

Reviewed By: pauamma_gundo.com
Differential Revision: https://reviews.freebsd.org/D39555
MFC after:	1 month
2023-04-25 12:40:23 +00:00
..
altq.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
dummynet.c ipfw: use unsigned int for dummynet bandwidth 2021-08-19 10:48:53 +02:00
ipfw.8 ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00
ipfw2.c ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00
ipfw2.h ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00
ipv6.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
main.c ipfw: Fix ipfw/dnctl detection 2022-11-22 09:53:20 +01:00
Makefile ipfw: Introduce dnctl 2021-09-08 17:17:50 +02:00
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
nat.c Allow setting alias port ranges in libalias and ipfw. This will allow a system 2021-02-02 13:24:17 -08:00
nat64clat.c Fix SIGSEGV in ipfw(8) when NAT64 prefix length is omitted. 2020-08-05 11:26:49 +00:00
nat64lsn.c [ipfw] quieten maybe-uninitialized errors in ipfw when compiled under mips-gcc-6.3.0. 2020-07-14 05:07:16 +00:00
nat64stl.c Fix SIGSEGV in ipfw(8) when NAT64 prefix length is omitted. 2020-08-05 11:26:49 +00:00
nptv6.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
tables.c ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00