]> git.ipfire.org Git - thirdparty/bird.git/commit
Nest: Add tests and benchmark for FIB
authorOndrej Zajicek <santiago@crfreenet.org>
Tue, 16 May 2023 11:25:48 +0000 (13:25 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 16 May 2023 11:25:48 +0000 (13:25 +0200)
commit3cf91fb9eb5e6aa51e63edcd237ee266373aec79
tree094d80d17e747e6307b48125bdcc0250366c0be5
parenta8a64ca0fed41c78376b27880e934296bd3c3a7f
Nest: Add tests and benchmark for FIB

Basic fib_get() / fib_find() test for random prefixes, FIB_WALK() test,
and benchmark for fib_find(). Also generalize and reuse some code from
trie tests.
filter/trie_test.c
nest/Makefile
nest/rt-fib_test.c [new file with mode: 0644]
test/birdtest.h
test/bt-utils.c
test/bt-utils.h