kernels/linux-2.4.0/include/linux/skbuff.h
/**
 *	skb_dequeue - remove from the head of the queue
 *	@list: list to dequeue from
 *
 *	Remove the head of the list. The list lock is taken so the function
 *	may be used safely with other locking list functions. The tail item is
 *	returned or %NULL if the list is empty.
 */
remove from the head of the queue
@list: list to dequeue from

Remove the head of the list. The list lock is taken so the function
may be used safely with other locking list functions. The tail item is
returned or %NULL if the list is empty.
remove from the head of the queue @list : list to dequeue from Remove the head of the list . The list lock is taken so the function may be used safely with other locking list functions . The tail item is returned or %NULL if the list is empty .
static inline struct sk_buff *skb_dequeue_tail(struct sk_buff_head *list)
{
	long flags;
	struct sk_buff *result;
	spin_lock_irqsave(&list->lock, flags);
	result = __skb_dequeue_tail(list);
	spin_unlock_irqrestore(&list->lock, flags);
	return result;
}
static inline struct sk_buff * skb_dequeue_tail ( struct sk_buff_head * list ) { long flags ; struct sk_buff * result ; spin_lock_irqsave ( & list -> lock , flags ) ; result = __skb_dequeue_tail ( list ) ; spin_unlock_irqrestore ( & list -> lock , flags ) ; return result ; }
skb_dequeue - remove from the head of the queue
      @list: list to dequeue from
skb_dequeue - remove from the head of the queue @list : list to dequeue from