opnsense-src/lib/libpfctl
Kristof Provost 25f13f4772 libpfctl: migrate to DIOCGETSTATESV2
Stop using the *NV version to retrieve states, as its performance is
unacceptably bad.

For 1,000,000 states the nvlist version needed ~100 seconds to retrieve
the states, the new version needs ~3 seconds.

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

(cherry picked from commit be70c7a50d)
2021-07-16 11:08:27 +02:00
..
libpfctl.c libpfctl: migrate to DIOCGETSTATESV2 2021-07-16 11:08:27 +02:00
libpfctl.h pf: Reduce the data returned in DIOCGETSTATESNV 2021-07-09 10:07:21 +02:00
Makefile libpfct: Fix PIC flag 2021-05-07 10:15:43 +02:00