HomeFreeBSD

pf: Introduce pf_nvbool()

Description

pf: Introduce pf_nvbool()

Similar to the existing functions for strings and ints, this lets us
simplify some of the nvlist conversion code.

MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 776df104fa54bb581e1fb88ac44af4fa7fd4052b)

Details

Provenance
kpAuthored on Oct 13 2021, 9:00 AM
Parents
rGdbdc8e3e3f64: bhyve: Update usage and synopsis for the -k flag
Branches
Unknown
Tags
Unknown