HomeFreeBSD

kern: wg: split address/mask construction out of wg_aip_add()

Description

kern: wg: split address/mask construction out of wg_aip_add()

We'll re-use these in a future wg_aip_del() to perfectly reconstruct
what we expect to find in a_addr/a_mask.

Reviewed by: ivy, markj (both earlier version), Aaron LI, jhb
Differential Revision: https://reviews.freebsd.org/D50447

Details

Provenance
kevansAuthored on Jun 26 2025, 2:57 AM
Reviewer
ivy
Differential Revision
D50447: kern: wg: split address/mask construction out of wg_aip_add()
Parents
rGba2607ae7dff: kern: wg: refactor out some repetitive bits in allowed-ip config
Branches
Unknown
Tags
Unknown