Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/
DPacketBuilder.java223 int ipHeaderOffset = INVALID_OFFSET; in finalizePacket() local
225 ipHeaderOffset = mIpv4HeaderOffset; in finalizePacket()
235 ipHeaderOffset = mIpv6HeaderOffset; in finalizePacket()
249 ipHeaderOffset /* ipOffset */, mTcpHeaderOffset /* transportOffset */, in finalizePacket()
258 ipHeaderOffset /* ipOffset */, mUdpHeaderOffset /* transportOffset */)); in finalizePacket()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java507 int ipHeaderOffset = 0; in fillInPacket() local
528 ipHeaderOffset = buf.position(); in fillInPacket()
610 buf.putShort(ipLengthOffset, (short)(buf.position() - ipHeaderOffset)); in fillInPacket()
613 (short) checksum(buf, 0, ipHeaderOffset, endIpHeader)); in fillInPacket()