aboutsummaryrefslogtreecommitdiff
path: root/getaddrinfo.h
Commit message (Collapse)AuthorAgeFilesLines
* Expose rfc6724 sorting functionHungming Chen2022-06-021-0/+3
| | | | | | | | A preparation for sorting the DNS64 results. Bug: 159305929 Test: atest ResolverTest Change-Id: I7e5e5c450b870f1ac37e96b8f7d3ab24ef74f451
* Fill in each dns stats value in message NetworkDnsEventReportedlifr2019-06-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Result dump metric_id: 1111 event_metrics { data { elapsed_timestamp_nanos: 166844290056 atom { network_dns_event_reported { event_type: EVENT_GETADDRINFO return_code: RC_EAI_NO_ERROR latency_micros: 78961 hints_ai_flags: 1024 res_nsend_flags: -1 network_type: NT_UNKNOWN private_dns_modes: PDM_STRICT dns_query_events { dns_query_event { rcode: NS_R_NO_ERROR type: NS_T_A ip_version: IV_IPV4 protocol: PROTO_DOT dns_server_index: 0 latency_micros: 77843 } } } } } Bug: 119862317 Test: ./out/host/linux-x86/bin/statsd_testdrive 116 Change-Id: Ia9d2ca076cdd95df206f573531a17badb34fda62
* Separate resolv_getaddrinfo from android_getaddrinfofornetcontextLuke Huang2019-06-211-2/+6
| | | | | | | | | | 1. Separate resolv_getaddrinfo from android_getaddrinfofornetcontext which only do explore_fqdn() 2. cleanup for android_getaddrinfofornetcontext/explore_fqdn Bug: 135506574 Test: cd system/netd && atest Change-Id: Ie5c9721f69a9c3dcf5941bd4321d076bb99c313a
* Use Apache license for newly added filesBernie Innocenti2019-05-301-22/+10
| | | | | | | | Rather than the usual Apache license, I accidentally pasted a BSD license header in four new files added earlier today. Test: N/A Change-Id: Ic28f54be269b614b154c32359689c0c6a49b2320
* Move internal functions out of libnetd_resolv's public headersBernie Innocenti2019-05-291-0/+37
This is yet another preparatory change before enableing the ABI checker. Internal functions are now declared in non-public headers paired with the source files where they are declared. A followup change could further split resolv_private.h. Bug: 133117690 Test: No functionality changes, just run atest. Change-Id: I66ab2f9856e7faa82c74a8ef3fbdeef579577c64