'\" t .\" Title: cfg80211_find_ie .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Scanning and BSS list handling .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "CFG80211_FIND_IE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Scanning and BSS list handling" .\" ----------------------------------------------------------------- .\" * 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_find_ie \- find information element in data .SH "SYNOPSIS" .HP \w'const\ u8\ *\ cfg80211_find_ie('u .BI "const u8 * cfg80211_find_ie(u8\ " "eid" ", const\ u8\ *\ " "ies" ", int\ " "len" ");" .SH "ARGUMENTS" .PP \fIeid\fR .RS 4 element ID .RE .PP \fIies\fR .RS 4 data consisting of IEs .RE .PP \fIlen\fR .RS 4 length of data .RE .SH "RETURN" .PP \fBNULL\fR if the element ID could not be found or if the element is invalid (claims to be longer than the given data), or a pointer to the first byte of the requested element, that is the byte containing the element ID\&. .SH "NOTE" .PP There are no checks on the element length other than having to fit into the given data\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br