summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2016-03-22 12:54:32 +0900
committerLorenzo Colitti <lorenzo@google.com>2016-03-22 12:54:32 +0900
commited7bf2e04e14da2f7537ccadfb2dba9e60f84318 (patch)
treedbb3611db6a9c6fc6ba66ea72cb044116bf62278 /core/java
parentc7605b838bda61593e503924c6c86e3a33a6d64b (diff)
Remove framework code that calls SIOCKILLADDR
Bug: 26976388 Change-Id: I652361d9e650a77085070d6c26b28b7638ba2dfe
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/net/NetworkUtils.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/core/java/android/net/NetworkUtils.java b/core/java/android/net/NetworkUtils.java
index 555032d522bf..141af3d49563 100644
--- a/core/java/android/net/NetworkUtils.java
+++ b/core/java/android/net/NetworkUtils.java
@@ -39,23 +39,6 @@ public class NetworkUtils {
private static final String TAG = "NetworkUtils";
- /** Setting bit 0 indicates reseting of IPv4 addresses required */
- public static final int RESET_IPV4_ADDRESSES = 0x01;
-
- /** Setting bit 1 indicates reseting of IPv4 addresses required */
- public static final int RESET_IPV6_ADDRESSES = 0x02;
-
- /** Reset all addresses */
- public static final int RESET_ALL_ADDRESSES = RESET_IPV4_ADDRESSES | RESET_IPV6_ADDRESSES;
-
- /**
- * Reset IPv6 or IPv4 sockets that are connected via the named interface.
- *
- * @param interfaceName is the interface to reset
- * @param mask {@see #RESET_IPV4_ADDRESSES} and {@see #RESET_IPV6_ADDRESSES}
- */
- public native static int resetConnections(String interfaceName, int mask);
-
/**
* Attaches a socket filter that accepts DHCP packets to the given socket.
*/