Home
last modified time | relevance | path

Searched refs:ethAddr (Results 1 – 4 of 4) sorted by relevance

/packages/modules/NetworkStack/src/com/android/networkstack/util/
DNetworkStackUtils.java423 public static void addArpEntry(Inet4Address ipv4Addr, android.net.MacAddress ethAddr, in addArpEntry() argument
425 addArpEntry(ethAddr.toByteArray(), ipv4Addr.getAddress(), ifname, fd); in addArpEntry()
428 private static native void addArpEntry(byte[] ethAddr, byte[] netAddr, String ifname, in addArpEntry() argument
/packages/modules/NetworkStack/jni/
Dnetwork_stack_utils_jni.cpp55 static void network_stack_utils_addArpEntry(JNIEnv *env, jclass clazz, jbyteArray ethAddr, in network_stack_utils_addArpEntry() argument
62 if (!checkLenAndCopy(env, ethAddr, ETH_ALEN, ethAddrStruct.sa_data)) { in network_stack_utils_addArpEntry()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java188 void addArpEntry(@NonNull Inet4Address ipv4Addr, @NonNull MacAddress ethAddr, in addArpEntry() argument
236 public void addArpEntry(@NonNull Inet4Address ipv4Addr, @NonNull MacAddress ethAddr, in addArpEntry() argument
238 NetworkStackUtils.addArpEntry(ipv4Addr, ethAddr, ifname, fd); in addArpEntry()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DPrivateAddressCoordinatorTest.java338 final LinkAddress ethAddr = requestDownstreamAddress(mEthernetIpServer, in testNoConflictUpstreamPrefix() local
340 final IpPrefix ethPrefix = asIpPrefix(ethAddr); in testNoConflictUpstreamPrefix()