Searched refs:root6 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/wireguard/ |
H A D | allowedips.c | 254 table->root4 = table->root6 = NULL; in wg_allowedips_init() 260 struct allowedips_node __rcu *old4 = table->root4, *old6 = table->root6; in wg_allowedips_free() 264 RCU_INIT_POINTER(table->root6, NULL); in wg_allowedips_free() 300 return add(&table->root6, 128, key, cidr, peer, lock); in wg_allowedips_insert_v6() 362 return lookup(table->root6, 128, &ipv6_hdr(skb)->daddr); in wg_allowedips_lookup_dst() 373 return lookup(table->root6, 128, &ipv6_hdr(skb)->saddr); in wg_allowedips_lookup_src()
|
H A D | allowedips.h | 31 struct allowedips_node __rcu *root6; member
|
/openbmc/linux/drivers/net/wireguard/selftest/ |
H A D | allowedips.c | 379 print_tree(t.root6, 128); in randomized_test() 391 if (lookup(t.root6, 128, ip) != horrible_allowedips_lookup_v6(&h, (struct in6_addr *)ip)) { in randomized_test() 404 if (t.root4 || t.root6) { in randomized_test() 543 print_tree(t.root6, 128); in wg_allowedips_selftest()
|