'\" t .\" Title: ieee80211_iterate_active_interfaces .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Advanced driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "IEEE80211_ITERATE_AC" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Advanced driver interface" .\" ----------------------------------------------------------------- .\" * 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_iterate_active_interfaces \- iterate active interfaces .SH "SYNOPSIS" .HP \w'void\ ieee80211_iterate_active_interfaces('u .BI "void ieee80211_iterate_active_interfaces(struct\ ieee80211_hw\ *\ " "hw" ", u32\ " "iter_flags" ", void\ (*" "iterator" ")\ (void\ *data,\ u8\ *mac,\ struct\ ieee80211_vif\ *vif), void\ *\ " "data" ");" .SH "ARGUMENTS" .PP \fIhw\fR .RS 4 the hardware struct of which the interfaces should be iterated over .RE .PP \fIiter_flags\fR .RS 4 iteration flags, see enum ieee80211_interface_iteration_flags .RE .PP \fIiterator\fR .RS 4 the iterator function to call .RE .PP \fIdata\fR .RS 4 first argument of the iterator function .RE .SH "DESCRIPTION" .PP .PP This function iterates over the interfaces associated with a given hardware that are currently active and calls the callback for them\&. This function allows the iterator function to sleep, when the iterator function is atomic \fIieee80211_iterate_active_interfaces_atomic\fR can be used\&. Does not iterate over a new interface during \fBadd_interface\fR\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br