Lines Matching defs: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);
136 void wg_prev_queue_init(struct prev_queue *queue);
139 bool wg_prev_queue_enqueue(struct prev_queue *queue, struct sk_buff *skb);
142 struct sk_buff *wg_prev_queue_dequeue(struct prev_queue *queue);
145 static inline struct sk_buff *wg_prev_queue_peek(struct prev_queue *queue)
147 if (queue->peeked)
148 return queue->peeked;
149 queue->peeked = wg_prev_queue_dequeue(queue);
150 return queue->peeked;
154 static inline void wg_prev_queue_drop_peeked(struct prev_queue *queue)
156 queue->peeked = NULL;
166 /* We first queue this up for the peer ingestion, but the consumer
172 /* Then we queue it up in the device queue, which consumes the