Lines Matching refs:pos
1788 u8 *pos;
1798 pos = (u8 *) (hdr + 1);
1799 if (os_memcmp(pos, rfc1042_hdr, sizeof(rfc1042_hdr)) != 0)
1801 pos += sizeof(rfc1042_hdr);
1802 if (WPA_GET_BE16(pos) != ETH_P_PAE)
1804 pos += 2;
1806 return ieee802_1x_eapol_tx_status(hapd, sta, pos, buf + len - pos,
1816 const u8 *pos = buf + sizeof(*xhdr);
1829 if (pos + sizeof(struct wpa_eapol_key) <= buf + len) {
1831 wpa = (const struct wpa_eapol_key *) pos;
1843 if (!ack && pos + sizeof(*key) <= buf + len) {
1844 key = (struct ieee802_1x_eapol_key *) pos;