]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: convert DIOCGETSTATUS to netlink
authorKristof Provost <kp@FreeBSD.org>
Sat, 23 Mar 2024 06:31:51 +0000 (07:31 +0100)
committerKristof Provost <kp@FreeBSD.org>
Mon, 29 Apr 2024 14:32:23 +0000 (16:32 +0200)
commit5824df8d991c32def616c51994161e60e5b78948
treedbe454df47fdc265a716e4960cfe0b9b1cdc6aba
parent044243fcc9b4c639cf5655e37b98478bcb312590
pf: convert DIOCGETSTATUS to netlink

Introduce pfctl_get_status_h() because we need the pfctl_handle. In this variant
use netlink to obtain the information.

Sponsored by: Rubicon Communications, LLC ("Netgate")
contrib/pf/ftp-proxy/filter.c
contrib/pf/tftp-proxy/filter.c
lib/libpfctl/libpfctl.c
lib/libpfctl/libpfctl.h
sbin/pfctl/pfctl.c
sys/netlink/netlink_message_writer.h
sys/netlink/netlink_snl.h
sys/netpfil/pf/pf_nl.c
sys/netpfil/pf/pf_nl.h
usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c