---
name: "cfg80211_find_ie"
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/cfg80211_find_ie"
---

# cfg80211\_find\_ie(9)

find information element in data

## NAME

cfg80211\_find\_ie - find information element in data

## SYNOPSIS

**const u8 \* cfg80211\_find\_ie(u8** *eid***, const u8 \*** *ies***, int** *len***);**

## ARGUMENTS

*eid*

element ID

*ies*

data consisting of IEs

*len*

length of data

## RETURN

**NULL** 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.

## NOTE

There are no checks on the element length other than having to fit into the given data.

## AUTHOR

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

Author.

## COPYRIGHT
