kernels/linux-2.4.0/include/linux/skbuff.h
/*
 * remove sk_buff from list. _Must_ be called atomically, and with
 * the list known..
 */
remove sk_buff from list. _Must_ be called atomically, and with
the list known
remove sk_buff from list . _Must_ be called atomically and with the list known
static inline void __skb_unlink(struct sk_buff *skb, struct sk_buff_head *list)
{
	struct sk_buff * next, * prev;
	list->qlen--;
	next = skb->next;
	prev = skb->prev;
	skb->next = NULL;
	skb->prev = NULL;
	skb->list = NULL;
	next->prev = prev;
	prev->next = next;
}
static inline void __skb_unlink ( struct sk_buff * skb , struct sk_buff_head * list ) { struct sk_buff * next , * prev ; list -> qlen -- ; next = skb -> next ; prev = skb -> prev ; skb -> next = NULL ; skb -> prev = NULL ; skb -> list = NULL ; next -> prev = prev ; prev -> next = next ; }
remove sk_buff from list.
remove sk_buff from list .