HomeFreeBSD

Add nhop to the ifa_rtrequest() callback.

Description

Add nhop to the ifa_rtrequest() callback.

With the upcoming multipath changes described in D24141,
rt->rt_nhop can potentially point to a nexthop group instead of
an individual nhop.
To simplify caller handling of such cases, change ifa_rtrequest() callback
to pass changed nhop directly.

Differential Revision: https://reviews.freebsd.org/D24604

Details

Provenance
melifaroAuthored on
Differential Revision
D24604: Pass nhop in ifa_rtrequest().
Parents
rS360474: MF11 r352638,r358076: correct Clang and lld version checks
Branches
Unknown
Tags
Unknown