Searched refs:peer_list (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/drivers/net/wireguard/ |
D | peer.c | 59 list_add_tail(&peer->peer_list, &wg->peer_list); in wg_peer_create() 83 list_del_init(&peer->peer_list); in peer_make_dead() 177 list_for_each_entry_safe(peer, temp, &wg->peer_list, peer_list) { in wg_peer_remove_all() 179 list_add_tail(&peer->peer_list, &dead_peers); in wg_peer_remove_all() 182 list_for_each_entry_safe(peer, temp, &dead_peers, peer_list) in wg_peer_remove_all()
|
D | device.c | 53 list_for_each_entry(peer, &wg->peer_list, peer_list) { in wg_open() 82 list_for_each_entry(peer, &wg->peer_list, peer_list) { in wg_pm_notification() 104 list_for_each_entry(peer, &wg->peer_list, peer_list) in wg_vm_notification() 121 list_for_each_entry(peer, &wg->peer_list, peer_list) { in wg_stop() 322 INIT_LIST_HEAD(&wg->peer_list); in wg_newlink() 428 list_for_each_entry(peer, &wg->peer_list, peer_list) in wg_netns_pre_exit()
|
D | netlink.c | 162 struct allowedips_node, peer_list); in get_peer() 176 peer_list) { in get_peer() 263 if (list_empty(&wg->peer_list) || in wg_get_device_dump() 264 (ctx->next_peer && list_empty(&ctx->next_peer->peer_list))) { in wg_get_device_dump() 269 peer = list_prepare_entry(ctx->next_peer, &wg->peer_list, peer_list); in wg_get_device_dump() 270 list_for_each_entry_continue(peer, &wg->peer_list, peer_list) { in wg_get_device_dump() 320 list_for_each_entry(peer, &wg->peer_list, peer_list) in set_port() 529 list_for_each_entry(peer, &wg->peer_list, peer_list) in wg_set_device() 569 list_for_each_entry_safe(peer, temp, &wg->peer_list, in wg_set_device() 570 peer_list) { in wg_set_device()
|
D | allowedips.c | 78 list_del(&node->peer_list); in root_remove_peer_lists() 194 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() 236 list_del(&newnode->peer_list); in add() 240 INIT_LIST_HEAD(&node->peer_list); in add() 312 list_for_each_entry_safe(node, tmp, &peer->allowedips_list, peer_list) { in wg_allowedips_remove_by_peer() 313 list_del_init(&node->peer_list); in wg_allowedips_remove_by_peer()
|
D | device.h | 52 struct list_head device_list, peer_list; member
|
D | allowedips.h | 24 struct list_head peer_list; member
|
D | peer.h | 63 struct list_head peer_list; member
|
/Linux-v6.1/drivers/firewire/ |
D | net.c | 167 struct list_head peer_list; member 447 list_for_each_entry(peer, &dev->peer_list, peer_link) in fwnet_peer_find_by_guid() 460 list_for_each_entry(peer, &dev->peer_list, peer_link) in fwnet_peer_find_by_node_id() 1421 list_add_tail(&peer->peer_link, &dev->peer_list); in fwnet_add_peer() 1466 INIT_LIST_HEAD(&dev->peer_list); in fwnet_probe() 1562 if (list_empty(&dev->peer_list)) { in fwnet_remove()
|
/Linux-v6.1/drivers/net/wireguard/selftest/ |
D | allowedips.c | 614 list_for_each_entry(iter_node, &a->allowedips_list, peer_list) { in wg_allowedips_selftest()
|