Home
last modified time | relevance | path

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

/drivers/net/wireguard/
Dnetlink.c98 struct wg_peer *next_peer; member
223 next_peer_cursor = ctx->next_peer; in wg_get_device_dump()
231 if (!ctx->next_peer) { in wg_get_device_dump()
264 (ctx->next_peer && list_empty(&ctx->next_peer->peer_list))) { in wg_get_device_dump()
269 peer = list_prepare_entry(ctx->next_peer, &wg->peer_list, peer_list); in wg_get_device_dump()
282 wg_peer_put(ctx->next_peer); in wg_get_device_dump()
292 ctx->next_peer = NULL; in wg_get_device_dump()
295 ctx->next_peer = next_peer_cursor; in wg_get_device_dump()
310 wg_peer_put(ctx->next_peer); in wg_get_device_done()