This version avoids shifts, does as much native arithmetic as it
authorKeith Sklower <sklower@ucbvax.Berkeley.EDU>
Fri, 26 Feb 1988 07:43:00 +0000 (23:43 -0800)
committerKeith Sklower <sklower@ucbvax.Berkeley.EDU>
Fri, 26 Feb 1988 07:43:00 +0000 (23:43 -0800)
commit250fdfd7ad1a00f2f8398e189961aee3caaa2b4c
tree85658c0e13585e2eb480f34f50f12ed4fec488cd
parent51265ae277f24049773491ffcbb33cdd0099c897
This version avoids shifts, does as much native arithmetic as it
can, and then inner loop consequently runs 10 times faster than the straight
forward, but provably correct version.

SCCS-vsn: sys/netns/ns_cksum.c 1.2
usr/src/sys/netns/ns_cksum.c