diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2020-04-21 13:49:29 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2021-09-25 16:06:43 +0200 |
commit | e709dc09e61c4604821d10b81604d38616b81a0b (patch) | |
tree | bcbaa8cb114fa4dedfe68b866abf7e364bc87273 /test/birdtest.h | |
parent | dd61278c9db1d4bea29f0a21aa460c7fe931eb32 (diff) |
Filter: Improve prefix trie tests
Add tests explicitly matching insides and outsides of trie and update
tests to do testing of both IPv4 and IPv6 tries.
Diffstat (limited to 'test/birdtest.h')
-rw-r--r-- | test/birdtest.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/birdtest.h b/test/birdtest.h index caec529b..7a0c2fc4 100644 --- a/test/birdtest.h +++ b/test/birdtest.h @@ -165,6 +165,8 @@ struct bt_batch { void bt_fmt_str(char *buf, size_t size, const void *data); void bt_fmt_unsigned(char *buf, size_t size, const void *data); void bt_fmt_ipa(char *buf, size_t size, const void *data); +void bt_format_net(char *buf, size_t size, const void *data); + int bt_assert_batch__(struct bt_batch *opts); int bt_is_char(byte c); |