Searched refs:prefixLen (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/net/java/android/net/ip/ |
D | InterfaceController.java | 129 public boolean addAddress(InetAddress ip, int prefixLen) { in addAddress() argument 131 mNetd.interfaceAddAddress(mIfName, ip.getHostAddress(), prefixLen); in addAddress() 133 logError("failed to add %s/%d: %s", ip, prefixLen, e); in addAddress() 139 public boolean removeAddress(InetAddress ip, int prefixLen) { in removeAddress() argument 141 mNetd.interfaceDelAddress(mIfName, ip.getHostAddress(), prefixLen); in removeAddress() 143 logError("failed to remove %s/%d: %s", ip, prefixLen, e); in removeAddress()
|
/frameworks/base/core/java/android/net/ |
D | IpSecManager.java | 750 public void addAddress(@NonNull InetAddress address, int prefixLen) throws IOException { in addAddress() argument 753 mResourceId, new LinkAddress(address, prefixLen), mOpPackageName); in addAddress() 771 public void removeAddress(@NonNull InetAddress address, int prefixLen) throws IOException { in removeAddress() argument 774 mResourceId, new LinkAddress(address, prefixLen), mOpPackageName); in removeAddress()
|
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/ |
D | TetherInterfaceStateMachine.java | 205 int prefixLen = 0; in configureIPv4() local 208 prefixLen = USB_PREFIX_LENGTH; in configureIPv4() 211 prefixLen = WIFI_HOST_IFACE_PREFIX_LENGTH; in configureIPv4() 226 linkAddr = new LinkAddress(addr, prefixLen); in configureIPv4()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 1639 private native boolean jniAddAddress(String interfaze, String address, int prefixLen); in jniAddAddress() argument 1640 private native boolean jniDelAddress(String interfaze, String address, int prefixLen); in jniDelAddress() argument
|