Searched refs:targetIp (Results 1 – 6 of 6) sorted by relevance
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunDiscover.java | 69 int targetIp, int deviceType, int deviceId, int maxCount) { in findDevices() argument 75 int localIpSent = send(targetIp, deviceType, deviceId); in findDevices() 78 Log.d(TAG, "Cannot send to target ip: " + HdHomeRunUtils.getIpString(targetIp)); in findDevices() 196 private int send(int targetIp, int deviceType, int deviceId) { in send() argument 197 return targetIp == 0 in send() 199 : sendTargetIp(targetIp, deviceType, deviceId); in send() 209 int targetIp = discoverSocket.mLocalIp | ~discoverSocket.mSubnetMask; in sendWildcardIp() local 210 if (DEBUG) Log.d(TAG, "Send: " + HdHomeRunUtils.getIpString(targetIp)); in sendWildcardIp() 211 localIpSent += discoverSocket.send(targetIp, deviceType, deviceId) ? 1 : 0; in sendWildcardIp() 222 private int sendTargetIp(int targetIp, int deviceType, int deviceId) { in sendTargetIp() argument [all …]
|
D | HdHomeRunUtils.java | 74 int targetIp, int deviceType, int deviceId, int maxCount) { in findHdHomeRunDevices() argument 75 if (isIpMulticast(targetIp)) { in findHdHomeRunDevices() 86 ds.findDevices(targetIp, deviceType, deviceId, maxCount); in findHdHomeRunDevices()
|
/packages/modules/NetworkStack/src/com/android/networkstack/arp/ |
D | ArpPacket.java | 50 public final Inet4Address targetIp; field in ArpPacket 55 MacAddress targetHwAddress, Inet4Address targetIp) { in ArpPacket() argument 60 this.targetIp = targetIp; in ArpPacket() 68 final byte[] targetIp, final byte[] targetHwAddress, byte[] senderIp, in buildArpPacket() argument 86 buf.put(targetIp); // tpa in buildArpPacket() 144 byte[] targetIp = new byte[IPV4_ADDR_LEN]; in parseArpPacket() 146 buffer.get(targetIp); in parseArpPacket() 151 (Inet4Address) InetAddress.getByAddress(targetIp)); in parseArpPacket()
|
/packages/modules/NetworkStack/src/android/net/dhcp/ |
D | DhcpClient.java | 1482 public boolean transmitPacket(@NonNull Inet4Address targetIp, in transmitPacket() argument 1487 targetIp.getAddress(), new byte[ETHER_ADDR_LEN], senderIp.getAddress(), in transmitPacket() 1502 && !packet.targetIp.equals(INADDR_ANY)); in isArpProbe() 1514 @NonNull Inet4Address targetIp) { in packetHasIpAddressConflict() argument 1515 return (((!packet.senderIp.equals(INADDR_ANY) && packet.senderIp.equals(targetIp)) in packetHasIpAddressConflict() 1516 || (isArpProbe(packet) && packet.targetIp.equals(targetIp))) in packetHasIpAddressConflict() 1521 @NonNull Inet4Address targetIp) { in hasIpAddressConflict() argument 1522 if (!packetHasIpAddressConflict(packet, targetIp)) return false; in hasIpAddressConflict() 1525 final String targetIpString = packet.targetIp.getHostAddress(); in hasIpAddressConflict() 1534 + " host target IP: " + targetIp.getHostAddress()); in hasIpAddressConflict()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/arp/ |
D | ArpPacketTest.java | 168 assertEquals(packet.targetIp, TEST_IPV4_ADDR); in testParseArpProbePacket() 179 assertEquals(packet.targetIp, TEST_IPV4_ADDR); in testParseArpAnnouncePacket()
|
/packages/modules/NetworkStack/tests/integration/src/android/net/ip/ |
D | IpClientIntegrationTest.java | 947 assertEquals(packet.targetIp, CLIENT_ADDR);
|