Home
last modified time | relevance | path

Searched refs:mPacket (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NetworkStack/src/android/net/util/
DConnectivityPacketSummary.java82 private final ByteBuffer mPacket; field in ConnectivityPacketSummary
115 mPacket = ByteBuffer.wrap(mBytes, 0, mLength); in ConnectivityPacketSummary()
116 mPacket.order(ByteOrder.BIG_ENDIAN); in ConnectivityPacketSummary()
129 if (mPacket.remaining() < ETHER_HEADER_LEN) { in parseEther()
130 sj.add("runt:").add(asString(mPacket.remaining())); in parseEther()
134 mPacket.position(ETHER_SRC_ADDR_OFFSET); in parseEther()
135 final ByteBuffer srcMac = (ByteBuffer) mPacket.slice().limit(ETHER_ADDR_LEN); in parseEther()
139 mPacket.position(ETHER_DST_ADDR_OFFSET); in parseEther()
140 final ByteBuffer dstMac = (ByteBuffer) mPacket.slice().limit(ETHER_ADDR_LEN); in parseEther()
143 mPacket.position(ETHER_TYPE_OFFSET); in parseEther()
[all …]
/packages/modules/NetworkStack/src/android/net/apf/
DApfFilter.java195 private final byte[] mPacket = new byte[1514]; field in ApfFilter.ReceiveThread
223 int length = Os.read(mSocket, mPacket, 0, mPacket.length); in run()
224 updateStats(processRa(mPacket, length)); in run()
580 private final ByteBuffer mPacket; field in ApfFilter.Ra
604 return HexDump.toHexString(mPacket.array(), 0, mPacket.capacity(), in getLastMatchingPacket()
612 byte[] array = mPacket.array(); in IPv6AddresstoString()
634 int length = getUint8(mPacket, offset + 2); in prefixOptionToString()
635 long valid = getUint32(mPacket, offset + 4); in prefixOptionToString()
636 long preferred = getUint32(mPacket, offset + 8); in prefixOptionToString()
641 int optLen = getUint8(mPacket, offset + 1) * 8; in rdnssOptionToString()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DKeepaliveTracker.java148 private final KeepalivePacketData mPacket; field in KeepaliveTracker.KeepaliveInfo
171 mPacket = packet; in KeepaliveInfo()
226 + IpUtils.addressAndPortToString(mPacket.getSrcAddress(), mPacket.getSrcPort()) in toString()
228 + IpUtils.addressAndPortToString(mPacket.getDstAddress(), mPacket.getDstPort()) in toString()
231 + " packetData=" + HexDump.toHexString(mPacket.getPacket()) in toString()
256 if (address.equals(mPacket.getSrcAddress())) { in checkSourceAddress()
334 final NattKeepalivePacketData nattData = (NattKeepalivePacketData) mPacket; in start()
345 final TcpKeepalivePacketData tcpData = (TcpKeepalivePacketData) mPacket; in start()
/packages/modules/Connectivity/framework/src/android/net/
DKeepalivePacketData.java55 private final byte[] mPacket; field in KeepalivePacketData
73 this.mPacket = data; in KeepalivePacketData()
116 return mPacket.clone(); in getPacket()
/packages/apps/TV/tuner/src/com/android/tv/tuner/ts/
DTsParser.java103 protected final ByteArrayBuffer mPacket = new ByteArrayBuffer(TS_PACKET_SIZE); field in TsParser.Stream
107 mPacket.setLength(0); in feedData()
130 if (mPacket.length() == 0) { in handleData()
145 mPacket.setLength(0); in handleData()
148 mPacket.append(data, startPos, data.length - startPos); in handleData()
149 mSectionParser.parseSections(mPacket); in handleData()
/packages/modules/Connectivity/Tethering/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt425 Landroid/net/KeepalivePacketData;->mPacket:[B