Home
last modified time | relevance | path

Searched refs:dstAddress (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/net/
DKeepalivePacketData.java45 public final InetAddress dstAddress; field in KeepalivePacketData
62 InetAddress dstAddress, int dstPort, byte[] data) throws InvalidPacketException { in KeepalivePacketData() argument
64 this.dstAddress = dstAddress; in KeepalivePacketData()
70 if (srcAddress == null || dstAddress == null || !srcAddress.getClass().getName() in KeepalivePacketData()
71 .equals(dstAddress.getClass().getName())) { in KeepalivePacketData()
95 InetAddress srcAddress, int srcPort, InetAddress dstAddress, int dstPort) in nattKeepalivePacket() argument
98 if (!(srcAddress instanceof Inet4Address) || !(dstAddress instanceof Inet4Address)) { in nattKeepalivePacket()
117 buf.put(dstAddress.getAddress()); in nattKeepalivePacket()
127 return new KeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacket()
138 out.writeString(dstAddress.getHostAddress()); in writeToParcel()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepaliveTracker.java130 .append(IpUtils.addressAndPortToString(mPacket.dstAddress, mPacket.dstPort)) in toString()
339 InetAddress srcAddress, dstAddress; in startNattKeepalive() local
342 dstAddress = NetworkUtils.numericToInetAddress(dstAddrString); in startNattKeepalive()
351 srcAddress, srcPort, dstAddress, NATT_PORT); in startNattKeepalive()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecController.java628 private void handleIncomingCecCommand(int srcAddress, int dstAddress, byte[] body) { in handleIncomingCecCommand() argument
630 HdmiCecMessage command = HdmiCecMessageBuilder.of(srcAddress, dstAddress, body); in handleIncomingCecCommand()
674 int dstAddress, byte[] body); in nativeSendCecCommand() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java1272 mLinkProperties.getRoutes(), packetData.dstAddress).getGateway(); in getDstMacForKeepalive()
1283 if (packetData.dstAddress instanceof Inet4Address) { in getEtherProtoForKeepalive()
1285 } else if (packetData.dstAddress instanceof Inet6Address) { in getEtherProtoForKeepalive()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java3938 if (packetData.dstAddress instanceof Inet4Address) { in startNattKeepalive()
3940 } else if (packetData.dstAddress instanceof Inet6Address) { in startNattKeepalive()
3953 packetData.dstAddress.getAddress(), req.destinationAddress); in startNattKeepalive()