Lines Matching refs:WireguardPeer
35 static int peer_resolve_endpoint(WireguardPeer *peer);
37 static WireguardPeer* wireguard_peer_free(WireguardPeer *peer) { in wireguard_peer_free()
68 DEFINE_SECTION_CLEANUP_FUNCTIONS(WireguardPeer, wireguard_peer_free);
70 …d_peer_new_static(Wireguard *w, const char *filename, unsigned section_line, WireguardPeer **ret) { in wireguard_peer_new_static()
72 _cleanup_(wireguard_peer_freep) WireguardPeer *peer = NULL; in wireguard_peer_new_static()
90 peer = new(WireguardPeer, 1); in wireguard_peer_new_static()
94 *peer = (WireguardPeer) { in wireguard_peer_new_static()
149 static int wireguard_set_peer_one(NetDev *netdev, sd_netlink_message *message, const WireguardPeer … in wireguard_set_peer_one()
227 WireguardPeer *peer_start; in wireguard_set_interface()
272 WireguardPeer *peer_last = NULL; in wireguard_set_interface()
299 WireguardPeer *peer = userdata; in on_resolve_retry()
316 static usec_t peer_next_resolve_usec(WireguardPeer *peer) { in peer_next_resolve_usec()
335 WireguardPeer *peer = userdata; in wireguard_peer_resolve_handler()
390 static int peer_resolve_endpoint(WireguardPeer *peer) { in peer_resolve_endpoint()
597 _cleanup_(wireguard_peer_free_or_set_invalidp) WireguardPeer *peer = NULL; in config_parse_wireguard_peer_key()
631 _cleanup_(wireguard_peer_free_or_set_invalidp) WireguardPeer *peer = NULL; in config_parse_wireguard_preshared_key_file()
674 _cleanup_(wireguard_peer_free_or_set_invalidp) WireguardPeer *peer = NULL; in config_parse_wireguard_allowed_ips()
752 _cleanup_(wireguard_peer_free_or_set_invalidp) WireguardPeer *peer = NULL; in config_parse_wireguard_endpoint()
847 _cleanup_(wireguard_peer_free_or_set_invalidp) WireguardPeer *peer = NULL; in config_parse_wireguard_keepalive()
930 _cleanup_(wireguard_peer_free_or_set_invalidp) WireguardPeer *peer = NULL; in config_parse_wireguard_peer_route_table()
1021 _cleanup_(wireguard_peer_free_or_set_invalidp) WireguardPeer *peer = NULL; in config_parse_wireguard_peer_route_priority()
1106 static int wireguard_peer_verify(WireguardPeer *peer) { in wireguard_peer_verify()