.\" -*- nroff -*- .\" .\" copyright (C) 1997 Cyrus Durgin .\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" .TH SKB_QUEUE_LEN 9 "November 24, 1997" "Linux DDI" "Networking Functions" .hlm 0 .na .SH NAME skb_queue_len \- determine the length of an sk_buff_head .SH SYNOPSIS .B #include .HP .BI "__u32 skb_queue_len(struct sk_buff_head " *list ");" .hlm 1 .ad .SH DESCRIPTION The \fBskb_queue_len\fP function determines the number of sk_buffs assigned to an sk_buff_head. .SH "RETURN VALUE" \fBskb_queue_len\fP returns the number of sk_buff elements attached to an sk_buff_head. If the sk_buff_head is empty, then 0 is returned. .SH AVAILABILITY Linux 1.0+ .SH "SEE ALSO" .hlm 0 .na .BR intro "(9), " skb_queue_head_init "(9), " skb_queue_head "(9), " skb_queue_tail "(9), " skb_insert "(9)" .ad .hlm 1 .PP /usr/src/linux/net/core/datagram.c .SH AUTHOR Cyrus Durgin