Home
last modified time | relevance | path

Searched refs:addArpEntry (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/src/android/net/util/
DNetworkStackUtils.java314 public static void addArpEntry(Inet4Address ipv4Addr, android.net.MacAddress ethAddr, in addArpEntry() method in NetworkStackUtils
316 addArpEntry(ethAddr.toByteArray(), ipv4Addr.getAddress(), ifname, fd); in addArpEntry()
319 private static native void addArpEntry(byte[] ethAddr, byte[] netAddr, String ifname, in addArpEntry() method in NetworkStackUtils
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java189 void addArpEntry(@NonNull Inet4Address ipv4Addr, @NonNull MacAddress ethAddr, in addArpEntry() method
228 public void addArpEntry(@NonNull Inet4Address ipv4Addr, @NonNull MacAddress ethAddr, in addArpEntry() method in DhcpServer.DependenciesImpl
230 NetworkStackUtils.addArpEntry(ipv4Addr, ethAddr, ifname, fd); in addArpEntry()
746 if (!addArpEntry(clientMac, lease.getNetAddr())) { in transmitOfferOrAckPacket()
765 private boolean addArpEntry(@NonNull MacAddress macAddr, @NonNull Inet4Address inetAddr) { in addArpEntry() method in DhcpServer
767 mDeps.addArpEntry(inetAddr, macAddr, mIfName, mSocket); in addArpEntry()
/packages/modules/NetworkStack/tests/integration/src/android/net/util/
DNetworkStackUtilsIntegrationTest.kt108 NetworkStackUtils.addArpEntry(TEST_TARGET_IPV4_ADDR, TEST_TARGET_MAC, iface.interfaceName, in testAddArpEntry()