Page MenuHomeFreeBSD

Refactor rib iterator functions.
ClosedPublic

Authored by melifaro on Nov 14 2020, 9:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 30, 11:43 AM
Unknown Object (File)
Sun, Oct 27, 9:32 AM
Unknown Object (File)
Sun, Oct 27, 9:32 AM
Unknown Object (File)
Sun, Oct 27, 9:32 AM
Unknown Object (File)
Sun, Oct 27, 9:22 AM
Unknown Object (File)
Fri, Oct 18, 1:40 AM
Unknown Object (File)
Thu, Oct 17, 6:55 PM
Unknown Object (File)
Oct 11 2024, 6:10 PM
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

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

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.