Home
last modified time | relevance | path

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

/bionic/libc/dns/nameser/
Dns_parse.c89 ptr += b/*Name*/ + NS_INT16SZ/*Type*/ + NS_INT16SZ/*Class*/; in ns_skiprr()
91 if (ptr + NS_INT32SZ + NS_INT16SZ > eom) in ns_skiprr()
111 if (msg + NS_INT16SZ > eom) in ns_initparse()
114 if (msg + NS_INT16SZ > eom) in ns_initparse()
118 if (msg + NS_INT16SZ > eom) in ns_initparse()
175 if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
184 if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
238 if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom) in ns_parserr2()
247 if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom) in ns_parserr2()
Dns_print.c272 if (rdlen < (size_t)NS_INT16SZ) in ns_sprintrrf()
277 rdata += NS_INT16SZ; in ns_sprintrrf()
290 if (rdlen < (size_t)NS_INT16SZ) in ns_sprintrrf()
295 rdata += NS_INT16SZ; in ns_sprintrrf()
356 if (rdlen < 2U*NS_INT16SZ) in ns_sprintrrf()
360 order = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
361 preference = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
397 if (rdlen < 3U*NS_INT16SZ) in ns_sprintrrf()
401 priority = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
402 weight = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
[all …]
/bionic/libc/include/arpa/
Dnameser.h86 #define NS_INT16SZ 2 /* #/bytes of data in a uint16_t */ macro
490 (cp) += NS_INT16SZ; \
508 (cp) += NS_INT16SZ; \
Dnameser_compat.h146 #define INT16SZ NS_INT16SZ