diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2026-06-11 12:53:31 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2026-06-12 11:53:37 +0000 |
| commit | 2a478dfc7f9cd60037939e121026bf26a01e8c41 (patch) | |
| tree | 3e38ebafcf6f3c998542c656a48bc4fc07399b93 /sys/modules/genet | |
| parent | bea6f7d02dfbef8f8209f0ca5f1d76877d549f46 (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/modules/genet')
0 files changed, 0 insertions, 0 deletions
