Name

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

const struct sk_buff_head * list

queue head

const struct sk_buff * 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.