Home
last modified time | relevance | path

Searched refs:INT16SZ (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/dns/resolv/
Dres_mkquery.c169 cp += INT16SZ; in res_nmkquery()
171 cp += INT16SZ; in res_nmkquery()
186 cp += INT16SZ; in res_nmkquery()
188 cp += INT16SZ; in res_nmkquery()
192 cp += INT16SZ; in res_nmkquery()
204 cp += INT16SZ; in res_nmkquery()
206 cp += INT16SZ; in res_nmkquery()
210 cp += INT16SZ; in res_nmkquery()
256 cp += INT16SZ; in res_nopt()
260 cp += INT16SZ; in res_nopt()
[all …]
Dres_send.c290 if (cp + 2 * INT16SZ > eom) in res_nameinquery()
292 ttype = ns_get16(cp); cp += INT16SZ; in res_nameinquery()
293 tclass = ns_get16(cp); cp += INT16SZ; in res_nameinquery()
340 if (cp + 2 * INT16SZ > eom1) in res_queriesmatch()
342 ttype = ns_get16(cp); cp += INT16SZ; in res_queriesmatch()
343 tclass = ns_get16(cp); cp += INT16SZ; in res_queriesmatch()
863 iov[0] = evConsIovec(&len, INT16SZ); in send_vc()
866 if (writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) { in send_vc()
877 len = INT16SZ; in send_vc()
/bionic/libc/upstream-openbsd/lib/libc/net/
Dinet_ntop.c106 u_int words[IN6ADDRSZ / INT16SZ]; in inet_ntop6()
120 for (i = 0; i < (IN6ADDRSZ / INT16SZ); i++) { in inet_ntop6()
146 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { in inet_ntop6()
183 if (best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) { in inet_ntop6()
Dinet_pton.c169 if (tp + INT16SZ > endp) in inet_pton6()
188 if (tp + INT16SZ > endp) in inet_pton6()
/bionic/libc/include/arpa/
Dnameser_compat.h84 #define INT16SZ NS_INT16SZ macro
/bionic/libc/dns/net/
Dgethnamaddr.c299 BOUNDS_CHECK(cp, 3 * INT16SZ + INT32SZ); in getanswer()
301 cp += INT16SZ; /* type */ in getanswer()
303 cp += INT16SZ + INT32SZ; /* class, TTL */ in getanswer()
305 cp += INT16SZ; /* len */ in getanswer()
Dgetaddrinfo.c1390 BOUNDS_CHECK(cp, 3 * INT16SZ + INT32SZ); in getanswer()
1392 cp += INT16SZ; /* type */ in getanswer()
1394 cp += INT16SZ + INT32SZ; /* class, TTL */ in getanswer()
1396 cp += INT16SZ; /* len */ in getanswer()
/bionic/libc/dns/nameser/
Dns_print.c664 n = ns_get16(rdata); rdata += INT16SZ; in ns_sprintrrf()
666 n = ns_get16(rdata); rdata += INT16SZ; /* original id */ in ns_sprintrrf()
668 rdata += INT16SZ; in ns_sprintrrf()