Lines Matching refs:hints
240 struct addrinfo hints;
248 memset(&hints, 0, sizeof(hints));
274 hints.ai_socktype = SOCK_STREAM;
275 hints.ai_flags = AI_PASSIVE | AI_NUMERICHOST;
276 if((r = getaddrinfo(ip, port, &hints, &res)) != 0 || !res) {
1998 return ssl_printf(ssl, "off (using root hints)\n");
2222 /* prelock forwarders and hints for atomic operation with anchors */
2224 lock_rw_wrlock(&worker->env.hints->lock);
2229 lock_rw_unlock(&worker->env.hints->lock);
2241 lock_rw_unlock(&worker->env.hints->lock);
2247 if(!hints_add_stub(worker->env.hints, LDNS_RR_CLASS_IN, dp, !prime,
2255 lock_rw_unlock(&worker->env.hints->lock);
2260 lock_rw_unlock(&worker->env.hints->lock);
2275 /* prelock forwarders and hints for atomic operation with anchors */
2277 lock_rw_wrlock(&worker->env.hints->lock);
2282 hints_delete_stub(worker->env.hints, LDNS_RR_CLASS_IN, nm, nolock);
2284 lock_rw_unlock(&worker->env.hints->lock);
2744 lock_rw_rdlock(&worker->env.hints->lock);
2745 RBTREE_FOR(z, struct iter_hints_stub*, &worker->env.hints->tree) {
2761 lock_rw_unlock(&worker->env.hints->lock);
2765 lock_rw_unlock(&worker->env.hints->lock);