Home
last modified time | relevance | path

Searched refs:_nres (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/dns/resolv/
Dres_data.c79 extern struct __res_state _nres;
85 #define res_need_init() ((_nres.options & RES_INIT) == 0U)
103 _nres.options = ores->options; in res_init()
105 _nres.retrans = ores->retrans; in res_init()
107 _nres.retry = ores->retry; in res_init()
129 if (!_nres.retrans) in res_init()
130 _nres.retrans = RES_TIMEOUT; in res_init()
131 if (!_nres.retry) in res_init()
132 _nres.retry = 4; in res_init()
133 if (!(_nres.options & RES_INIT)) in res_init()
[all …]
Dres_state.c56 struct __res_state _nres[1]; member
102 res_ndestroy(rt->_nres); in _res_thread_free()
162 __FUNCTION__, gettid(), rt, (rt->_nres->options & RES_INIT) != 0); in _res_thread_get()
163 if ( res_ninit( rt->_nres ) < 0 ) { in _res_thread_get()
175 struct __res_state _nres; variable
207 return rt ? rt->_nres : NULL; in __res_get_state()