Searched refs:rr (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/netbsd/nameser/ |
D | ns_parse.c | 140 ns_parserr(ns_msg *handle, ns_sect section, int rrnum, ns_rr *rr) { in ns_parserr() argument 168 handle->_msg_ptr, rr->name, NS_MAXDNAME); in ns_parserr() 174 NS_GET16(rr->type, handle->_msg_ptr); in ns_parserr() 175 NS_GET16(rr->rr_class, handle->_msg_ptr); in ns_parserr() 177 rr->ttl = 0; in ns_parserr() 178 rr->rdlength = 0; in ns_parserr() 179 rr->rdata = NULL; in ns_parserr() 183 NS_GET32(rr->ttl, handle->_msg_ptr); in ns_parserr() 184 NS_GET16(rr->rdlength, handle->_msg_ptr); in ns_parserr() 185 if (handle->_msg_ptr + rr->rdlength > handle->_eom) in ns_parserr() [all …]
|
D | ns_print.c | 92 ns_sprintrr(const ns_msg *handle, const ns_rr *rr, in ns_sprintrr() argument 99 ns_rr_name(*rr), ns_rr_class(*rr), ns_rr_type(*rr), in ns_sprintrr() 100 ns_rr_ttl(*rr), ns_rr_rdata(*rr), ns_rr_rdlen(*rr), in ns_sprintrr()
|
/bionic/libc/private/ |
D | arpa_nameser.h | 144 #define ns_rr_name(rr) (((rr).name[0] != '\0') ? (rr).name : ".") argument 145 #define ns_rr_type(rr) ((ns_type)((rr).type + 0)) argument 146 #define ns_rr_class(rr) ((ns_class)((rr).rr_class + 0)) argument 147 #define ns_rr_ttl(rr) ((u_long)(rr).ttl + 0) argument 148 #define ns_rr_rdlen(rr) ((size_t)(rr).rdlength + 0) argument 149 #define ns_rr_rdata(rr) ((rr).rdata + 0) argument
|
/bionic/libc/netbsd/resolv/ |
D | res_debug.c | 167 ns_rr rr; in do_section() local 185 if (ns_parserr(handle, section, rrnum, &rr)) { in do_section() 199 ns_rr_name(rr), in do_section() 200 p_type(ns_rr_type(rr)), in do_section() 201 p_class(ns_rr_class(rr))); in do_section() 202 else if (section == ns_s_ar && ns_rr_type(rr) == ns_t_opt) { in do_section() 203 u_int32_t ttl = ns_rr_ttl(rr); in do_section() 206 (ttl>>16)&0xff, ns_rr_class(rr), ttl&0xffff); in do_section() 208 n = ns_sprintrr(handle, &rr, NULL, NULL, in do_section()
|
D | res_cache.c | 1028 ns_rr rr; in answer_getNegativeTTL() local 1032 if ((ns_parserr(&handle, ns_s_ns, n, &rr) == 0) && (ns_rr_type(rr) == ns_t_soa)) { in answer_getNegativeTTL() 1033 const u_char *rdata = ns_rr_rdata(rr); // find the data in answer_getNegativeTTL() 1034 const u_char *edata = rdata + ns_rr_rdlen(rr); // add the len to find the end in answer_getNegativeTTL() 1036 u_long ttl, rec_result = ns_rr_ttl(rr); in answer_getNegativeTTL() 1084 ns_rr rr; in answer_getTTL() local 1096 if (ns_parserr(&handle, ns_s_an, n, &rr) == 0) { in answer_getTTL() 1097 ttl = ns_rr_ttl(rr); in answer_getTTL()
|
/bionic/libc/kernel/common/video/ |
D | dsscomp.h | 101 __s16 rr, rg, rb; member
|