Lines Matching defs:packets
345 struct sk_buff_head packets;
349 __skb_queue_head_init(&packets);
351 skb_queue_splice_init(&peer->staged_packet_queue, &packets);
353 if (unlikely(skb_queue_empty(&packets)))
370 * nonces to all of the packets in the queue. If we can't assign nonces
374 skb_queue_walk(&packets, skb) {
385 packets.prev->next = NULL;
387 PACKET_CB(packets.next)->keypair = keypair;
388 wg_packet_create_data(peer, packets.next);
396 /* We orphan the packets if we're waiting on a handshake, so that they
399 skb_queue_walk(&packets, skb)
403 * packets are being added really fast, because this queue is for before
404 * packets can even be sent and it's small anyway.
407 skb_queue_splice(&packets, &peer->staged_packet_queue);