skb_queue_prev(9)
skb_queue_prev – return the prev packet in the queue
Synopsis
struct sk_buff *skb_queue_prev(const struct sk_buff_head *list, const struct sk_buff *skb);Arguments
list
- queue head
skb
- current buffer
Description
Return the prev packet in list before skb. It is only valid to call this if skb_queue_is_first evaluates to false.