Searched refs:intAbs (Results 1 – 1 of 1) sorted by relevance
37 private static int intAbs(short v) { in intAbs() method in IpUtils60 sum += intAbs(shortBuf.get(i)); in checksum()79 return intAbs((short) negated); in checksum()85 partial += intAbs(buf.getShort(headerOffset + 12)); in pseudoChecksumIPv4()86 partial += intAbs(buf.getShort(headerOffset + 14)); in pseudoChecksumIPv4()87 partial += intAbs(buf.getShort(headerOffset + 16)); in pseudoChecksumIPv4()88 partial += intAbs(buf.getShort(headerOffset + 18)); in pseudoChecksumIPv4()96 partial += intAbs(buf.getShort(headerOffset + offset)); in pseudoChecksumIPv6()133 int transportLen = intAbs(buf.getShort(transportOffset + 4)); in udpChecksum()