HomeFreeBSD

netinet6: use in6_ifmtu() instead of IN6_LINKMTU() macro

Description

netinet6: use in6_ifmtu() instead of IN6_LINKMTU() macro

There should be no functional change. If there are any performance
concerns with a function call, with the future changes, that would move
ND6 bits into in6_ifextra, this function would be easily inline-able.

Reviewed by: tuexen
Differential Revision: https://reviews.freebsd.org/D54724

Details

Provenance
glebiusAuthored on Jan 23 2026, 10:17 PM
Reviewer
tuexen
Differential Revision
D54724: netinet6: use in6_ifmtu() instead of IN6_LINKMTU() macro
Parents
rG3182dc411788: netinet6: embed the counter(9) arrays in struct in6_ifextra
Branches
Unknown
Tags
Unknown