Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/os/
H A Dip_cksum.c316 ushort_t swsum; in ip_cksum() local
326 swsum = ip_ocsum(w, mlen>>1, 0); in ip_cksum()
327 sum += ((swsum << 8) & 0xffff) | (swsum >> 8); in ip_cksum()
490 ushort_t swsum; in ip_md_cksum() local
500 swsum = ip_ocsum(w, mlen >> 1, 0); in ip_md_cksum()
501 sum += ((swsum << 8) & 0xffff) | (swsum >> 8); in ip_md_cksum()