Searched refs:peers_by_section (Results 1 – 2 of 2) sorted by relevance
62 Hashmap *peers_by_section; member
47 hashmap_remove(peer->wireguard->peers_by_section, peer->section); in wireguard_peer_free()84 peer = hashmap_get(w->peers_by_section, n); in wireguard_peer_new_static()102 r = hashmap_ensure_put(&w->peers_by_section, &config_section_hash_ops, peer->section, peer); in wireguard_peer_new_static()1075 hashmap_free_with_destructor(w->peers_by_section, wireguard_peer_free); in wireguard_done()