]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pf: support basic filters for state listing
authorKristof Provost <kp@FreeBSD.org>
Mon, 16 Oct 2023 14:47:22 +0000 (16:47 +0200)
committerKristof Provost <kp@FreeBSD.org>
Mon, 23 Oct 2023 14:24:52 +0000 (16:24 +0200)
commit044eef6ab9cf1730d21c5f5dffebb0cd35fb5bbf
treeeec05869ef1d10146677579d434ad8a86adc34b9
parentffbf25951e7b7f867989b621b2c07e9dad9441fb
pf: support basic filters for state listing

Allow users(pace) to specify a protocol, interface, address family and/
or address and mask, allowing the state listing to be pre-filtered in
the kernel.

Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D42280
lib/libpfctl/libpfctl.c
lib/libpfctl/libpfctl.h
sbin/pfctl/pfctl.c
sys/netpfil/pf/pf_nl.c
sys/netpfil/pf/pf_nl.h