HomeFreeBSD

in: add in_mask2len()

Description

in: add in_mask2len()

Similar to the existing in6_mask2len() function, but for IPv4. This will be used
by pf's nat64 code.

Obtained from: OpenBSD
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D47785

Details

Provenance
kpAuthored on Oct 22 2024, 8:45 AM
Differential Revision
D47785: in: add in_mask2len()
Parents
rG2d7e68d5cd76: pf: add post-NAT src/dst address/port to pf_pdesc
Branches
Unknown
Tags
Unknown