Home
last modified time | relevance | path

Searched refs:ttl (Results 1 – 8 of 8) sorted by relevance

/system/netd/resolv/
Dres_debug.cpp189 size_t rdatalen, ttl; in do_section() local
193 ttl = ns_rr_ttl(rr); in do_section()
194 dbprint(p, end, "; EDNS: version: %zu, udp=%u, flags=%04zx\n", (ttl >> 16) & 0xff, in do_section()
195 ns_rr_class(rr), ttl & 0xffff); in do_section()
Dres_cache.cpp958 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()
[all …]
/system/netd/resolv/dns_responder/
Ddns_responder.cpp291 unsigned ttl; member
300 uint32_t ttl; member
358 ttl = ntohl(intfields.ttl); in readIntFields()
372 intfields.ttl = htonl(ttl); in writeIntFields()
834 .ttl = 5, // seconds in addAnswerRecords()
/system/netd/server/
DMDnsSdListener.h46 const struct sockaddr *const sa, uint32_t ttl, void *inContext);
DMDnsSdListener.cpp318 const struct sockaddr *const sa, uint32_t ttl, void *inContext) { in MDnsSdListenerGetAddrInfoCallback() argument
337 asprintf(&msg, "%d %s %d %s", refNumber, quotedHostname, ttl, addr); in MDnsSdListenerGetAddrInfoCallback()
/system/netd/bpf_progs/
Dclatd.c118 .ttl = ip6->hop_limit, // u8 in nat64()
/system/core/adb/client/
Dtransport_mdns.cpp54 uint32_t ttl,
/system/core/libnetutils/
Dpacket.c106 ip.ttl = IPDEFTTL; in send_packet()