1SKB_QUEUE_PURGE(9) Linux Networking SKB_QUEUE_PURGE(9)
23
4
NAME
6skb_queue_purge - empty a list
7
SYNOPSIS
9void skb_queue_purge(struct sk_buff_head * list);
10
ARGUMENTS
12list
13list to empty
14
DESCRIPTION
16Delete all buffers on an sk_buff list. Each buffer is removed from the
17list and one reference dropped. This function takes the list lock and
18is atomic with respect to other list locking functions.
19
COPYRIGHT
21Kernel Hackers Manual 2.6. June 2019 SKB_QUEUE_PURGE(9)