Searched refs:root4 (Results 1 – 3 of 3) sorted by relevance
/drivers/net/wireguard/ |
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() 263 RCU_INIT_POINTER(table->root4, NULL); in wg_allowedips_free() 289 return add(&table->root4, 32, key, cidr, peer, lock); in wg_allowedips_insert_v4() 360 return lookup(table->root4, 32, &ip_hdr(skb)->daddr); in wg_allowedips_lookup_dst() 371 return lookup(table->root4, 32, &ip_hdr(skb)->saddr); in wg_allowedips_lookup_src()
|
D | allowedips.h | 30 struct allowedips_node __rcu *root4; member
|
/drivers/net/wireguard/selftest/ |
D | allowedips.c | 378 print_tree(t.root4, 32); in randomized_test() 385 if (lookup(t.root4, 32, ip) != horrible_allowedips_lookup_v4(&h, (struct in_addr *)ip)) { in randomized_test() 404 if (t.root4 || t.root6) { in randomized_test() 542 print_tree(t.root4, 32); in wg_allowedips_selftest()
|