Rechercher une page de manuel
skb_queue_head_init
Langue: en
Version: November 24, 1997 (mandriva - 22/10/07)
Section: 9 (Appels noyau Linux)
NAME
skb_queue_head_init - prepare an sk_buff_head for useSYNOPSIS
#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>Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre