Searched refs:rcode (Results 1 – 9 of 9) sorted by relevance
/bionic/libc/dns/resolv/ |
D | res_stats.c | 39 _res_stats_set_sample(struct __res_sample* sample, time_t now, int rcode, int rtt) in _res_stats_set_sample() argument 42 async_safe_format_log(ANDROID_LOG_INFO, "libc", "rcode = %d, sec = %d", rcode, rtt); in _res_stats_set_sample() 45 sample->rcode = rcode; in _res_stats_set_sample() 76 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 556 ns, &now, &rcode, &delay); in res_nsend() 565 _res_stats_set_sample(&sample, now, rcode, delay); in res_nsend() 587 ns, &v_circuit, &gotsomewhere, &now, &rcode, &delay); in res_nsend() 592 _res_stats_set_sample(&sample, now, rcode, delay); in res_nsend() 755 int *terrno, int ns, time_t* at, int* rcode, int* delay) in send_vc() argument 758 *rcode = RCODE_INTERNAL_ERROR; in send_vc() 853 *rcode = RCODE_TIMEOUT; in send_vc() 974 *rcode = anhp->rcode; in send_vc() 1086 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 | 51 __u32 rcode; member 99 __u32 rcode; member 156 __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 | 2161 int rcode; in res_queryN() local 2167 rcode = NOERROR; in res_queryN() 2176 hp->rcode = NOERROR; /* default */ in res_queryN() 2214 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN() 2215 rcode = hp->rcode; /* record most recent error */ in res_queryN() 2218 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN() 2230 switch (rcode) { in res_queryN() 2355 if (hp->rcode == SERVFAIL) { in res_searchN()
|