'\" t .\" Title: cfg80211_testmode_reply .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Test mode .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CFG80211_TESTMODE_RE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Test mode" .\" ----------------------------------------------------------------- .\" * 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" cfg80211_testmode_reply \- send the reply skb .SH "SYNOPSIS" .HP \w'int\ cfg80211_testmode_reply('u .BI "int cfg80211_testmode_reply(struct\ sk_buff\ *\ " "skb" ");" .SH "ARGUMENTS" .PP \fIskb\fR .RS 4 The skb, must have been allocated with \fBcfg80211_testmode_alloc_reply_skb\fR .RE .SH "DESCRIPTION" .PP Since calling this function will usually be the last thing before returning from the \fItestmode_cmd\fR you should return the error code\&. Note that this function consumes the skb regardless of the return value\&. .SH "RETURN" .PP An error code or 0 on success\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br