Searched refs:staged_packet_queue (Results 1 – 4 of 4) sorted by relevance
225 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()336 peer->device->dev->stats.tx_dropped += peer->staged_packet_queue.qlen; in wg_packet_purge_staged_packets()337 __skb_queue_purge(&peer->staged_packet_queue); in wg_packet_purge_staged_packets()338 spin_unlock_bh(&peer->staged_packet_queue.lock); in wg_packet_purge_staged_packets()349 spin_lock_bh(&peer->staged_packet_queue.lock); in wg_packet_send_staged_packets()350 skb_queue_splice_init(&peer->staged_packet_queue, &packets); in wg_packet_send_staged_packets()351 spin_unlock_bh(&peer->staged_packet_queue.lock); in wg_packet_send_staged_packets()405 spin_lock_bh(&peer->staged_packet_queue.lock); in wg_packet_send_staged_packets()[all …]
204 spin_lock_bh(&peer->staged_packet_queue.lock); in wg_xmit()209 while (skb_queue_len(&peer->staged_packet_queue) > MAX_STAGED_PACKETS) { in wg_xmit()210 dev_kfree_skb(__skb_dequeue(&peer->staged_packet_queue)); in wg_xmit()213 skb_queue_splice_tail(&packets, &peer->staged_packet_queue); in wg_xmit()214 spin_unlock_bh(&peer->staged_packet_queue.lock); in wg_xmit()
40 struct sk_buff_head staged_packet_queue; member
54 skb_queue_head_init(&peer->staged_packet_queue); in wg_peer_create()