Searched refs:ipv4Addr (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NetworkStack/common/moduleutils/src/android/net/ip/ |
D | InterfaceController.java | 57 public boolean setInterfaceConfiguration(final LinkAddress ipv4Addr, in setInterfaceConfiguration() argument 59 if (!(ipv4Addr.getAddress() instanceof Inet4Address)) { in setInterfaceConfiguration() 67 ifConfig.ipv4Addr = ipv4Addr.getAddress().getHostAddress(); in setInterfaceConfiguration() 68 ifConfig.prefixLength = ipv4Addr.getPrefixLength(); in setInterfaceConfiguration() 83 ifConfig.ipv4Addr, ifConfig.prefixLength, e); in setInterfaceConfiguration()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/ |
D | InterfaceControllerTest.java | 74 assertEquals(TEST_IPV4_ADDR, parcel.ipv4Addr); in testSetIPv4Address() 86 assertEquals("0.0.0.0", parcel.ipv4Addr); in testClearIPv4Address()
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | NetworkStackUtils.java | 430 public static void addArpEntry(Inet4Address ipv4Addr, android.net.MacAddress ethAddr, in addArpEntry() argument 432 addArpEntry(ethAddr.toByteArray(), ipv4Addr.getAddress(), ifname, fd); in addArpEntry()
|
/packages/modules/NetworkStack/jni/ |
D | network_stack_utils_jni.cpp | 59 jbyteArray ipv4Addr, jstring ifname, jobject javaFd) { in network_stack_utils_addArpEntry() argument 71 if (!checkLenAndCopy(env, ipv4Addr, sizeof(in_addr), &netAddrStruct.sin_addr)) { in network_stack_utils_addArpEntry()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpServer.java | 187 void addArpEntry(@NonNull Inet4Address ipv4Addr, @NonNull MacAddress ethAddr, in addArpEntry() argument 226 public void addArpEntry(@NonNull Inet4Address ipv4Addr, @NonNull MacAddress ethAddr, in addArpEntry() argument 228 NetworkStackUtils.addArpEntry(ipv4Addr, ethAddr, ifname, fd); in addArpEntry()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 924 assertEquals(ifConfig.getValue().ipv4Addr, ipAddress.getAddress().getHostAddress()); 1707 assertEquals("0.0.0.0", cfg.ipv4Addr);
|