Searched refs:rdata (Results 1 – 4 of 4) sorted by relevance
/bionic/libc/dns/nameser/ |
D | ns_print.c | 58 static int charstr(const u_char *rdata, const u_char *edata, 110 u_long ttl, const u_char *rdata, size_t rdlen, in ns_sprintrrf() argument 115 const u_char *edata = rdata + rdlen; in ns_sprintrrf() 163 (void) inet_ntop(AF_INET, rdata, buf, (socklen_t)buflen); in ns_sprintrrf() 174 T(addname(msg, msglen, &rdata, origin, &buf, &buflen)); in ns_sprintrrf() 180 T(len = charstr(rdata, edata, &buf, &buflen)); in ns_sprintrrf() 183 rdata += len; in ns_sprintrrf() 188 if (type == ns_t_isdn && rdata == edata) in ns_sprintrrf() 191 T(len = charstr(rdata, edata, &buf, &buflen)); in ns_sprintrrf() 194 rdata += len; in ns_sprintrrf() [all …]
|
D | ns_parse.c | 184 rr->rdata = NULL; in ns_parserr() 192 rr->rdata = handle->_msg_ptr; in ns_parserr() 247 rr->rdata = NULL; in ns_parserr2() 255 rr->rdata = handle->_msg_ptr; in ns_parserr2()
|
/bionic/libc/dns/resolv/ |
D | res_cache.c | 1078 const u_char *rdata = ns_rr_rdata(rr); // find the data in answer_getNegativeTTL() local 1079 const u_char *edata = rdata + ns_rr_rdlen(rr); // add the len to find the end in answer_getNegativeTTL() 1085 len = dn_skipname(rdata, edata); in answer_getNegativeTTL() 1087 rdata += len; in answer_getNegativeTTL() 1090 len = dn_skipname(rdata, edata); in answer_getNegativeTTL() 1092 rdata += len; in answer_getNegativeTTL() 1094 if (edata - rdata != 5*NS_INT32SZ) continue; in answer_getNegativeTTL() 1096 rdata += NS_INT32SZ * 4; in answer_getNegativeTTL() 1098 ttl = ns_get32(rdata); in answer_getNegativeTTL()
|
/bionic/libc/include/arpa/ |
D | nameser.h | 161 const u_char * rdata; member 174 const u_char * rdata; member 184 #define ns_rr_rdata(rr) ((rr).rdata + 0)
|