---
name: "ieee80211_iterate_active_interfaces"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/ieee80211_iterate_active_interfaces"
---

# ieee80211\_iterate\_active\_interfaces(9)

iterate active interfaces

## NAME

ieee80211\_iterate\_active\_interfaces - iterate active interfaces

## SYNOPSIS

**void ieee80211\_iterate\_active\_interfaces(struct ieee80211\_hw \*** *hw***, u32** *iter\_flags***, void (\****iterator***) (void \*data, u8 \*mac, struct ieee80211\_vif \*vif), void \*** *data***);**

## ARGUMENTS

*hw*

the hardware struct of which the interfaces should be iterated over

*iter\_flags*

iteration flags, see enum ieee80211\_interface\_iteration\_flags

*iterator*

the iterator function to call

*data*

first argument of the iterator function

## DESCRIPTION

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 *ieee80211\_iterate\_active\_interfaces\_atomic* can be used. Does not iterate over a new interface during **add\_interface**.

## AUTHOR

**Johannes Berg** \<johannes@sipsolutions.net\>

Author.

## COPYRIGHT
