Home
last modified time | relevance | path

Searched refs:rcode (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/dns/resolv/
Dres_stats.c39 _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()
Dres_send.c493 int rcode = RCODE_INTERNAL_ERROR; in res_nsend() local
547 ns, &now, &rcode, &delay); in res_nsend()
556 _res_stats_set_sample(&sample, now, rcode, delay); in res_nsend()
578 ns, &v_circuit, &gotsomewhere, &now, &rcode, &delay); in res_nsend()
583 _res_stats_set_sample(&sample, now, rcode, delay); in res_nsend()
758 int *terrno, int ns, time_t* at, int* rcode, int* delay) in send_vc() argument
761 *rcode = RCODE_INTERNAL_ERROR; in send_vc()
853 *rcode = RCODE_TIMEOUT; in send_vc()
976 *rcode = anhp->rcode; in send_vc()
1075 time_t *at, int *rcode, int* delay) in send_dg() argument
[all …]
Dres_query.c142 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()
Dres_debug.c300 u_int opcode, rcode, id; in res_pquery() local
307 rcode = ns_msg_getflag(handle, ns_f_rcode); in res_pquery()
317 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode) in res_pquery()
320 _res_opcodes[opcode], p_rcode((int)rcode), id); in res_pquery()
737 p_rcode(int rcode) { in p_rcode() argument
738 return (sym_ntos(__p_rcode_syms, rcode, (int *)0)); in p_rcode()
Dres_mkquery.c149 hp->rcode = NOERROR; in res_nmkquery()
/bionic/libc/dns/include/
Dresolv_stats.h37 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/
Dfirewire-cdev.h51 __u32 rcode; member
99 __u32 rcode; member
156 __u32 rcode; member
/bionic/libc/include/arpa/
Dnameser_compat.h64 unsigned rcode :4; /* response code */ member
/bionic/libc/dns/net/
Dgetaddrinfo.c2166 int rcode; in res_queryN() local
2172 rcode = NOERROR; in res_queryN()
2185 hp->rcode = NOERROR; /* default */ in res_queryN()
2224 if (n < 0 || hp->rcode != NOERROR || ntohs(hp->ancount) == 0) { in res_queryN()
2225 rcode = hp->rcode; /* record most recent error */ in res_queryN()
2240 printf(";; rcode = %u, ancount=%u\n", hp->rcode, in res_queryN()
2252 switch (rcode) { in res_queryN()
2377 if (hp->rcode == SERVFAIL) { in res_searchN()