Searched refs:ttl (Results 1 – 17 of 17) sorted by relevance
715 uint32_t ttl, rec_result = rr.ttl; in answer_getNegativeTTL() local732 ttl = ntohl(*reinterpret_cast<const uint32_t*>(rdata)); in answer_getNegativeTTL()733 if (ttl < rec_result) { in answer_getNegativeTTL()734 rec_result = ttl; in answer_getNegativeTTL()760 uint32_t result, ttl; in answer_getTTL() local774 ttl = rr.ttl; in answer_getTTL()775 if (n == 0 || ttl < result) { in answer_getTTL()776 result = ttl; in answer_getTTL()1295 uint32_t ttl; in resolv_cache_add() local1337 ttl = answer_getTTL(answer, answerlen); in resolv_cache_add()[all …]
81 const unsigned ttl) { in makeAnswer() argument91 .ttl = ttl, in makeAnswer()257 std::chrono::seconds ttl = 10s) { in makeCacheEntry() argument260 ce.answer = makeAnswer(ce.query, rdata, static_cast<unsigned>(ttl.count())); in makeCacheEntry()
170 (rr.ttl >> 16) & 0xff, ns_rr_class(rr), rr.ttl & 0xffff); in do_section()
70 const std::string& rdata, unsigned ttl = kAnswerRecordTtlSec) { in MakeAnswerRecord() argument75 .ttl = ttl, in MakeAnswerRecord()
65 unsigned ttl; member75 uint32_t ttl; member180 void setTtl(unsigned ttl);
308 ttl = ntohl(intfields.ttl); in readIntFields()321 intfields.ttl = htonl(ttl); in writeIntFields()555 void DNSResponder::setTtl(unsigned ttl) { in setTtl() argument556 answer_record_ttl_sec_ = ttl; in setTtl()795 .ttl = answer_record_ttl_sec_, // seconds in addAnswerRecords()
29 int ttl;
12 int ttl;
4848 .ttl = 0, // no cache in TEST_P()4858 .ttl = 0, // no cache in TEST_P()4868 .ttl = 0, // no cache in TEST_P()
1dictionary=main:sv,locale=sv,description=Svenska,date=1414726264, ...