Searched refs:mUdpHeaderOffset (Results 1 – 1 of 1) sorted by relevance
89 private int mUdpHeaderOffset = INVALID_OFFSET; field in PacketBuilder201 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()