'\" t .\" Title: ieee80211_data_to_8023 .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: Data path helpers .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "IEEE80211_DATA_TO_80" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "Data path helpers" .\" ----------------------------------------------------------------- .\" * 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" ieee80211_data_to_8023 \- convert an 802\&.11 data frame to 802\&.3 .SH "SYNOPSIS" .HP \w'int\ ieee80211_data_to_8023('u .BI "int ieee80211_data_to_8023(struct\ sk_buff\ *\ " "skb" ", const\ u8\ *\ " "addr" ", enum\ nl80211_iftype\ " "iftype" ");" .SH "ARGUMENTS" .PP \fIskb\fR .RS 4 the 802\&.11 data frame .RE .PP \fIaddr\fR .RS 4 the device MAC address .RE .PP \fIiftype\fR .RS 4 the virtual interface type .RE .SH "RETURN" .PP 0 on success\&. Non\-zero on error\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br