Lines Matching refs:ttl
958 u_long ttl, rec_result = ns_rr_ttl(rr); in answer_getNegativeTTL() local
975 ttl = ntohl(*reinterpret_cast<const uint32_t*>(rdata)); in answer_getNegativeTTL()
976 if (ttl < rec_result) { in answer_getNegativeTTL()
977 rec_result = ttl; in answer_getNegativeTTL()
1003 u_long result, ttl; in answer_getTTL() local
1017 ttl = ns_rr_ttl(rr); in answer_getTTL()
1018 if (n == 0 || ttl < result) { in answer_getTTL()
1019 result = ttl; in answer_getTTL()
1521 u_long ttl; in _resolv_cache_add() local
1571 ttl = answer_getTTL(answer, answerlen); in _resolv_cache_add()
1572 if (ttl > 0) { in _resolv_cache_add()
1575 e->expires = ttl + _time_now(); in _resolv_cache_add()