Lines Matching refs:ttl
1019 u_long ttl, rec_result = ns_rr_ttl(rr); in answer_getNegativeTTL() local
1036 ttl = ns_get32(rdata); in answer_getNegativeTTL()
1037 if (ttl < rec_result) { in answer_getNegativeTTL()
1038 rec_result = ttl; in answer_getNegativeTTL()
1066 u_long result, ttl; in answer_getTTL() local
1080 ttl = ns_rr_ttl(rr); in answer_getTTL()
1081 if (n == 0 || ttl < result) { in answer_getTTL()
1082 result = ttl; in answer_getTTL()
1705 u_long ttl; in _resolv_cache_add() local
1754 ttl = answer_getTTL(answer, answerlen); in _resolv_cache_add()
1755 if (ttl > 0) { in _resolv_cache_add()
1758 e->expires = ttl + _time_now(); in _resolv_cache_add()