HomeFreeBSD

routing: refactor #2

Description

routing: refactor #2

  • Use same filter func (rib_filter_f_t) for nexhtop groups to simplify callbacks.
  • simplify conditional route deletion & remove the need to pass rt_addrinfo to the low-level deletion functions
  • speedup rib_walk_del() by removing an additional per-prefix lookup

Differential Revision: https://reviews.freebsd.org/D36071
MFC after: 1 month

(cherry picked from commit dedeec1143385b0c7436d360170d8d99b2d0fa18)

Details

Provenance
melifaroAuthored on Aug 3 2022, 8:20 AM
Differential Revision
D36071: routing: refactor #2
Parents
rG4275da9ee2d1: routing: refactor control cmds #1
Branches
Unknown
Tags
Unknown