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)
Thu, Apr 18, 6:35 AM
Unknown Object (File)
Feb 21 2024, 9:46 AM
Unknown Object (File)
Dec 28 2023, 3:39 PM
Unknown Object (File)
Dec 20 2023, 8:14 AM
Unknown Object (File)
Nov 5 2023, 6:23 PM
Unknown Object (File)
Oct 30 2023, 10:16 PM
Unknown Object (File)
Sep 28 2023, 11:16 PM
Unknown Object (File)
Sep 22 2023, 9:30 AM
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.