Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireguard/
Dqueueing.c52 void wg_prev_queue_init(struct prev_queue *queue) in wg_prev_queue_init()
59 offsetof(struct sk_buff, next) != offsetof(struct prev_queue, empty.next) - in wg_prev_queue_init()
60 offsetof(struct prev_queue, empty) || in wg_prev_queue_init()
61 offsetof(struct sk_buff, prev) != offsetof(struct prev_queue, empty.prev) - in wg_prev_queue_init()
62 offsetof(struct prev_queue, empty)); in wg_prev_queue_init()
65 static void __wg_prev_queue_enqueue(struct prev_queue *queue, struct sk_buff *skb) in __wg_prev_queue_enqueue()
71 bool wg_prev_queue_enqueue(struct prev_queue *queue, struct sk_buff *skb) in wg_prev_queue_enqueue()
79 struct sk_buff *wg_prev_queue_dequeue(struct prev_queue *queue) in wg_prev_queue_dequeue()
Dqueueing.h20 struct prev_queue;
137 void wg_prev_queue_init(struct prev_queue *queue);
140 bool wg_prev_queue_enqueue(struct prev_queue *queue, struct sk_buff *skb);
143 struct sk_buff *wg_prev_queue_dequeue(struct prev_queue *queue);
146 static inline struct sk_buff *wg_prev_queue_peek(struct prev_queue *queue) in wg_prev_queue_peek()
155 static inline void wg_prev_queue_drop_peeked(struct prev_queue *queue) in wg_prev_queue_drop_peeked()
161 struct crypt_queue *device_queue, struct prev_queue *peer_queue, in wg_queue_enqueue_per_device_and_peer()
Ddevice.h34 struct prev_queue { struct
Dpeer.h39 struct prev_queue tx_queue, rx_queue;