Mark Johnston ecbbe83144 netinet: Deduplicate most in_cksum() implementations
in_cksum() and related routines are implemented separately for each
platform, but only i386 and arm have optimized versions.  Other
platforms' copies of in_cksum.c are identical except for style
differences and support for big-endian CPUs.

Deduplicate the implementations for the rest of the platforms.  This
will make it easier to implement in_cksum() for unmapped mbufs.  On arm
and i386, define HAVE_MD_IN_CKSUM to mean that the MI implementation is
not to be compiled.

No functional change intended.

Reviewed by:	kp, glebius
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33095
2021-11-24 13:31:16 -05:00
..
2019-12-04 16:56:11 +00:00
2019-12-04 16:56:11 +00:00
2021-09-29 16:42:21 -03:00
2021-10-27 09:44:58 -06:00
2021-03-29 12:05:44 -03:00
2021-11-19 15:05:52 -04:00
2020-09-21 22:21:59 +00:00
2019-08-29 07:25:27 +00:00
2021-03-20 19:23:59 -07:00
2021-07-31 16:53:42 +03:00
2021-11-03 13:54:36 -06:00
2021-11-23 21:21:17 -07:00
2020-11-29 08:40:12 +00:00