Searched refs:rcode (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/dns/resolv/ |
D | res_stats.c | 38 _res_stats_set_sample(struct __res_sample* sample, time_t now, int rcode, int rtt) in _res_stats_set_sample() argument 41 __libc_format_log(ANDROID_LOG_INFO, "libc", "rcode = %d, sec = %d", rcode, rtt); in _res_stats_set_sample() 44 sample->rcode = rcode; in _res_stats_set_sample() 75 switch (stats->samples[i].rcode) { in android_net_res_stats_aggregate()
|
D | res_query.c | 142 hp->rcode = NOERROR; /* default */ in res_nquery() 184 if (hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_nquery() 188 p_rcode(hp->rcode), in res_nquery() 193 switch (hp->rcode) { in res_nquery() 326 if (hp->rcode == SERVFAIL) { in res_nsearch()
|
D | res_send.c | 502 int rcode = RCODE_INTERNAL_ERROR; in res_nsend() local 552 ns, &now, &rcode, &delay); in res_nsend() 561 _res_stats_set_sample(&sample, now, rcode, delay); in res_nsend() 583 ns, &v_circuit, &gotsomewhere, &now, &rcode, &delay); in res_nsend() 588 _res_stats_set_sample(&sample, now, rcode, delay); in res_nsend() 751 int *terrno, int ns, time_t* at, int* rcode, int* delay) in send_vc() argument 754 *rcode = RCODE_INTERNAL_ERROR; in send_vc() 849 *rcode = RCODE_TIMEOUT; in send_vc() 970 *rcode = anhp->rcode; in send_vc() 1082 time_t *at, int *rcode, int* delay) in send_dg() argument [all …]
|
D | res_debug.c | 282 u_int opcode, rcode, id; in res_pquery() local 289 rcode = ns_msg_getflag(handle, ns_f_rcode); in res_pquery() 299 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery() 302 _res_opcodes[opcode], p_rcode((int)rcode), id); in res_pquery() 719 p_rcode(int rcode) { in p_rcode() argument 720 return (sym_ntos(__p_rcode_syms, rcode, (int *)0)); in p_rcode()
|
D | res_mkquery.c | 148 hp->rcode = NOERROR; in res_nmkquery()
|
/bionic/libc/dns/include/ |
D | resolv_stats.h | 37 uint8_t rcode; // the DNS rcode or RCODE_XXX defined above member 55 _res_stats_set_sample(struct __res_sample* sample, time_t now, int rcode, int rtt);
|
/bionic/libc/kernel/uapi/linux/ |
D | firewire-cdev.h | 59 __u32 rcode; member 119 __u32 rcode; member 190 __u32 rcode; member
|
/bionic/libc/include/arpa/ |
D | nameser_compat.h | 64 unsigned rcode :4; /* response code */ member
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 2162 int rcode; in res_queryN() local 2168 rcode = NOERROR; in res_queryN() 2177 hp->rcode = NOERROR; /* default */ in res_queryN() 2215 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 2216 rcode = hp->rcode; /* record most recent error */ in res_queryN() 2219 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN() 2231 switch (rcode) { in res_queryN() 2356 if (hp->rcode == SERVFAIL) { in res_searchN()
|