Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:spos

1509 				       u8 **spos, const u8 *end)
1511 while (*spos < end) {
1512 u8 val = ((*spos)[0] & 0xc0) >> 6;
1527 if (*spos + 2 > end) {
1533 offset = (((*spos)[0] & 0x3f) << 8) | (*spos)[1];
1534 if (offset >= *spos - start) {
1540 (*spos) += 2;
1544 *spos - 2);
1548 len = (*spos)[0] & 0x3f;
1552 (*spos)++;
1553 if (*spos + len > end) {
1563 os_memcpy(*upos, *spos, len);
1564 *spos += len;
1584 u8 *tmp, *end, *spos;
1596 spos = tmp + DNS_HEADER_LEN + P2P_SD_IN_MEMORY_LEN;
1597 end = spos + msg_len;
1598 spos += offset;
1607 ret = p2p_sd_dns_uncompress_label(&upos, uend, tmp, &spos, end);