Home
last modified time | relevance | path

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

/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpPacket.java522 int udpSeed = 0; in fillInPacket() local
526 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 2)); in fillInPacket()
527 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 4)); in fillInPacket()
528 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 6)); in fillInPacket()
529 udpSeed += intAbs(buf.getShort(ipChecksumOffset + 8)); in fillInPacket()
532 udpSeed += IP_TYPE_UDP; in fillInPacket()
533 udpSeed += udpLen; in fillInPacket()
535 buf.putShort(udpChecksumOffset, (short) checksum(buf, udpSeed, in fillInPacket()