Page MenuHomeFreeBSD

Reorganise nd6 notification code to avoid direct rtentry field access.
ClosedPublic

Authored by melifaro on Apr 13 2020, 10:04 PM.

Details

Summary

One of the goals of the new routing KPI defined in r359823 is to entirely hide`struct rtentry` from the consumers.
It will allow to improve routing subsystem internals and deliver more features much faster.
This change is one of the ongoing changes to eliminate direct struct rtentry field accesses.

In particular, it reorganises nd6 notification code to avoid accessing most of the rtentry fields.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.