Searched refs:root6 (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/net/wireguard/ |
D | allowedips.c | 286 table->root4 = table->root6 = NULL; in wg_allowedips_init() 292 struct allowedips_node __rcu *old4 = table->root4, *old6 = table->root6; in wg_allowedips_free() 296 RCU_INIT_POINTER(table->root6, NULL); in wg_allowedips_free() 332 return add(&table->root6, 128, key, cidr, peer, lock); in wg_allowedips_insert_v6() 340 walk_remove_by_peer(&table->root6, peer, lock); in wg_allowedips_remove_by_peer() 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()
|
D | allowedips.h | 34 struct allowedips_node __rcu *root6; member
|
/Linux-v5.10/drivers/net/wireguard/selftest/ |
D | allowedips.c | 396 print_tree(t.root6, 128); in randomized_test() 410 if (lookup(t.root6, 128, ip) != in randomized_test() 550 print_tree(t.root6, 128); in wg_allowedips_selftest()
|