diff options
| author | Mike Yu <yumike@google.com> | 2018-11-06 15:42:36 +0800 |
|---|---|---|
| committer | Mike Yu <yumike@google.com> | 2018-11-14 16:40:48 +0800 |
| commit | 69615f6e6b1f55fa2b8b994c196458849e227183 (patch) | |
| tree | ae4c2ec0ecadb8811ed78e38eac17d5e777b86dc /server/ControllersTest.cpp | |
| parent | ab501f188abc2c5691d0c8e2cc1c22efa591569f (diff) | |
Expose DNS timeout error to netd
For resolver stats, RCODE_TIMEOUT has been used for catching DNS timeout
error. This change adds the Support for reporting NETD_RESOLV_TIMEOUT to
frameworks.
Also clean up res_data.cpp as these functions are not used.
- res_init
- res_mkquery
- res_query
- res_send
- res_search
Bug: 113916551
Test: as follows
- built and flash netd
- system/netd/tests/runtests.sh passed
- silently drop packets by iptables, the return error is correct
Change-Id: I62ba6759b519d42aef62ae5b756a3c1ae3cb00d8
Diffstat (limited to 'server/ControllersTest.cpp')
0 files changed, 0 insertions, 0 deletions
