freebsd-dev/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
nptv6
pmod
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
ip_dn_private.h
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
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
ip_fw_log.c
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
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
ip_fw_table_value.c
ip_fw_table.c
ip_fw_table.h