Home
last modified time | relevance | path

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

/packages/modules/Connectivity/framework/src/android/net/
DDscpPolicy.java65 private final int mSrcPort; field in DscpPolicy
94 this.mSrcPort = srcPort; in DscpPolicy()
107 if (mSrcPort < -1 || mSrcPort > 65535) { in DscpPolicy()
108 throw new IllegalArgumentException("Source port not in valid range: " + mSrcPort); in DscpPolicy()
167 return mSrcPort; in getSourcePort()
196 + "srcPort = " + mSrcPort + ", " in toString()
213 && mSrcPort == that.mSrcPort in equals()
221 mDstAddr.hashCode(), mSrcPort, mProtocol, mDstPortRange.hashCode()); in hashCode()
231 dest.writeInt(mSrcPort); in writeToParcel()
246 this.mSrcPort = in.readInt(); in DscpPolicy()
[all …]
DKeepalivePacketData.java49 private final int mSrcPort; field in KeepalivePacketData
71 this.mSrcPort = srcPort; in KeepalivePacketData()
103 return mSrcPort; in getSrcPort()
123 + ", srcPort=" + mSrcPort in toString()
/packages/modules/Wifi/framework/java/android/net/wifi/
DQosPolicyParams.java219 private final int mSrcPort; field in QosPolicyParams
252 this.mSrcPort = srcPort; in QosPolicyParams()
281 if (mSrcPort < DscpPolicy.SOURCE_PORT_ANY || mSrcPort > 65535) { in validate()
282 Log.e(TAG, "Source port not in valid range: " + mSrcPort); in validate()
460 return mSrcPort; in getSourcePort()
554 && mSrcPort == that.mSrcPort in equals()
566 return Objects.hash(mPolicyId, mDscp, mUserPriority, mSrcIp, mDstIp, mSrcPort, in hashCode()
578 + "srcPort=" + mSrcPort + ", " in toString()
611 dest.writeInt(mSrcPort); in writeToParcel()
630 this.mSrcPort = in.readInt(); in QosPolicyParams()
[all …]
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacketListener.java40 protected int mSrcPort; field in DhcpPacketListener.Payload
61 onReceive(packet, recvbuf.mSrcAddr, recvbuf.mSrcPort); in handlePacket()
78 packetBuffer.mSrcPort = addr.getPort(); in readPacket()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java306 private int mSrcPort = PRIVATE_PORT; field in BpfCoordinatorTest.TestUpstream4Key.Builder
318 return new Tether4Key(mIif, mDstMac, mL4proto, mSrc4, mDst4, mSrcPort, mDstPort); in build()
330 private int mSrcPort = REMOTE_PORT; field in BpfCoordinatorTest.TestDownstream4Key.Builder
342 return new Tether4Key(mIif, mDstMac, mL4proto, mSrc4, mDst4, mSrcPort, mDstPort); in build()
356 private int mSrcPort = PUBLIC_PORT; field in BpfCoordinatorTest.TestUpstream4Value.Builder
367 mSrc46, mDst46, mSrcPort, mDstPort, mLastUsed); in build()
381 private int mSrcPort = REMOTE_PORT; field in BpfCoordinatorTest.TestDownstream4Value.Builder
392 mSrc46, mDst46, mSrcPort, mDstPort, mLastUsed); in build()