Searched refs:rdata (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/dns/nameser/ |
D | ns_print.c | 64 static int charstr(const u_char *rdata, const u_char *edata, 116 u_long ttl, const u_char *rdata, size_t rdlen, in ns_sprintrrf() argument 121 const u_char *edata = rdata + rdlen; in ns_sprintrrf() 169 (void) inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen); in ns_sprintrrf() 180 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf() 186 T(len = charstr(rdata, edata, &buf, &buflen)); in ns_sprintrrf() 189 rdata += len; in ns_sprintrrf() 194 if (type == ns_t_isdn && rdata == edata) in ns_sprintrrf() 197 T(len = charstr(rdata, edata, &buf, &buflen)); in ns_sprintrrf() 200 rdata += len; in ns_sprintrrf() [all …]
|
D | ns_parse.c | 182 rr->rdata = NULL; in ns_parserr() 190 rr->rdata = handle->_msg_ptr; in ns_parserr() 245 rr->rdata = NULL; in ns_parserr2() 253 rr->rdata = handle->_msg_ptr; in ns_parserr2()
|
/bionic/libc/include/arpa/ |
D | nameser.h | 165 const u_char * rdata; member 178 const u_char * rdata; member 188 #define ns_rr_rdata(rr) ((rr).rdata + 0) 652 uint16_t rdlen, const u_char *rdata);
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 1016 const u_char *rdata = ns_rr_rdata(rr); // find the data in answer_getNegativeTTL() local 1017 const u_char *edata = rdata + ns_rr_rdlen(rr); // add the len to find the end in answer_getNegativeTTL() 1023 len = dn_skipname(rdata, edata); in answer_getNegativeTTL() 1025 rdata += len; in answer_getNegativeTTL() 1028 len = dn_skipname(rdata, edata); in answer_getNegativeTTL() 1030 rdata += len; in answer_getNegativeTTL() 1032 if (edata - rdata != 5*NS_INT32SZ) continue; in answer_getNegativeTTL() 1034 rdata += NS_INT32SZ * 4; in answer_getNegativeTTL() 1036 ttl = ns_get32(rdata); in answer_getNegativeTTL()
|