1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00
freebsd/sys/netpfil/ipfw
Andrey V. Elsukov e758846c09 dd ipfw_get_action() function to get the pointer to action opcode.
ACTION_PTR() returns pointer to the start of rule action section,
but rule can keep several rule modifiers like O_LOG, O_TAG and O_ALTQ,
and only then real action opcode is stored.

ipfw_get_action() function inspects the rule action section, skips
all modifiers and returns action opcode.

Use this function in ipfw_reset_eaction() and flush_nat_ptrs().

MFC after:	1 week
Sponsored by:	Yandex LLC
2019-07-29 15:09:12 +00:00
..
nat64 Initialize V_nat64out methods explicitly. 2019-06-05 09:25:40 +00:00
nptv6 Reimplement how net.inet.ip.fw.dyn_keep_states works. 2018-12-04 16:01:25 +00:00
pmod Use host byte order when comparing mss values. 2018-08-08 17:32:02 +00:00
test
dn_aqm_codel.c
dn_aqm_codel.h
dn_aqm_pie.c
dn_aqm_pie.h
dn_aqm.h
dn_heap.c
dn_heap.h
dn_sched_fifo.c
dn_sched_fq_codel_helper.h
dn_sched_fq_codel.c
dn_sched_fq_codel.h
dn_sched_fq_pie.c
dn_sched_prio.c
dn_sched_qfq.c
dn_sched_rr.c
dn_sched_wf2q.c
dn_sched.h
dummynet.txt
ip_dn_glue.c
ip_dn_io.c Remove 'dir' argument from dummynet_io(). This makes it possible to make 2019-03-14 22:32:50 +00:00
ip_dn_private.h Remove 'dir' argument from dummynet_io(). This makes it possible to make 2019-03-14 22:32:50 +00:00
ip_dummynet.c
ip_fw2.c Avoid possible lock leaking. 2019-07-29 12:55:48 +00:00
ip_fw_bpf.c Eliminate rmlock from ipfw's BPF code. 2019-07-23 12:52:36 +00:00
ip_fw_dynamic.c - Add more flags to ip_fw_args. At this changeset only IPFW_ARGS_IN and 2019-03-14 22:28:50 +00:00
ip_fw_eaction.c dd ipfw_get_action() function to get the pointer to action opcode. 2019-07-29 15:09:12 +00:00
ip_fw_iface.c Revert r316461: Remove "IPFW static rules" rmlock, and use pfil's global lock. 2019-01-31 21:04:50 +00:00
ip_fw_log.c PFIL_MEMPTR for ipfw link level hook 2019-03-14 22:52:16 +00:00
ip_fw_nat.c dd ipfw_get_action() function to get the pointer to action opcode. 2019-07-29 15:09:12 +00:00
ip_fw_pfil.c Always create ipfw(4) hooks as long as module is loaded. 2019-03-21 16:15:29 +00:00
ip_fw_private.h dd ipfw_get_action() function to get the pointer to action opcode. 2019-07-29 15:09:12 +00:00
ip_fw_sockopt.c dd ipfw_get_action() function to get the pointer to action opcode. 2019-07-29 15:09:12 +00:00
ip_fw_table_algo.c Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). 2018-06-16 08:26:23 +00:00
ip_fw_table_value.c Revert r316461: Remove "IPFW static rules" rmlock, and use pfil's global lock. 2019-01-31 21:04:50 +00:00
ip_fw_table.c Revert r316461: Remove "IPFW static rules" rmlock, and use pfil's global lock. 2019-01-31 21:04:50 +00:00
ip_fw_table.h