freebsd-dev/sys/netpfil/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
..
nat64 IfAPI: Explicitly include <net/if_private.h> in netstack 2023-01-31 15:02:16 -05:00
nptv6 IfAPI: Explicitly include <net/if_private.h> in netstack 2023-01-31 15:02:16 -05:00
pmod
test
dn_aqm_codel.c netpfil: Fix a typo in a source code comment 2022-09-03 19:18:54 +02:00
dn_aqm_codel.h sys: Nuke double-semicolons 2022-11-02 09:34:20 -06:00
dn_aqm_pie.c dummynet: use m_rcvif_serialize/restore when queueing packets 2022-05-05 14:38:07 -04:00
dn_aqm_pie.h
dn_aqm.h dummynet: Fix schedlist and aqmlist locking 2021-06-03 09:02:49 +02:00
dn_heap.c
dn_heap.h
dn_sched_fifo.c
dn_sched_fq_codel_helper.h
dn_sched_fq_codel.c dummynet: fix codel 2022-11-11 11:53:31 +01:00
dn_sched_fq_codel.h dummynet: use m_rcvif_serialize/restore when queueing packets 2022-05-05 14:38:07 -04:00
dn_sched_fq_pie.c dummynet: use m_rcvif_serialize/restore when queueing packets 2022-05-05 14:38:07 -04:00
dn_sched_prio.c
dn_sched_qfq.c
dn_sched_rr.c
dn_sched_wf2q.c dummynet: dn_dequeue() may return NULL 2022-01-28 23:09:08 +01:00
dn_sched.h dummynet: use m_rcvif_serialize/restore when queueing packets 2022-05-05 14:38:07 -04:00
dummynet.txt
ip_dn_glue.c ipfw: use unsigned int for dummynet bandwidth 2021-08-19 10:48:53 +02:00
ip_dn_io.c IfAPI: Explicitly include <net/if_private.h> in netstack 2023-01-31 15:02:16 -05:00
ip_dn_private.h dummynet: do not store struct ifnet pointers 2022-05-20 14:49:30 +02:00
ip_dummynet.c Suppress unused variable warning in ip_dummynet.c 2022-07-20 17:13:49 +02:00
ip_fw2.c ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00
ip_fw_bpf.c IfAPI: Explicitly include <net/if_private.h> in netstack 2023-01-31 15:02:16 -05:00
ip_fw_dynamic.c netpfil: Correct some typos in source code comments 2022-09-04 12:46:05 +02:00
ip_fw_eaction.c
ip_fw_iface.c IfAPI: Explicitly include <net/if_private.h> in netstack 2023-01-31 15:02:16 -05:00
ip_fw_log.c ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00
ip_fw_nat.c IfAPI: Explicitly include <net/if_private.h> in netstack 2023-01-31 15:02:16 -05:00
ip_fw_pfil.c ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00
ip_fw_private.h ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00
ip_fw_sockopt.c ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00
ip_fw_table_algo.c ipfw: add support radix tables and table lookup for MAC addresses 2022-06-04 19:12:29 +03:00
ip_fw_table_value.c ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00
ip_fw_table.c ipfw: add [fw]mark implementation for ipfw 2023-04-25 12:40:23 +00:00
ip_fw_table.h