Home
last modified time | relevance | path

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

/freebsd/contrib/wireguard-tools/
H A Dconfig.c424 struct wgpeer *new_peer = calloc(1, sizeof(struct wgpeer)); in process_line() local
426 if (!new_peer) { in process_line()
432 ctx->last_peer->next_peer = new_peer; in process_line()
434 ctx->device->first_peer = new_peer; in process_line()
435 ctx->last_peer = new_peer; in process_line()
592 struct wgpeer *new_peer = calloc(1, sizeof(*new_peer)); in config_read_cmd() local
595 if (!new_peer) { in config_read_cmd()
600 peer->next_peer = new_peer; in config_read_cmd()
602 device->first_peer = new_peer; in config_read_cmd()
603 peer = new_peer; in config_read_cmd()
H A Dipc-uapi.h187 struct wgpeer *new_peer = calloc(1, sizeof(*new_peer)); in userspace_get_device() local
189 if (!new_peer) { in userspace_get_device()
195 peer->next_peer = new_peer; in userspace_get_device()
197 dev->first_peer = new_peer; in userspace_get_device()
198 peer = new_peer; in userspace_get_device()