Page MenuHomeFreeBSD

Add nhop parameter to rti_filter callback.
ClosedPublic

Authored by melifaro on Apr 16 2020, 8:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 16 2024, 12:44 AM
Unknown Object (File)
Oct 7 2024, 12:15 AM
Unknown Object (File)
Oct 2 2024, 12:14 AM
Unknown Object (File)
Sep 18 2024, 10:15 AM
Unknown Object (File)
Sep 9 2024, 3:44 AM
Unknown Object (File)
Sep 8 2024, 9:28 PM
Unknown Object (File)
Sep 7 2024, 11:06 AM
Unknown Object (File)
Aug 19 2024, 1:43 PM
Subscribers

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.

Additionally, with the followup multipath changes, single
rtentry can point to multiple nexthops.

With that in mind, convert rti_filter callback used when traversing the routing table to accept
pair (rt, nhop) instead of nexthop.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ae added inline comments.
sys/netinet/in_rmx.c
231 ↗(On Diff #70635)

A space is missed.

This revision is now accepted and ready to land.Apr 16 2020, 11:34 AM
This revision was automatically updated to reflect the committed changes.