Page MenuHomeFreeBSD

Refactor rib iterator functions.
ClosedPublic

Authored by melifaro on Nov 14 2020, 9:28 PM.
Tags
None
Referenced Files
F106143422: D27219.diff
Thu, Dec 26, 2:58 AM
Unknown Object (File)
Wed, Dec 4, 11:50 AM
Unknown Object (File)
Nov 16 2024, 1:53 PM
Unknown Object (File)
Nov 16 2024, 1:39 PM
Unknown Object (File)
Nov 16 2024, 11:30 AM
Unknown Object (File)
Oct 30 2024, 11:43 AM
Unknown Object (File)
Oct 27 2024, 9:32 AM
Unknown Object (File)
Oct 27 2024, 9:32 AM
Subscribers

Details

Reviewers
None
Group Reviewers
network
Commits
rS367941: Refactor rib iterator functions.
Summary
  • Make rib_walk() order of arguments consistent with the rest of RIB api
  • Add rib_walk_ext() allowing to exec callback before/after iteration.
  • Rename rt_foreach_fib_walk_del -> rib_foreach_table_walk_del
  • Rename rt_forach_fib_walk -> rib_foreach_table_walk
  • Move rib_foreach_table_walk{_del} to route/route_helpers.c
  • Slightly refactor rib_foreach_table_walk{_del} to make the implementation consistent and prepare for upcoming iterator optimizations.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34799
Build 31846: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 22 2020, 8:21 PM
This revision was automatically updated to reflect the committed changes.