Home
last modified time | relevance | path

Searched refs:WireguardPeer (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/network/netdev/
Dwireguard.c35 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()
[all …]
Dwireguard.h25 typedef struct WireguardPeer { struct
49 LIST_FIELDS(struct WireguardPeer, peers); argument
50 } WireguardPeer; typedef
63 LIST_HEAD(WireguardPeer, peers);