diff options
| author | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-01-23 14:17:40 -0800 |
|---|---|---|
| committer | Gleb Smirnoff <glebius@FreeBSD.org> | 2026-01-23 14:17:40 -0800 |
| commit | 576ee62dd2e5e0454a5316eb9207f4ebaa543171 (patch) | |
| tree | c8d5496bdcee4811242614df25c29243fbd6c257 /source/Plugins/LanguageRuntime/Java/JavaLanguageRuntime.cpp | |
| parent | 25a11d9805fc94ec6b01525b3902c89be87c735c (diff) | |
netinet6: store ND context directly in struct in6_ifextra
Stop using struct nd_ifinfo for that, because it is an API struct for
SIOCGIFINFO_IN6. The functional changes are isolated to the protocol
attach and detach: in6_ifarrival(), nd6_ifattach(), in6_ifdeparture(),
nd6_ifdetach(), as well as to the nd6_ioctl(), nd6_ra_input(),
nd6_slowtimo() and in6_ifmtu().
The dad_failures member was just renamed to match the rest. The M_IP6NDP
malloc(9) type declaration moved to files that actually use it.
The rest of the changes are mechanical substitution of double pointer
dereference via ND_IFINFO() to a single pointer dereference. This was
achieved with a sed(1) script:
s/ND_IFINFO\(([a-z0-9>_.-]+)\)->(flags|linkmtu|basereachable|reachable|retrans|chlim)/\1->if_inet6->nd_\2/g
s/nd_chlim/nd_curhoplimit/g
Reviewed by: tuexen, madpilot
Differential Revision: https://reviews.freebsd.org/D54725
Diffstat (limited to 'source/Plugins/LanguageRuntime/Java/JavaLanguageRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
