Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/netbsd/net/
Dgetaddrinfo.c1885 querybuf *buf, *buf2; in _dns_getaddrinfo() local
1908 buf2 = malloc(sizeof(*buf2)); in _dns_getaddrinfo()
1909 if (buf2 == NULL) { in _dns_getaddrinfo()
1939 q2.answer = buf2->buf; in _dns_getaddrinfo()
1940 q2.anslen = sizeof(buf2->buf); in _dns_getaddrinfo()
1946 free(buf2); in _dns_getaddrinfo()
1966 free(buf2); in _dns_getaddrinfo()
1973 free(buf2); in _dns_getaddrinfo()
1986 free(buf2); in _dns_getaddrinfo()
1996 ai = getanswer(buf2, q2.n, q2.name, q2.qtype, pai); in _dns_getaddrinfo()
[all …]
/bionic/libc/netbsd/resolv/
Dres_send.c325 const u_char *buf2, const u_char *eom2) in res_queriesmatch() argument
330 if (buf1 + HFIXEDSZ > eom1 || buf2 + HFIXEDSZ > eom2) in res_queriesmatch()
338 (((const HEADER *)(const void *)buf2)->opcode == ns_o_update)) in res_queriesmatch()
341 if (qdcount != ntohs(((const HEADER*)(const void *)buf2)->qdcount)) in res_queriesmatch()
355 if (!res_nameinquery(tname, ttype, tclass, buf2, eom2)) in res_queriesmatch()