trie_head
parse_file(FILE *in, struct trie_head *th)
parse_roa_file(FILE *in, struct trie_head *th)
test_file(FILE *in, struct trie_head *th)
test_roa_file(FILE *in, struct trie_head *th)
struct trie_head th = { 0 };
int trie_add(struct trie_head *, struct bgpd_addr *, uint8_t, uint8_t,
int trie_roa_add(struct trie_head *, struct roa *);
void trie_free(struct trie_head *);
int trie_match(struct trie_head *, struct bgpd_addr *, uint8_t, int);
int trie_roa_check(struct trie_head *, struct bgpd_addr *, uint8_t,
void trie_dump(struct trie_head *);
int trie_equal(struct trie_head *, struct trie_head *);
struct trie_head th;
trie_add_v4(struct trie_head *th, struct in_addr *prefix, uint8_t plen)
trie_add_v6(struct trie_head *th, struct in6_addr *prefix, uint8_t plen)
trie_add(struct trie_head *th, struct bgpd_addr *prefix, uint8_t plen,
trie_roa_add(struct trie_head *th, struct roa *roa)
trie_free(struct trie_head *th)
trie_match_v4(struct trie_head *th, struct in_addr *prefix, uint8_t plen,
trie_match_v6(struct trie_head *th, struct in6_addr *prefix, uint8_t plen,
trie_match(struct trie_head *th, struct bgpd_addr *prefix, uint8_t plen,
trie_roa_check_v4(struct trie_head *th, struct in_addr *prefix, uint8_t plen,
trie_roa_check_v6(struct trie_head *th, struct in6_addr *prefix, uint8_t plen,
trie_roa_check(struct trie_head *th, struct bgpd_addr *prefix, uint8_t plen,
trie_equal(struct trie_head *a, struct trie_head *b)
trie_dump(struct trie_head *th)