Page MenuHomeFreeBSD

routing: refactor #2
ClosedPublic

Authored by melifaro on Aug 8 2022, 12:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 20 2024, 4:39 PM
Unknown Object (File)
Feb 20 2024, 4:39 PM
Unknown Object (File)
Feb 20 2024, 4:35 PM
Unknown Object (File)
Feb 20 2024, 4:23 PM
Unknown Object (File)
Dec 22 2023, 9:43 PM
Unknown Object (File)
Nov 20 2023, 7:31 PM
Unknown Object (File)
Oct 16 2023, 10:12 AM
Unknown Object (File)
Oct 16 2023, 10:12 AM
Subscribers

Details

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

MFC after: 1 month

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable