Page MenuHomeFreeBSD

Refactor rt_addrmsg() and rt_routemsg().
ClosedPublic

Authored by melifaro on Jan 6 2021, 10:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 5:04 PM
Unknown Object (File)
Dec 21 2023, 6:44 PM
Unknown Object (File)
Dec 20 2023, 7:09 AM
Unknown Object (File)
Dec 12 2023, 6:55 AM
Unknown Object (File)
Oct 19 2023, 10:59 AM
Unknown Object (File)
Aug 13 2023, 8:30 PM
Unknown Object (File)
Jul 6 2023, 12:45 PM
Unknown Object (File)
Jun 24 2023, 8:06 PM
Subscribers

Details

Summary
  • Refactor rt_addrmsg(): make V_rt_add_addr_allfibs decision locally.
  • Fix rt_routemsg() and multipath by accepting nexthop instead of interface pointer.
  • Refactor rtsock_routemsg(): avoid accessing rtentry fields directly.
  • Simplify in_addprefix() by moving prefix search to a separate function.

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Jan 7 2021, 7:39 PM
This revision was automatically updated to reflect the committed changes.