Lines Matching refs:ttl
1036 u_long ttl, rec_result = ns_rr_ttl(rr); in answer_getNegativeTTL() local
1053 ttl = ns_get32(rdata); in answer_getNegativeTTL()
1054 if (ttl < rec_result) { in answer_getNegativeTTL()
1055 rec_result = ttl; in answer_getNegativeTTL()
1083 u_long result, ttl; in answer_getTTL() local
1097 ttl = ns_rr_ttl(rr); in answer_getTTL()
1098 if (n == 0 || ttl < result) { in answer_getTTL()
1099 result = ttl; in answer_getTTL()
1730 u_long ttl; in _resolv_cache_add() local
1773 ttl = answer_getTTL(answer, answerlen); in _resolv_cache_add()
1774 if (ttl > 0) { in _resolv_cache_add()
1777 e->expires = ttl + _time_now(); in _resolv_cache_add()