Home
last modified time | relevance | path

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

/bionic/libc/netbsd/nameser/
Dns_parse.c88 ptr += b/*Name*/ + NS_INT16SZ/*Type*/ + NS_INT16SZ/*Class*/; in ns_skiprr()
90 if (ptr + NS_INT32SZ + NS_INT16SZ > eom) in ns_skiprr()
110 if (msg + NS_INT16SZ > eom) in ns_initparse()
113 if (msg + NS_INT16SZ > eom) in ns_initparse()
117 if (msg + NS_INT16SZ > eom) in ns_initparse()
172 if (handle->_msg_ptr + NS_INT16SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
181 if (handle->_msg_ptr + NS_INT32SZ + NS_INT16SZ > handle->_eom) in ns_parserr()
Dns_print.c271 if (rdlen < (size_t)NS_INT16SZ) in ns_sprintrrf()
276 rdata += NS_INT16SZ; in ns_sprintrrf()
289 if (rdlen < (size_t)NS_INT16SZ) in ns_sprintrrf()
294 rdata += NS_INT16SZ; in ns_sprintrrf()
354 if (rdlen < 2U*NS_INT16SZ) in ns_sprintrrf()
358 order = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
359 preference = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
395 if (rdlen < 3U*NS_INT16SZ) in ns_sprintrrf()
399 priority = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
400 weight = ns_get16(rdata); rdata += NS_INT16SZ; in ns_sprintrrf()
[all …]
/bionic/libc/private/
Darpa_nameser.h83 #define NS_INT16SZ 2 /* #/bytes of data in a uint16_t */ macro
438 (cp) += NS_INT16SZ; \
456 (cp) += NS_INT16SZ; \
Darpa_nameser_compat.h144 #define INT16SZ NS_INT16SZ