Lines Matching refs:queue
24 int wg_packet_queue_init(struct crypt_queue *queue, work_func_t function,
26 void wg_packet_queue_free(struct crypt_queue *queue, bool purge);
134 void wg_prev_queue_init(struct prev_queue *queue);
137 bool wg_prev_queue_enqueue(struct prev_queue *queue, struct sk_buff *skb);
140 struct sk_buff *wg_prev_queue_dequeue(struct prev_queue *queue);
143 static inline struct sk_buff *wg_prev_queue_peek(struct prev_queue *queue)
145 if (queue->peeked)
146 return queue->peeked;
147 queue->peeked = wg_prev_queue_dequeue(queue);
148 return queue->peeked;
152 static inline void wg_prev_queue_drop_peeked(struct prev_queue *queue)
154 queue->peeked = NULL;
164 /* We first queue this up for the peer ingestion, but the consumer
170 /* Then we queue it up in the device queue, which consumes the