Home
last modified time | relevance | path

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

/bionic/libc/dns/nameser/
Dns_parse.c91 ptr += b/*Name*/ + NS_INT16SZ/*Type*/ + NS_INT16SZ/*Class*/; in ns_skiprr()
93 if (ptr + NS_INT32SZ + NS_INT16SZ > eom) in ns_skiprr()
113 if (msg + NS_INT16SZ > eom) in ns_initparse()
116 if (msg + NS_INT16SZ > eom) in ns_initparse()
120 if (msg + NS_INT16SZ > eom) in ns_initparse()
177 if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
186 if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
240 if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom) in ns_parserr2()
249 if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom) in ns_parserr2()
Dns_print.c266 if (rdlen < (size_t)NS_INT16SZ) in ns_sprintrrf()
271 rdata += NS_INT16SZ; in ns_sprintrrf()
284 if (rdlen < (size_t)NS_INT16SZ) in ns_sprintrrf()
289 rdata += NS_INT16SZ; in ns_sprintrrf()
350 if (rdlen < 2U*NS_INT16SZ) in ns_sprintrrf()
354 order = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
355 preference = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
391 if (rdlen < 3U*NS_INT16SZ) in ns_sprintrrf()
395 priority = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
396 weight = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
[all …]
/bionic/libc/include/arpa/
Dnameser_compat.h84 #define INT16SZ NS_INT16SZ
Dnameser.h86 #define NS_INT16SZ 2 /* #/bytes of data in a uint16_t */ macro
486 (cp) += NS_INT16SZ; \
504 (cp) += NS_INT16SZ; \