diff options
author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2020-11-29 13:41:49 +0000 |
---|---|---|
committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2020-11-29 13:41:49 +0000 |
commit | b712e3e343c1437d28c90e9da28e7339426ba8e2 (patch) | |
tree | 81967c102ead0311215d8b4ea9e00df01d314205 /gnu/Makefile | |
parent | 98d5c4e5c85bec2e966714347951c2ea0fb90d12 (diff) | |
download | src-b712e3e343c1437d28c90e9da28e7339426ba8e2.tar.gz src-b712e3e343c1437d28c90e9da28e7339426ba8e2.zip |
Refactor fib4/fib6 functions.
No functional changes.
* 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 functions.
This change simplifies the switch to alternative lookup implementations,
which helps algorithmic lookups introduction.
* While here, use static initializers for IPv4/IPv6 keys
Differential Revision: https://reviews.freebsd.org/D27405
Notes
Notes:
svn path=/head/; revision=368147
Diffstat (limited to 'gnu/Makefile')
0 files changed, 0 insertions, 0 deletions