Home
last modified time | relevance | path

Searched refs:dstPort (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DKeepalivePacketData.java52 public final int dstPort; field in KeepalivePacketData
64 InetAddress dstAddress, int dstPort, byte[] data) throws InvalidPacketException { in KeepalivePacketData() argument
68 this.dstPort = dstPort; in KeepalivePacketData()
87 if (!IpUtils.isValidUdpOrTcpPort(srcPort) || !IpUtils.isValidUdpOrTcpPort(dstPort)) { in KeepalivePacketData()
104 InetAddress dstAddress, int dstPort) throws InvalidPacketException { in nattKeepalivePacket() argument
110 if (dstPort != NATT_PORT) { in nattKeepalivePacket()
127 buf.putShort((short) dstPort); in nattKeepalivePacket()
135 return new KeepalivePacketData(srcAddress, srcPort, dstAddress, dstPort, buf.array()); in nattKeepalivePacket()
DKeepaliveTracker.java130 .append(IpUtils.addressAndPortToString(mPacket.dstAddress, mPacket.dstPort)) in toString()
333 IBinder binder, String srcAddrString, int srcPort, String dstAddrString, int dstPort) { in startNattKeepalive() argument
DNetworkDiagnostics.java383 int sockType, int protocol, long writeTimeout, long readTimeout, int dstPort) in setupSocket() argument
401 Os.connect(mFileDescriptor, mTarget, dstPort); in setupSocket()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DFrameParser.java180 int dstPort = getUnsignedShort(data); in parseTcpPacket() local
182 if (dstPort == HTTPS_PORT) { in parseTcpPacket()
184 } else if (HTTP_PORTS.contains(dstPort)) { in parseTcpPacket()
197 int dstPort = getUnsignedShort(data); in parseUdpPacket() local
201 if ((srcPort == UDP_PORT_BOOTPC && dstPort == UDP_PORT_BOOTPS) in parseUdpPacket()
202 || (srcPort == UDP_PORT_BOOTPS && dstPort == UDP_PORT_BOOTPC)) { in parseUdpPacket()
206 if (srcPort == UDP_PORT_NTP || dstPort == UDP_PORT_NTP) { in parseUdpPacket()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DOffloadController.java220 String dstAddr, int dstPort) { in start()
222 updateNatTimeout(proto, srcAddr, srcPort, dstAddr, dstPort); in start()
569 int proto, String srcAddr, int srcPort, String dstAddr, int dstPort) { in updateNatTimeout() argument
593 if (!IpUtils.isValidUdpOrTcpPort(dstPort)) { in updateNatTimeout()
594 mLog.e("Invalid dst port: " + dstPort); in updateNatTimeout()
600 protoName, srcAddr, srcPort, dstAddr, dstPort); in updateNatTimeout()
607 proto, src, srcPort, dst, dstPort, timeoutSec); in updateNatTimeout()
DOffloadHardwareInterface.java67 String dstAddr, int dstPort) {} in onNatTimeoutUpdate() argument
/frameworks/base/services/net/java/android/net/util/
DConnectivityPacketSummary.java325 final int dstPort = asUint(mPacket.getShort()); in parseUDP() local
326 sj.add(asString(srcPort)).add(">").add(asString(dstPort)); in parseUDP()
329 if (srcPort == DHCP4_CLIENT_PORT || dstPort == DHCP4_CLIENT_PORT) { in parseUDP()