Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:pos

35 	u8 *pos;
38 10, EAP_CODE_RESPONSE, id, &pos);
42 *pos++ = 0x80; /* Mandatory */
43 *pos++ = EAP_TLV_NAK_TLV;
45 *pos++ = 0;
46 *pos++ = 6;
48 *pos++ = 0;
49 *pos++ = 0;
50 *pos++ = 0;
51 *pos++ = 0;
53 WPA_PUT_BE16(pos, nak_type);
72 u8 *pos;
75 6, EAP_CODE_RESPONSE, id, &pos);
79 *pos++ = 0x80; /* Mandatory */
80 *pos++ = EAP_TLV_RESULT_TLV;
82 *pos++ = 0;
83 *pos++ = 2;
85 WPA_PUT_BE16(pos, status);
110 const u8 *pos;
117 pos = (const u8 *) (hdr + 1);
118 pos++;
119 wpa_hexdump(MSG_DEBUG, "EAP-TLV: Received TLVs", pos, left);
121 mandatory = !!(pos[0] & 0x80);
122 tlv_type = WPA_GET_BE16(pos) & 0x3fff;
123 pos += 2;
124 tlv_len = WPA_GET_BE16(pos);
125 pos += 2;
136 result_tlv = pos;
154 pos += tlv_len;