opnsense-src/sys/mips
Mark Johnston 1d250ec707 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
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit ecbbe83144)
2021-12-01 07:42:43 -05:00
..
atheros Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
beri Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
broadcom Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
cavium Fix a common typo in source code comments 2021-09-07 09:24:05 +02:00
conf hid: Import functions and constants required by new subsystem 2021-01-08 02:18:42 +03:00
include netinet: Remove in_cksum_update() 2021-12-01 07:41:55 -05:00
ingenic mips: Fix build by using the correct device-tree include path 2021-01-16 11:34:10 +01:00
malta mips: fix build w/ TICK_USE_MALTA_RTC defined 2020-12-25 19:47:45 +01:00
mediatek mips: Fix build by using the correct device-tree include path 2021-01-16 11:34:10 +01:00
mips netinet: Deduplicate most in_cksum() implementations 2021-12-01 07:42:43 -05:00
nlm crypto: Add a new type of crypto buffer for a single mbuf. 2021-10-21 08:51:26 -07:00