Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DPacketBuilder.java89 private int mUdpHeaderOffset = INVALID_OFFSET; field in PacketBuilder
201 mUdpHeaderOffset = mBuffer.position(); in writeUdpHeader()
251 } else if (mUdpHeaderOffset != INVALID_OFFSET) { in finalizePacket()
253 mBuffer.putShort(mUdpHeaderOffset + UDP_LENGTH_OFFSET, in finalizePacket()
254 (short) (mBuffer.position() - mUdpHeaderOffset)); in finalizePacket()
257 mBuffer.putShort(mUdpHeaderOffset + UDP_CHECKSUM_OFFSET, udpChecksum(mBuffer, in finalizePacket()
258 ipHeaderOffset /* ipOffset */, mUdpHeaderOffset /* transportOffset */)); in finalizePacket()