Page MenuHomeFreeBSD

Refactor fib4/fib6 functions.
ClosedPublic

Authored by melifaro on Nov 28 2020, 4:56 PM.
Tags
None
Referenced Files
F103265792: D27405.diff
Fri, Nov 22, 8:10 PM
Unknown Object (File)
Oct 22 2024, 7:38 AM
Unknown Object (File)
Oct 22 2024, 7:38 AM
Unknown Object (File)
Oct 22 2024, 7:38 AM
Unknown Object (File)
Oct 22 2024, 7:38 AM
Unknown Object (File)
Oct 19 2024, 9:53 PM
Unknown Object (File)
Oct 6 2024, 9:06 PM
Unknown Object (File)
Oct 6 2024, 5:45 PM
Subscribers

Details

Reviewers
None
Group Reviewers
network
Commits
rS368147: Refactor fib4/fib6 functions.
Summary
  • Make lookup path of fib<4|6>_lookup_debugnet() separate functions (fib<46>_lookup_rt()). These will be used in the control plane code requiring unlocked radix operations and actual prefix pointer.
  • Make lookup part of fib<4|6>_check_urpf() separate function. This will be used after algorithmic lookups introduction, by simplifying the switch to alternative lookup implementations.
  • While here, use static initializers for IPv4/IPv6 keys

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Add forgotten NHR_UNLOCKED.

This revision was not accepted when it landed; it landed in state Needs Review.Nov 29 2020, 1:42 PM
This revision was automatically updated to reflect the committed changes.