summaryrefslogtreecommitdiffstats
path: root/TetherController.h
diff options
context:
space:
mode:
authorRobert Greenwalt <robdroid@android.com>2010-03-24 16:32:55 -0700
committerRobert Greenwalt <robdroid@android.com>2010-03-24 16:37:06 -0700
commit3208ea0b6cce28e7aef8459d548fd86df329e34f (patch)
tree98e81c2d3b6b80f6db769f682d2e7527acca07d1 /TetherController.h
parent1caafe66a6b927fa5d8eb4c59ec9eb48b0b1b075 (diff)
downloadandroid_system_netd-3208ea0b6cce28e7aef8459d548fd86df329e34f.tar.gz
android_system_netd-3208ea0b6cce28e7aef8459d548fd86df329e34f.tar.bz2
android_system_netd-3208ea0b6cce28e7aef8459d548fd86df329e34f.zip
Add support for multiple dhcp ranges.
We need multiple dhcp ranges to support dhcp on different interfaces. bug:2533491 Change-Id: I3b568e81c048c6aff1a752ac4a81669034104413
Diffstat (limited to 'TetherController.h')
-rw-r--r--TetherController.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/TetherController.h b/TetherController.h
index 208780a1..1fd4f958 100644
--- a/TetherController.h
+++ b/TetherController.h
@@ -37,7 +37,8 @@ public:
int setIpFwdEnabled(bool enable);
bool getIpFwdEnabled();
- int startTethering(struct in_addr dhcpStart, struct in_addr dhcpEnd);
+ int startTethering(int num_addrs, struct in_addr* addrs);
+
int stopTethering();
bool isTetheringStarted();