HomeFreeBSD

in6: Add a helper function to compute expiry times

Description

in6: Add a helper function to compute expiry times

Tidy up a bunch of places that have the same duplicated logic. Simplify
callers of in6_init_prefix_ltimes(). No functional change intended.

Reviewed by: pouria, zlei, tuexen, glebius
MFC after: 2 weeks
Sponsored by: OPNsense
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D54561

(cherry picked from commit fb08f80eaf90eb7ace202d8604634fc181be8980)

Details

Provenance
markjAuthored on Jan 12 2026, 1:49 PM
Reviewer
pouria
Differential Revision
D54561: in6: Add a helper function to compute expiry times
Parents
rGa68d541011af: freebsd32_rusage_out(): bzero the compat32 structure
Branches
Unknown
Tags
Unknown