Lines Matching refs:next_peer
98 struct wg_peer *next_peer;
223 next_peer_cursor = ctx->next_peer;
231 if (!ctx->next_peer) {
264 (ctx->next_peer && list_empty(&ctx->next_peer->peer_list))) {
269 peer = list_prepare_entry(ctx->next_peer, &wg->peer_list, peer_list);
282 wg_peer_put(ctx->next_peer);
292 ctx->next_peer = NULL;
295 ctx->next_peer = next_peer_cursor;
310 wg_peer_put(ctx->next_peer);