Home
last modified time | relevance | path

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

/freebsd/lib/libc/resolv/
H A Dres_mkquery.c144 cp += INT16SZ; in res_nmkquery()
146 cp += INT16SZ; in res_nmkquery()
161 cp += INT16SZ; in res_nmkquery()
163 cp += INT16SZ; in res_nmkquery()
167 cp += INT16SZ; in res_nmkquery()
179 cp += INT16SZ; in res_nmkquery()
181 cp += INT16SZ; in res_nmkquery()
185 cp += INT16SZ; in res_nmkquery()
227 cp += INT16SZ; in res_nopt()
231 cp += INT16SZ; in res_nopt()
[all …]
H A Dres_mkupdate.c198 ShrinkBuffer(n + 2*INT16SZ); in res_nmkupdate()
206 ShrinkBuffer(INT32SZ + INT16SZ); in res_nmkupdate()
209 cp += INT16SZ; in res_nmkupdate()
290 ShrinkBuffer(INT16SZ); in res_nmkupdate()
304 ShrinkBuffer(INT16SZ); in res_nmkupdate()
310 ShrinkBuffer(INT16SZ); in res_nmkupdate()
316 ShrinkBuffer(INT16SZ); in res_nmkupdate()
332 ShrinkBuffer(INT16SZ); in res_nmkupdate()
401 if (cp != (sp2 + INT16SZ)) in res_nmkupdate()
478 ShrinkBuffer(INT16SZ); in res_nmkupdate()
[all …]
H A Dres_send.c236 if (cp + 2 * INT16SZ > eom) in res_nameinquery()
238 ttype = ns_get16(cp); cp += INT16SZ; in res_nameinquery()
239 tclass = ns_get16(cp); cp += INT16SZ; in res_nameinquery()
287 if (cp + 2 * INT16SZ > eom1) in res_queriesmatch()
289 ttype = ns_get16(cp); cp += INT16SZ; in res_queriesmatch()
290 tclass = ns_get16(cp); cp += INT16SZ; in res_queriesmatch()
705 iov[0] = evConsIovec(&len, INT16SZ); in send_vc()
708 if (_writev(statp->_vcsock, iov, 2) != (INT16SZ + buflen)) { in send_vc()
719 len = INT16SZ; in send_vc()
/freebsd/contrib/tcpdump/
H A Daddrtostr.c55 #ifndef INT16SZ
56 #define INT16SZ 2 /* word size */ macro
114 uint16_t words [IN6ADDRSZ / INT16SZ]; in addrtostr6()
121 for (i = 0; i < (IN6ADDRSZ / INT16SZ); i++) in addrtostr6()
128 for (i = 0; i < (IN6ADDRSZ / INT16SZ); i++) { in addrtostr6()
157 for (i = 0; i < (IN6ADDRSZ / INT16SZ); i++) { in addrtostr6()
198 if (best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) in addrtostr6()
/freebsd/crypto/openssh/openbsd-compat/
H A Dinet_ntop.c38 #ifndef INT16SZ
39 #define INT16SZ 2 /* for systems without 16-bit ints */ macro
119 u_int words[IN6ADDRSZ / INT16SZ]; in inet_ntop6()
133 for (i = 0; i < (IN6ADDRSZ / INT16SZ); i++) { in inet_ntop6()
159 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { in inet_ntop6()
190 if (best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) { in inet_ntop6()
H A Dgetrrsetbyname.c86 #ifndef INT16SZ
87 # define INT16SZ 2 macro
96 (cp) += INT16SZ; \
499 NEED(INT16SZ); in parse_dns_qsection()
501 *cp += INT16SZ; in parse_dns_qsection()
504 NEED(INT16SZ); in parse_dns_qsection()
506 *cp += INT16SZ; in parse_dns_qsection()
559 NEED(INT16SZ); in parse_dns_rrsection()
561 *cp += INT16SZ; in parse_dns_rrsection()
564 NEED(INT16SZ); in parse_dns_rrsection()
[all …]
/freebsd/contrib/unbound/compat/
H A Dinet_ntop.c40 #ifndef INT16SZ
41 #define INT16SZ 2 /* for systems without 16-bit ints */ macro
125 u_int words[IN6ADDRSZ / INT16SZ]; in inet_ntop6()
141 for (i = 0; i < (IN6ADDRSZ / INT16SZ); i++) { in inet_ntop6()
167 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { in inet_ntop6()
198 if (best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) { in inet_ntop6()
/freebsd/contrib/ldns/compat/
H A Dinet_ntop.c40 #ifndef INT16SZ
41 #define INT16SZ 2 /* for systems without 16-bit ints */ macro
125 u_int words[IN6ADDRSZ / INT16SZ]; in inet_ntop6()
141 for (i = 0; i < (IN6ADDRSZ / INT16SZ); i++) { in inet_ntop6()
167 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) { in inet_ntop6()
198 if (best.base != -1 && (best.base + best.len) == (IN6ADDRSZ / INT16SZ)) { in inet_ntop6()
/freebsd/lib/libc/net/
H A Dgethostbydns.c216 BOUNDS_CHECK(cp, 3 * INT16SZ + INT32SZ); in gethostanswer()
218 cp += INT16SZ; /* type */ in gethostanswer()
220 cp += INT16SZ; /* class */ in gethostanswer()
225 cp += INT16SZ; /* len */ in gethostanswer()
H A Dgetaddrinfo.c2057 cp += INT16SZ; /* type */ in getanswer()
2059 cp += INT16SZ + INT32SZ; /* class, TTL */ in getanswer()
2061 cp += INT16SZ; /* len */ in getanswer()
/freebsd/include/arpa/
H A Dnameser_compat.h107 #define INT16SZ NS_INT16SZ macro
/freebsd/lib/libc/nameser/
H A Dns_print.c660 n = ns_get16(rdata); rdata += INT16SZ; in ns_sprintrrf()
662 n = ns_get16(rdata); rdata += INT16SZ; /*%< original id */ in ns_sprintrrf()
664 rdata += INT16SZ; in ns_sprintrrf()
/freebsd/contrib/sendmail/src/
H A Ddomain.c1066 cp += INT16SZ; /* skip over class */
1878 ap += INT16SZ; /* skip over class */
H A Dsendmail.h319 #ifndef INT16SZ
320 # define INT16SZ 2 /* size of a 16 bit integer in bytes */ macro
/freebsd/contrib/tnftp/
H A DChangeLog874 * in inet_pton(), pull in <arpa/nameser.h> for IN6ADDRSZ and INT16SZ,