aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2026-06-11 12:53:31 +0000
committerKristof Provost <kp@FreeBSD.org>2026-06-12 11:53:37 +0000
commit2a478dfc7f9cd60037939e121026bf26a01e8c41 (patch)
tree3e38ebafcf6f3c998542c656a48bc4fc07399b93 /sys/kern
parentbea6f7d02dfbef8f8209f0ca5f1d76877d549f46 (diff)
libpfctl: retrieve family id only once
Look up the pfctl family id when we open the handle, rather than for every function call. This saves us a lot of netlink calls, at the expense of storing one extra int in the handle. Sponsored by: Rubicon Communications, LLC ("Netgate")
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions