Home
last modified time | relevance | path

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

/drivers/net/wireguard/
Dqueueing.c53 void wg_prev_queue_init(struct prev_queue *queue) in wg_prev_queue_init()
60 offsetof(struct sk_buff, next) != offsetof(struct prev_queue, empty.next) - in wg_prev_queue_init()
61 offsetof(struct prev_queue, empty) || in wg_prev_queue_init()
62 offsetof(struct sk_buff, prev) != offsetof(struct prev_queue, empty.prev) - in wg_prev_queue_init()
63 offsetof(struct prev_queue, empty)); in wg_prev_queue_init()
66 static void __wg_prev_queue_enqueue(struct prev_queue *queue, struct sk_buff *skb) in __wg_prev_queue_enqueue()
72 bool wg_prev_queue_enqueue(struct prev_queue *queue, struct sk_buff *skb) in wg_prev_queue_enqueue()
80 struct sk_buff *wg_prev_queue_dequeue(struct prev_queue *queue) in wg_prev_queue_dequeue()
Dqueueing.h20 struct prev_queue;
147 void wg_prev_queue_init(struct prev_queue *queue);
150 bool wg_prev_queue_enqueue(struct prev_queue *queue, struct sk_buff *skb);
153 struct sk_buff *wg_prev_queue_dequeue(struct prev_queue *queue);
156 static inline struct sk_buff *wg_prev_queue_peek(struct prev_queue *queue) in wg_prev_queue_peek()
165 static inline void wg_prev_queue_drop_peeked(struct prev_queue *queue) in wg_prev_queue_drop_peeked()
171 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;