Home
last modified time | relevance | path

Searched refs:allowedips_list (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/net/wireguard/
Dallowedips.c194 list_add_tail(&node->peer_list, &peer->allowedips_list); in add()
201 list_move_tail(&node->peer_list, &peer->allowedips_list); in add()
209 list_add_tail(&newnode->peer_list, &peer->allowedips_list); in add()
309 if (list_empty(&peer->allowedips_list)) in wg_allowedips_remove_by_peer()
312 list_for_each_entry_safe(node, tmp, &peer->allowedips_list, peer_list) { in wg_allowedips_remove_by_peer()
Dpeer.h64 struct list_head allowedips_list; member
Dpeer.c61 INIT_LIST_HEAD(&peer->allowedips_list); in wg_peer_create()
Dnetlink.c161 list_first_entry_or_null(&peer->allowedips_list, in get_peer()
175 list_for_each_entry_from(allowedips_node, &peer->allowedips_list, in get_peer()
/linux-5.19.10/drivers/net/wireguard/selftest/
Dallowedips.c281 INIT_LIST_HEAD(&peers[i]->allowedips_list); in randomized_test()
456 INIT_LIST_HEAD(&peer->allowedips_list); in init_peer()
614 list_for_each_entry(iter_node, &a->allowedips_list, peer_list) { in wg_allowedips_selftest()