skb_queue_head_init - prepare an sk_buff_head for use


SYNOPSIS

       #include <linux/skbuff.h>

       void  skb_queue_head_init(struct sk_buff_head *list);


DESCRIPTION

       The  skb_queue_head_init function prepares an sk_buff_head
       for use by the other skb_ functions, and should be  called
       after declaring and allocating memory for any sk_buff_head
       elements.  Specifically, skb_queue_head_init sets the prev
       and  next  pointers  of the list to point back at the list
       itself, and sets  the  list  length  to  0.   The  use  of
       sk_buff_head elements which have not been initialized with
       this function is undocumented and  may  produce  irregular
       results.


RETURN VALUE

       None.


AVAILABILITY

       Linux 1.0+


SEE ALSO

       intro(9)

       /usr/src/linux/net/netlink.c
       /usr/src/linux/net/appletalk/aarp.c
       /usr/src/linux/net/ipv4/af_inet.c
       /usr/src/linux/net/ipx/af_ipx.c
       /usr/src/linux/net/unix/af_unix.c


AUTHOR

       Cyrus Durgin <cider@speakeasy.org>


















Man(1) output converted with man2html