HomeFreeBSD

Refactor rib iterator functions.

Description

Refactor rib iterator functions.

  • 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.

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

Details

Provenance
melifaroAuthored on Nov 22 2020, 8:21 PM
Parents
rG5e38d9e48326: if_dwc: Correctly configure the DMA engine based on the fdt properties
Branches
Unknown
Tags
Unknown

Event Timeline