HomeSort by relevance Sort by last modified time
    Searched refs:statp (Results 1 - 10 of 10) sorted by null

  /bionic/libc/dns/resolv/
res_init.c 160 res_ninit(res_state statp) {
163 return (__res_vinit(statp, 0));
168 __res_vinit(res_state statp, int preinit) {
191 if ((statp->options & RES_INIT) != 0U)
192 res_ndestroy(statp);
195 statp->netid = NETID_UNSET;
196 statp->retrans = RES_TIMEOUT;
197 statp->retry = RES_DFLRETRY;
198 statp->options = RES_DEFAULT;
199 statp->id = res_randomid()
    [all...]
res_send.c 235 res_ourserver_p(const res_state statp, const struct sockaddr *sa) {
243 for (ns = 0; ns < statp->nscount; ns++) {
244 srv = (struct sockaddr_in *)(void *)get_nsaddr(statp, (size_t)ns);
253 if (EXT(statp).ext == NULL)
256 for (ns = 0; ns < statp->nscount; ns++) {
257 srv6 = (struct sockaddr_in6 *)(void *)get_nsaddr(statp, (size_t)ns);
364 res_nsend(res_state statp,
374 if (statp->nscount == 0) {
384 DprintQ((statp->options & RES_DEBUG) || (statp->pfcode & RES_PRF_QUERY)
    [all...]
res_query.c 128 res_nquery(res_state statp,
139 oflags = statp->_flags;
145 if (statp->options & RES_DEBUG)
149 n = res_nmkquery(statp, QUERY, name, class, type, NULL, 0, NULL,
152 if (n > 0 && (statp->_flags & RES_F_EDNS0ERR) == 0 &&
153 (statp->options & (RES_USE_EDNS0|RES_USE_DNSSEC)) != 0U)
154 n = res_nopt(statp, n, buf, sizeof(buf), anslen);
158 if (statp->options & RES_DEBUG)
161 RES_SET_H_ERRNO(statp, NO_RECOVERY);
164 n = res_nsend(statp, buf, n, answer, anslen)
    [all...]
res_debug.h 26 # define Aerror(statp, file, string, error, address) /*empty*/
27 # define Perror(statp, file, string, error) /*empty*/
32 res_pquery(statp, query, size, stdout);\
res_private.h 20 res_ourserver_p(const res_state statp, const struct sockaddr *sa);
res_mkquery.c 117 res_nmkquery(res_state statp,
135 if (statp->options & RES_DEBUG)
148 hp->rd = (statp->options & RES_RECURSE) != 0U;
231 res_nopt(res_state statp,
242 if ((statp->options & RES_DEBUG) != 0U)
261 if (statp->options & RES_USE_DNSSEC) {
263 if (statp->options & RES_DEBUG)
res_debug.c 145 fp_resstat(const res_state statp, FILE *file) {
150 if (statp->options & mask)
157 do_section(const res_state statp,
170 sflag = (int)(statp->pfcode & pflag);
171 if (statp->pfcode && !sflag)
188 (statp->pfcode & RES_PRF_HEAD1))
192 if (rrnum == 0 && sflag != 0 && (statp->pfcode & RES_PRF_HEAD1))
287 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) {
307 if ((!statp->pfcode) || (statp->pfcode & RES_PRF_HEADX) || rcode
    [all...]
res_cache.c     [all...]
  /bionic/libc/dns/include/
resolv_cache.h 40 extern void _resolv_populate_res_for_net(struct __res_state* statp);
  /external/compiler-rt/lib/tsan/rtl/
tsan_platform_linux.cc 375 __res_state *statp = (__res_state*)state; local
377 if (statp->_u._ext.nsaddrs[i] && statp->_u._ext.nssocks[i] != -1)
378 fds[cnt++] = statp->_u._ext.nssocks[i];

Completed in 512 milliseconds