HomeFreeBSD

libpfctl: retrieve family id only once

Description

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")

Details

Provenance
kpAuthored on Jun 11 2026, 12:53 PM
Parents
rGbea6f7d02dfb: ice(4): Add support for new E810-XXV-2 adapters
Branches
Unknown
Tags
Unknown