Lines Matching defs:end
354 * @end: Pointer to the end of the Key Data buffer
356 * Returns: 0 on success, 1 if end mark is found, -1 on failure
358 static int wpa_parse_vendor_specific(const u8 *pos, const u8 *end,
390 * @end: Pointer to the end of the Key Data buffer
392 * Returns: 0 on success, 1 if end mark is found, -1 on failure
394 static int wpa_parse_generic(const u8 *pos, const u8 *end,
411 if (1 + RSN_SELECTOR_LEN < end - pos &&
493 const u8 *pos, *end;
497 for (pos = buf, end = pos + len; end - pos > 1; pos += 2 + pos[1]) {
503 if (2 + pos[1] > end - pos) {
586 ret = wpa_parse_generic(pos, end, ie);
594 ret = wpa_parse_vendor_specific(pos, end, ie);