Searched refs:ttl (Results 1 – 8 of 8) sorted by relevance
/system/netd/resolv/ |
D | res_debug.cpp | 189 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()
|
D | res_cache.cpp | 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() [all …]
|
/system/netd/resolv/dns_responder/ |
D | dns_responder.cpp | 291 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/ |
D | MDnsSdListener.h | 46 const struct sockaddr *const sa, uint32_t ttl, void *inContext);
|
D | MDnsSdListener.cpp | 318 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/ |
D | clatd.c | 118 .ttl = ip6->hop_limit, // u8 in nat64()
|
/system/core/adb/client/ |
D | transport_mdns.cpp | 54 uint32_t ttl,
|
/system/core/libnetutils/ |
D | packet.c | 106 ip.ttl = IPDEFTTL; in send_packet()
|