Name

skb_dequeue — remove from the head of the queue

Synopsis

struct sk_buff * skb_dequeue (struct sk_buff_head * list);
 

Arguments

struct sk_buff_head * list

list to dequeue from

Description

Remove the head of the list. The list lock is taken so the function may be used safely with other locking list functions. The head item is returned or NULL if the list is empty.