/bionic/libc/dns/resolv/ |
res_init.c | 159 res_ninit(res_state statp) { 162 return (__res_vinit(statp, 0)); 167 __res_vinit(res_state statp, int preinit) { 190 if ((statp->options & RES_INIT) != 0U) 191 res_ndestroy(statp); 194 statp->netid = NETID_UNSET; 195 statp->retrans = RES_TIMEOUT; 196 statp->retry = RES_DFLRETRY; 197 statp->options = RES_DEFAULT; 198 statp->id = res_randomid() [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_send.c | 233 res_ourserver_p(const res_state statp, const struct sockaddr *sa) { 241 for (ns = 0; ns < statp->nscount; ns++) { 242 srv = (struct sockaddr_in *)(void *)get_nsaddr(statp, (size_t)ns); 251 if (EXT(statp).ext == NULL) 254 for (ns = 0; ns < statp->nscount; ns++) { 255 srv6 = (struct sockaddr_in6 *)(void *)get_nsaddr(statp, (size_t)ns); 361 res_nsend(res_state statp, 372 DprintQ((statp->options & RES_DEBUG) || (statp->pfcode & RES_PRF_QUERY), 374 v_circuit = (statp->options & RES_USEVC) || buflen > PACKETSZ [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 | 116 res_nmkquery(res_state statp, 134 if (statp->options & RES_DEBUG) 147 hp->rd = (statp->options & RES_RECURSE) != 0U; 148 hp->ad = (statp->options & RES_USE_DNSSEC) != 0U; 231 res_nopt(res_state statp, 242 if ((statp->options & RES_DEBUG) != 0U) 263 if (statp->options & RES_USE_DNSSEC) { 265 if (statp->options & RES_DEBUG)
|
res_debug.c | 137 fp_resstat(const res_state statp, FILE *file) { 142 if (statp->options & mask) 149 do_section(const res_state statp, 162 sflag = (int)(statp->pfcode & pflag); 163 if (statp->pfcode && !sflag) 180 (statp->pfcode & RES_PRF_HEAD1)) 184 if (rrnum == 0 && sflag != 0 && (statp->pfcode & RES_PRF_HEAD1)) 279 res_pquery(const res_state statp, const u_char *msg, int len, FILE *file) { 299 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 | 285 __res_state *statp = (__res_state*)state; local 287 if (statp->_u._ext.nsaddrs[i] && statp->_u._ext.nssocks[i] != -1) 288 fds[cnt++] = statp->_u._ext.nssocks[i];
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
res_debug.c | 139 fp_resstat(struct __res_state *statp, FILE *file) {
143 if (!statp)
144 statp = &_res;
146 if (statp->options & mask)
|
/external/python/cpython2/Modules/ |
_bsddb.c | 6440 DB_LOG_STAT* statp = NULL; local 6828 DB_MUTEX_STAT* statp = NULL; local 7750 DB_REP_STAT *statp; local 8028 DB_REPMGR_STAT *statp; local [all...] |