SKB_QUEUE_TAIL(9) Networking Functions SKB_QUEUE_TAIL(9)NAME
__skb_queue_tail, skb_queue_tail - insert an sk_buff at the tail of a
list
SYNOPSIS
#include <linux/skbuff.h>
void __skb_queue_tail(struct sk_buff_head *list, struct sk_buff
*newsk);
void skb_queue_tail(struct sk_buff_head *list, struct sk_buff *newsk);
DESCRIPTION
The skb_queue_tail function adds newsk to the tail of list. Specifi‐
cally, it sets the list, next, and prev pointers in newsk, and
increments the qlen element of list.
RETURN VALUE
None.
NOTES
It is important to note the difference between not only
__skb_queue_tail and skb_queue_tail, but all the __skb_ functions and
their skb_ counterparts. Essentially, the __skb_ functions are non-
atomic, and should only be used with interrupts disabled. As a conve‐
nience, the skb_ functions are provided, which perform interrupt
disable / enable wrapper functionality in addition to performing their
specific tasks.
AVAILABILITY
Linux 1.0+
SEE ALSOintro(9), skb_queue_head(9), skb_insert(9)
/usr/src/linux/net/netlink.c /usr/src/linux/net/appletalk/aarp.c
/usr/src/linux/net/core/skbuff.c /usr/src/linux/net/ipv4/arp.c
/usr/src/linux/include/net/sock.h
AUTHOR
Cyrus Durgin <cider@speakeasy.org>
Linux DDI November 24, 1997 SKB_QUEUE_TAIL(9)