SKB_QUEUE_EMPTY
NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
AVAILABILITY
SEE ALSO
AUTHOR
NAME
skb_queue_empty − detect an empty skbuff queue
SYNOPSIS
#include
int skb_queue_empty(struct sk_buff_head *list); |
DESCRIPTION
The skb_queue_empty function checks an skbuff queue for “emptiness”. This function provides a quick and easy way to determine if there are any sk_buff elements on a given queue.
RETURN VALUE
If there are any sk_buff elements on the list, then 0 is returned. Otherwise, 1 is returned to indicate that the list is empty.
AVAILABILITY
Linux 1.0+
SEE ALSO
intro(9), skb_queue_len(9)
/usr/src/linux/net/core/datagram.c /usr/src/linux/net/core/dev.c /usr/src/linux/net/core/sock.c /usr/src/linux/net/ipv4/tcp.c
AUTHOR
Cyrus Durgin