Home
last modified time | relevance | path

Searched refs:NS_INT16SZ (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_rdata.c114 UNPACK_SOME(NS_INT16SZ); in ns_rdata_unpack()
118 UNPACK_SOME(NS_INT16SZ); in ns_rdata_unpack()
123 UNPACK_SOME(NS_INT16SZ * 3); in ns_rdata_unpack()
195 EQUAL_SOME(NS_INT16SZ); in ns_rdata_equal()
199 EQUAL_SOME(NS_INT16SZ); in ns_rdata_equal()
204 EQUAL_SOME(NS_INT16SZ * 3); in ns_rdata_equal()
270 REFERS_SOME(NS_INT16SZ); in ns_rdata_refers()
274 REFERS_SOME(NS_INT16SZ); in ns_rdata_refers()
279 REFERS_SOME(NS_INT16SZ * 3); in ns_rdata_refers()
H A Dns_parse.c83 ptr += b/*Name*/ + NS_INT16SZ/*Type*/ + NS_INT16SZ/*Class*/; in ns_skiprr()
85 if (ptr + NS_INT32SZ + NS_INT16SZ > eom) in ns_skiprr()
104 if (msg + NS_INT16SZ > eom) in ns_initparse()
107 if (msg + NS_INT16SZ > eom) in ns_initparse()
111 if (msg + NS_INT16SZ > eom) in ns_initparse()
168 if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
177 if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
230 if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom) in ns_parserr2()
239 if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom) in ns_parserr2()
H A Dns_print.c255 if (rdlen < (size_t)NS_INT16SZ) in ns_sprintrrf()
260 rdata += NS_INT16SZ; in ns_sprintrrf()
273 if (rdlen < (size_t)NS_INT16SZ) in ns_sprintrrf()
278 rdata += NS_INT16SZ; in ns_sprintrrf()
339 if (rdlen < 2U*NS_INT16SZ) in ns_sprintrrf()
343 order = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
344 preference = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
380 if (rdlen < 3U*NS_INT16SZ) in ns_sprintrrf()
384 priority = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
385 weight = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
[all …]
H A Dns_newmsg.c219 u_char *t = p + NS_INT16SZ; in rdcpy()
/illumos-gate/usr/src/lib/libresolv2/common/inet/
H A Dinet_cidr_ntop.c164 u_int words[NS_IN6ADDRSZ / NS_INT16SZ]; in inet_cidr_ntop_ipv6()
184 for (i = 0; i < (NS_IN6ADDRSZ / NS_INT16SZ); i++) { in inet_cidr_ntop_ipv6()
209 for (i = 0; i < (NS_IN6ADDRSZ / NS_INT16SZ); i++) { in inet_cidr_ntop_ipv6()
245 (NS_IN6ADDRSZ / NS_INT16SZ)) in inet_cidr_ntop_ipv6()
H A Dinet_cidr_pton.c195 if (tp + NS_INT16SZ > endp) in inet_cidr_pton_ipv6()
218 if (tp + NS_INT16SZ > endp) in inet_cidr_pton_ipv6()
H A Dinet_net_pton.c311 if (tp + NS_INT16SZ > endp) in inet_net_pton_ipv6()
332 if (tp + NS_INT16SZ > endp) in inet_net_pton_ipv6()
/illumos-gate/usr/src/head/arpa/
H A Dnameser.h99 #define NS_INT16SZ 2 /* #/bytes of data in a u_int16_t */ macro
536 (cp) += NS_INT16SZ; \
554 (cp) += NS_INT16SZ; \
H A Dnameser_compat.h174 #define INT16SZ NS_INT16SZ