]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfctl: Use DIOCGETSTATESNV
authorKristof Provost <kp@FreeBSD.org>
Mon, 10 May 2021 14:51:38 +0000 (16:51 +0200)
committerKristof Provost <kp@FreeBSD.org>
Thu, 27 May 2021 07:06:03 +0000 (09:06 +0200)
commit68e0c911c7aa6a8f9de1158e5b270259ad61e304
tree20712b6170859721fdf6d7972a7e19ad372da291
parentf8b887607cb5c0458aa0cdbafce3f9966f43c9ed
pfctl: Use DIOCGETSTATESNV

Migrate to using the new nvlist-based DIOCGETSTATESNV call to obtain the
states list.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30244

(cherry picked from commit bc941291473d8a2164e4ffc3f3e7e6a356cbe747)
lib/libpfctl/libpfctl.c
lib/libpfctl/libpfctl.h
sbin/pfctl/pf_print_state.c
sbin/pfctl/pfctl.c
sbin/pfctl/pfctl.h