Searched refs:_res (Results 1 - 25 of 31) sorted by relevance

12

/freebsd-10-stable/lib/libc/resolv/
H A Dres_state.c42 #undef _res macro
44 struct __res_state _res; variable in typeref:struct:__res_state
103 return res_check_reload(&_res);
107 return (&_res);
114 return (&_res);
121 return (&_res);
H A Dres_data.c83 res_state statp = &_res;
90 * fields of _res before res_init() is called, res_init() will not
98 * _res.options is tricky since some apps were known to diddle the bits
126 res_state statp = &_res;
143 res_state statp = &_res;
155 res_state statp = &_res;
170 res_state statp = &_res;
181 _res.qhook = hook;
186 _res.rhook = hook;
192 return (res_ourserver_p(&_res, in
[all...]
H A DSymbol.map92 _res;
/freebsd-10-stable/contrib/sendmail/libmilter/
H A Dsm_gethost.c58 resv6 = bitset(RES_USE_INET6, _res.options);
59 _res.options |= RES_USE_INET6;
64 _res.options &= ~RES_USE_INET6;
/freebsd-10-stable/contrib/sendmail/src/
H A Dsm_resolve.c411 old_options = _res.options;
412 _res.options |= RES_DEBUG;
418 save_retrans = _res.retrans;
419 _res.retrans = retrans;
423 save_retry = _res.retry;
424 _res.retry = retry;
455 _res.options = old_options;
467 _res.retrans = save_retrans;
469 _res.retry = save_retry;
H A Ddomain.c42 # define RES_DNSRCH_VARIABLE _res.dnsrch
340 if (tTd(8, 8) || _res.options & RES_DEBUG)
638 int saveopts = _res.options;
650 _res.options &= ~(RES_DNSRCH|RES_DEFNAMES);
652 _res.options = saveopts;
796 if ((_res.options & RES_INIT) == 0 && res_init() == -1)
837 if (n >= 0 && *--cp != '.' && bitset(RES_DNSRCH, _res.options))
845 else if (n == 0 && bitset(RES_DEFNAMES, _res.options))
847 *dp++ = _res.defdname;
H A Ddaemon.c2301 int oldopts = _res.options;
2303 _res.options &= ~(RES_DEFNAMES|RES_DNSRCH);
2310 _res.options = oldopts;
2339 int oldopts = _res.options;
2341 _res.options &= ~(RES_DEFNAMES|RES_DNSRCH);
2347 _res.options = oldopts;
4010 retrans = _res.retrans;
4011 _res.retrans = map->map_timeout;
4015 retry = _res.retry;
4016 _res
[all...]
H A Dmain.c695 if (!bitset(RES_INIT, _res.options))
698 _res.options |= RES_DEBUG;
700 _res.options &= ~RES_DEBUG;
702 _res.options |= RES_NOALIASES;
704 TimeOuts.res_retry[RES_TO_DEFAULT] = _res.retry;
705 TimeOuts.res_retry[RES_TO_FIRST] = _res.retry;
706 TimeOuts.res_retry[RES_TO_NORMAL] = _res.retry;
707 TimeOuts.res_retrans[RES_TO_DEFAULT] = _res.retrans;
708 TimeOuts.res_retrans[RES_TO_FIRST] = _res.retrans;
709 TimeOuts.res_retrans[RES_TO_NORMAL] = _res
[all...]
H A Dsavemail.c599 _res.retry = TimeOuts.res_retry[RES_TO_FIRST];
600 _res.retrans = TimeOuts.res_retrans[RES_TO_FIRST];
H A Dconf.c4249 resv6 = bitset(RES_USE_INET6, _res.options);
4250 _res.options |= RES_USE_INET6;
4255 _res.options &= ~RES_USE_INET6;
5615 if (!*_res.defdname)
5618 len_domain = strlen(_res.defdname);
5621 _res.defdname) == 0) &&
H A Ddeliver.c1865 _res.options &= ~(RES_DEFNAMES | RES_DNSRCH); /* XXX */
3445 _res.options |= RES_DEFNAMES | RES_DNSRCH; /* XXX */
5768 int oldoptions = _res.options;
5838 _res.options &= ~(RES_DEFNAMES | RES_DNSRCH); /* XXX */
5966 _res.options = oldoptions;
/freebsd-10-stable/crypto/heimdal/base/
H A Dheimbase.h61 #define heim_builtin_expect(_op,_res) __builtin_expect(_op,_res)
63 #define heim_builtin_expect(_op,_res) (_op)
/freebsd-10-stable/contrib/sendmail/contrib/
H A Dbitdomain.c222 if ((_res.options & RES_INIT) == 0 && res_init() == -1)
225 _res.options &= ~(RES_DNSRCH|RES_DEFNAMES);
226 _res.retrans = 30;
227 _res.retry = 10;
/freebsd-10-stable/contrib/bsnmp/lib/
H A Dsnmpclient.h185 typedef void (*snmp_table_cb_f)(void *_list, void *_arg, int _res);
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dgetrrsetbyname.c71 struct __res_state _res; variable in typeref:struct:__res_state
190 struct __res_state *_resp = _THREAD_PRIVATE(_res, _res, &_res);
/freebsd-10-stable/sys/amd64/vmm/intel/
H A Dvmx_cpufunc.h200 uint64_t _res; member in struct:invept_desc
/freebsd-10-stable/usr.sbin/ypserv/
H A Dyp_dnslookup.c132 if (!(_res.options & RES_INIT) && res_init() == -1) {
187 for (ns = 0; ns < _res.nscount; ns++) {
189 (struct sockaddr *)&_res.nsaddr_list[ns],
445 q->domain = _res.dnsrch;
/freebsd-10-stable/contrib/amd/amd/
H A Dinfo_hesiod.c113 _res.options |= RES_DEBUG;
/freebsd-10-stable/tools/regression/gaithrstress/
H A Dgaithrstress.c107 if (_res.options & RES_INIT || res_init() == 0)
108 _res.options &= ~RES_DNSRCH;
/freebsd-10-stable/tools/test/netfibs/
H A Dinitiator.sh1133 local _n _o _f testno i _fibtxt _instances _res _port _transfer _p
1153 _res="FIB ${i}"
1156 _res="${_fibtxt}"
1159 nc_send_recv ${i} 1 "${_fibtxt}" "${_res}" ${PEERLINKLOCAL} \
1173 _res="FIB ${i}"
1176 _res="${_fibtxt}"
1179 nc_send_recv ${i} 1 "${_fibtxt}" "${_res}" ${PEERADDR} \
/freebsd-10-stable/usr.bin/w/
H A Dw.c188 if (!(_res.options & RES_INIT))
190 _res.retrans = 2; /* resolver timeout to 2 seconds per try */
191 _res.retry = 1; /* only try once.. */
/freebsd-10-stable/crypto/openssl/crypto/camellia/asm/
H A Dcmll-x86_64.pl623 $_res="16(%rsp)"; # len&15
690 mov %rcx,$_res
717 mov $_res,%rcx
744 mov %rax,$_res
769 mov %rcx,$_res
791 mov $_res,%rcx
/freebsd-10-stable/include/
H A Dresolv.h282 #define _res (*__res_state()) macro
/freebsd-10-stable/lib/libc/net/
H A Dhesiod.c43 * it uses res_send() and accesses _res.
379 if ((_res.options & RES_INIT) == 0 && res_init() == -1)
/freebsd-10-stable/contrib/groff/contrib/groffer/
H A Dgroffer2.sh47 _res="$(unset _foo 2>&1)";
49 test _"${_res}"_ = __ && test _"${_foo}"_ = __
53 eval "${_UNSET}" _res;

Completed in 255 milliseconds

12