'\" t .\" Title: skb_queue_purge .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Linux Networking .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "SKB_QUEUE_PURGE" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Linux Networking" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" skb_queue_purge \- empty a list .SH "SYNOPSIS" .HP \w'void\ skb_queue_purge('u .BI "void skb_queue_purge(struct\ sk_buff_head\ *\ " "list" ");" .SH "ARGUMENTS" .PP \fIlist\fR .RS 4 list to empty .RE .SH "DESCRIPTION" .PP Delete all buffers on an sk_buff list\&. Each buffer is removed from the list and one reference dropped\&. This function takes the list lock and is atomic with respect to other list locking functions\&. .SH "COPYRIGHT" .br