Searched refs:new_peer (Results 1 – 2 of 2) sorted by relevance
424 struct wgpeer *new_peer = calloc(1, sizeof(struct wgpeer)); in process_line() local426 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() local595 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()
187 struct wgpeer *new_peer = calloc(1, sizeof(*new_peer)); in userspace_get_device() local189 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()