Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireguard/
Dreceive.c216 struct wg_device *wg = container_of(queue, struct wg_device, handshake_queue); in wg_packet_handshake_receive_worker()
562 if (spin_trylock_bh(&wg->handshake_queue.ring.producer_lock)) { in wg_packet_receive()
563 ret = __ptr_ring_produce(&wg->handshake_queue.ring, skb); in wg_packet_receive()
564 spin_unlock_bh(&wg->handshake_queue.ring.producer_lock); in wg_packet_receive()
567 ret = ptr_ring_produce_bh(&wg->handshake_queue.ring, skb); in wg_packet_receive()
575 cpu = wg_cpumask_next_online(&wg->handshake_queue.last_cpu); in wg_packet_receive()
578 &per_cpu_ptr(wg->handshake_queue.worker, cpu)->work); in wg_packet_receive()
Ddevice.c128 while ((skb = ptr_ring_consume(&wg->handshake_queue.ring)) != NULL) in wg_stop()
257 wg_packet_queue_free(&wg->handshake_queue, true); in wg_destruct()
361 ret = wg_packet_queue_init(&wg->handshake_queue, wg_packet_handshake_receive_worker, in wg_newlink()
387 wg_packet_queue_free(&wg->handshake_queue, false); in wg_newlink()
Ddevice.h42 struct crypt_queue encrypt_queue, decrypt_queue, handshake_queue; member