skb_queue_prev(9) 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.

COPYRIGHT