diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2015-02-26 01:25:36 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2015-02-27 15:53:28 +0900 |
commit | 35e36db1d726f5741e7d8d83d2556e1417642be9 (patch) | |
tree | c182237d120c276b086d4b6dad12093924cc7790 /core | |
parent | f3d4a58519d6bf8e74ac035aeb845bff6dc12aa4 (diff) | |
download | frameworks_base-35e36db1d726f5741e7d8d83d2556e1417642be9.zip frameworks_base-35e36db1d726f5741e7d8d83d2556e1417642be9.tar.gz frameworks_base-35e36db1d726f5741e7d8d83d2556e1417642be9.tar.bz2 |
Separate NAT from forwarding.
Bug: 19500693
Change-Id: I39878644e21d51def1c31d1857e815f473ef0938
Diffstat (limited to 'core')
-rw-r--r-- | core/java/android/os/INetworkManagementService.aidl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/java/android/os/INetworkManagementService.aidl b/core/java/android/os/INetworkManagementService.aidl index 5d5d2b3..154a5a5 100644 --- a/core/java/android/os/INetworkManagementService.aidl +++ b/core/java/android/os/INetworkManagementService.aidl @@ -178,6 +178,18 @@ interface INetworkManagementService String[] getDnsForwarders(); /** + * Enables unidirectional packet forwarding from {@code fromIface} to + * {@code toIface}. + */ + void startInterfaceForwarding(String fromIface, String toIface); + + /** + * Disables unidirectional packet forwarding from {@code fromIface} to + * {@code toIface}. + */ + void stopInterfaceForwarding(String fromIface, String toIface); + + /** * Enables Network Address Translation between two interfaces. * The address and netmask of the external interface is used for * the NAT'ed network. |