summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorRobert Greenwalt <rgreenwalt@google.com>2011-11-02 14:37:19 -0700
committerRobert Greenwalt <rgreenwalt@google.com>2011-11-04 09:52:04 -0700
commit3b28e9a3daede9eac44faeb736ab4c8386ddd089 (patch)
treec6c3540c8e3f415343e246c92a9a248e13f974b0 /core
parent8c49b81b5971c3fd254c4ecd862d1a32b1917edb (diff)
downloadframeworks_base-3b28e9a3daede9eac44faeb736ab4c8386ddd089.zip
frameworks_base-3b28e9a3daede9eac44faeb736ab4c8386ddd089.tar.gz
frameworks_base-3b28e9a3daede9eac44faeb736ab4c8386ddd089.tar.bz2
Start using IP tool for advanced routing.
bug:5495862 bug:5396842 Change-Id: I5e31b352b14a4dc746cacce4d61cf8d9ad7382a0
Diffstat (limited to 'core')
-rw-r--r--core/java/android/os/INetworkManagementService.aidl12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/os/INetworkManagementService.aidl b/core/java/android/os/INetworkManagementService.aidl
index be87946..6ecc640 100644
--- a/core/java/android/os/INetworkManagementService.aidl
+++ b/core/java/android/os/INetworkManagementService.aidl
@@ -105,6 +105,18 @@ interface INetworkManagementService
void removeRoute(String iface, in RouteInfo route);
/**
+ * Add the specified route to a secondary interface
+ * This will go into a special route table to be accessed
+ * via ip rules
+ */
+ void addSecondaryRoute(String iface, in RouteInfo route);
+
+ /**
+ * Remove the specified secondary route.
+ */
+ void removeSecondaryRoute(String iface, in RouteInfo route);
+
+ /**
* Shuts down the service
*/
void shutdown();