Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireguard/
Dsend.c225 if (skb_queue_empty(&peer->staged_packet_queue)) { in wg_packet_send_keepalive()
233 skb_queue_tail(&peer->staged_packet_queue, skb); in wg_packet_send_keepalive()
335 spin_lock_bh(&peer->staged_packet_queue.lock); in wg_packet_purge_staged_packets()
337 peer->staged_packet_queue.qlen); in wg_packet_purge_staged_packets()
338 __skb_queue_purge(&peer->staged_packet_queue); in wg_packet_purge_staged_packets()
339 spin_unlock_bh(&peer->staged_packet_queue.lock); in wg_packet_purge_staged_packets()
350 spin_lock_bh(&peer->staged_packet_queue.lock); in wg_packet_send_staged_packets()
351 skb_queue_splice_init(&peer->staged_packet_queue, &packets); in wg_packet_send_staged_packets()
352 spin_unlock_bh(&peer->staged_packet_queue.lock); in wg_packet_send_staged_packets()
406 spin_lock_bh(&peer->staged_packet_queue.lock); in wg_packet_send_staged_packets()
[all …]
Ddevice.c206 spin_lock_bh(&peer->staged_packet_queue.lock); in wg_xmit()
211 while (skb_queue_len(&peer->staged_packet_queue) > MAX_STAGED_PACKETS) { in wg_xmit()
212 dev_kfree_skb(__skb_dequeue(&peer->staged_packet_queue)); in wg_xmit()
215 skb_queue_splice_tail(&packets, &peer->staged_packet_queue); in wg_xmit()
216 spin_unlock_bh(&peer->staged_packet_queue.lock); in wg_xmit()
Dpeer.h40 struct sk_buff_head staged_packet_queue; member
Dpeer.c54 skb_queue_head_init(&peer->staged_packet_queue); in wg_peer_create()