Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:upos

1508 static int p2p_sd_dns_uncompress_label(char **upos, char *uend, u8 *start,
1542 return p2p_sd_dns_uncompress_label(upos, uend, start,
1560 if (*upos + len + 2 > uend)
1563 os_memcpy(*upos, *spos, len);
1565 *upos += len;
1566 (*upos)[0] = '.';
1567 (*upos)++;
1568 (*upos)[0] = '\0';
1585 char *upos, *uend;
1604 upos = buf;
1607 ret = p2p_sd_dns_uncompress_label(&upos, uend, tmp, &spos, end);
1613 if (upos == buf) {
1614 upos[0] = '.';
1615 upos[1] = '\0';
1616 } else if (upos[-1] == '.')
1617 upos[-1] = '\0';