summaryrefslogtreecommitdiffstats
path: root/server/NetdNativeService.h
diff options
context:
space:
mode:
authorLuke Huang <huangluke@google.com>2019-08-20 11:33:52 +0800
committerLuke Huang <huangluke@google.com>2019-08-20 11:57:58 +0000
commit91bd3e1fb49cfcf166d5183d585b14226045b71a (patch)
tree78351af9cb913b141c5bf9e1b15e007a6d66d643 /server/NetdNativeService.h
parentcf6f710b67a8a5f35d47b2b20fee61395f79236d (diff)
downloadplatform_system_netd-91bd3e1fb49cfcf166d5183d585b14226045b71a.tar.gz
platform_system_netd-91bd3e1fb49cfcf166d5183d585b14226045b71a.tar.bz2
platform_system_netd-91bd3e1fb49cfcf166d5183d585b14226045b71a.zip
Support enable/disable dns forwarding of dnsmasq
Bugs: 128782815 Test: built, flashed, booted cd systen/netd && atest Change-Id: Id72341885d828e30296f20590c64ff614df63cee
Diffstat (limited to 'server/NetdNativeService.h')
-rw-r--r--server/NetdNativeService.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/NetdNativeService.h b/server/NetdNativeService.h
index 68c988618..8f9c40f44 100644
--- a/server/NetdNativeService.h
+++ b/server/NetdNativeService.h
@@ -121,6 +121,8 @@ class NetdNativeService : public BinderService<NetdNativeService>, public BnNetd
binder::Status tetherGetStats(
std::vector<android::net::TetherStatsParcel>* tetherStatsVec) override;
binder::Status tetherStart(const std::vector<std::string>& dhcpRanges) override;
+ binder::Status tetherStartWithConfiguration(
+ bool usingLegacyDnsProxy, const std::vector<std::string>& dhcpRanges) override;
binder::Status tetherStop() override;
binder::Status tetherIsEnabled(bool* enabled) override;
binder::Status tetherInterfaceAdd(const std::string& ifName) override;