Page MenuHomeFreeBSD

routing: refactor control cmds #1.
ClosedPublic

Authored by melifaro on Aug 8 2022, 12:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 1:48 PM
Unknown Object (File)
Sep 25 2024, 6:32 AM
Unknown Object (File)
Sep 24 2024, 4:02 PM
Unknown Object (File)
Sep 10 2024, 1:15 PM
Unknown Object (File)
Sep 10 2024, 5:11 AM
Unknown Object (File)
Sep 10 2024, 2:37 AM
Unknown Object (File)
Sep 9 2024, 8:17 PM
Unknown Object (File)
Sep 9 2024, 8:17 PM
Subscribers

Details

Summary

This is a pre-requsite to enable nhop-based route operations required
for efficient multipath control plane support & netlink multipath
support.

  • add explicit basic low-level radix operations: add_route() (renamed from add_route_nhop()) delete_route() (factored from change_route_nhop()) change_route() (renamed from change_route_nhop)
  • remove "info" parameter from change_route_conditional() as a part of reducing rt_addrinfo usage in the internal KPIs
  • add lookup_prefix_rt() wrapper for doing re-lookups after RIB lock/unlock

MFC after: 2 weeks

Diff Detail

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