Searched refs:ipHeaderOffset (Results 1 – 2 of 2) sorted by relevance
223 int ipHeaderOffset = INVALID_OFFSET; in finalizePacket() local225 ipHeaderOffset = mIpv4HeaderOffset; in finalizePacket()235 ipHeaderOffset = mIpv6HeaderOffset; in finalizePacket()249 ipHeaderOffset /* ipOffset */, mTcpHeaderOffset /* transportOffset */, in finalizePacket()258 ipHeaderOffset /* ipOffset */, mUdpHeaderOffset /* transportOffset */)); in finalizePacket()
507 int ipHeaderOffset = 0; in fillInPacket() local528 ipHeaderOffset = buf.position(); in fillInPacket()610 buf.putShort(ipLengthOffset, (short)(buf.position() - ipHeaderOffset)); in fillInPacket()613 (short) checksum(buf, 0, ipHeaderOffset, endIpHeader)); in fillInPacket()