diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2013-02-28 16:16:03 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2013-02-28 16:33:48 +0900 |
commit | 79751848d1c3a5139eb5ccd6ddecaf84c2a09783 (patch) | |
tree | 71f86448bdb5a5a0328bdcf4d655be663f90ffb2 /core/java/android/os | |
parent | c732976e6b40be5a23eee2df2bff23101abc1f91 (diff) | |
download | frameworks_base-79751848d1c3a5139eb5ccd6ddecaf84c2a09783.zip frameworks_base-79751848d1c3a5139eb5ccd6ddecaf84c2a09783.tar.gz frameworks_base-79751848d1c3a5139eb5ccd6ddecaf84c2a09783.tar.bz2 |
Expose clatd commands to NetworkManagementService.
For now, we only support running one clat at a time. This is
enforced by the netd ClatdController code.
Bug: 8276725
Change-Id: I8a50305f9182f4da0f80716081211625a0202583
Diffstat (limited to 'core/java/android/os')
-rw-r--r-- | core/java/android/os/INetworkManagementService.aidl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/core/java/android/os/INetworkManagementService.aidl b/core/java/android/os/INetworkManagementService.aidl index c765457..4b83611 100644 --- a/core/java/android/os/INetworkManagementService.aidl +++ b/core/java/android/os/INetworkManagementService.aidl @@ -362,4 +362,19 @@ interface INetworkManagementService * Clear a process (pid) from being associated with an interface. */ void clearDnsInterfaceForPid(int pid); + + /** + * Start the clatd (464xlat) service + */ + void startClatd(String interfaceName); + + /** + * Stop the clatd (464xlat) service + */ + void stopClatd(); + + /** + * Determine whether the clatd (464xlat) service has been started + */ + boolean isClatdStarted(); } |