Searched refs:mIpv4HeaderOffset (Results 1 – 1 of 1) sorted by relevance
86 private int mIpv4HeaderOffset = INVALID_OFFSET; field in PacketBuilder127 mIpv4HeaderOffset = mBuffer.position(); in writeIpv4Header()224 if (mIpv4HeaderOffset != INVALID_OFFSET) { in finalizePacket()225 ipHeaderOffset = mIpv4HeaderOffset; in finalizePacket()228 mBuffer.putShort(mIpv4HeaderOffset + IPV4_LENGTH_OFFSET, in finalizePacket()229 (short) (mBuffer.position() - mIpv4HeaderOffset)); in finalizePacket()232 mBuffer.putShort(mIpv4HeaderOffset + IPV4_CHECKSUM_OFFSET, in finalizePacket()233 ipChecksum(mBuffer, mIpv4HeaderOffset /* headerOffset */)); in finalizePacket()