freebsd-dev/sys
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
..
amd64 netinet: Deduplicate most in_cksum() implementations 2021-11-24 13:31:16 -05:00
arm netinet: Deduplicate most in_cksum() implementations 2021-11-24 13:31:16 -05:00
arm64 netinet: Deduplicate most in_cksum() implementations 2021-11-24 13:31:16 -05:00
bsm
cam cam: Unbreak CAM_IO_STATS build 2021-11-24 02:36:48 -07:00
cddl
compat 32-bit compat: plug a set-but-not-unused var in freebsd32_copy_msg_out 2021-11-24 16:25:50 +00:00
conf netinet: Deduplicate most in_cksum() implementations 2021-11-24 13:31:16 -05:00
contrib zfs: Fix a deadlock between page busy and the teardown lock 2021-11-20 11:21:25 -05:00
crypto aesni: plug a set-but-not-unused var in aesni_newsession 2021-11-24 16:25:50 +00:00
ddb
dev ichsmb: Add PCI IDs for Intel Alder Lake SMBus controller 2021-11-24 13:07:58 -05:00
dts add rk3328 overlay for enabling analog sound 2021-11-13 11:09:23 +02:00
fs ext2fs: check for eh_depth in ext4_ext_check_header() 2021-11-18 09:54:42 -08:00
gdb
geom GEOM: Switch g_io_deliver() locking from cp to pp. 2021-11-21 18:50:59 -05:00
gnu
i386 netinet: Deduplicate most in_cksum() implementations 2021-11-24 13:31:16 -05:00
isa
kern freebsd32: generate from sys/kern/syscalls.master 2021-11-22 22:36:58 +00:00
kgssapi
libkern
mips netinet: Deduplicate most in_cksum() implementations 2021-11-24 13:31:16 -05:00
modules Pcf85063: Add RTC driver 2021-11-24 07:40:38 +01:00
net if_free: add a comment explaining why ifindex_free() is performed here 2021-11-22 19:59:27 -08:00
net80211 net80211: fix -Wunused-but-set-variable warnings 2021-11-24 17:39:19 +00:00
netgraph ng_bridge: count item allocation failures as memory failures 2021-11-23 10:05:36 -08:00
netinet netinet: Deduplicate most in_cksum() implementations 2021-11-24 13:31:16 -05:00
netinet6 if_stf: add 6rd support 2021-11-20 19:29:01 +01:00
netipsec sctp: Remove now-unneeded mb_unmapped_to_ext() calls 2021-11-16 13:38:09 -05:00
netpfil pf: fix netpfil.common.dummynet:pf_nat test 2021-11-23 16:46:35 +01:00
netsmb
nfs kernel: partially revert e9efb1125a15, default inet mask 2021-11-14 14:12:25 -06:00
nfsclient
nfsserver
nlm
ofed
opencrypto ktls: Split encrypt vs decrypt OCF counters. 2021-11-16 09:58:52 -08:00
powerpc netinet: Deduplicate most in_cksum() implementations 2021-11-24 13:31:16 -05:00
riscv netinet: Deduplicate most in_cksum() implementations 2021-11-24 13:31:16 -05:00
rpc mbuf: Only allow extpg mbufs if the system has a direct map 2021-11-16 13:31:04 -05:00
security
sys sys/uuid.h: Include sys/types.h 2021-11-24 11:26:45 -07:00
teken
tests
tools makesyscalls: strip _Contains_ argument annotations 2021-11-22 22:36:58 +00:00
ufs ffs_softdep: Fix a typo in a source code comment 2021-11-19 19:17:41 +01:00
vm minidump: Use the provided dump bitset 2021-11-19 15:05:52 -04:00
x86 minidump: Parameterize minidumpsys() 2021-11-19 15:05:52 -04:00
xdr
xen xen/privcmd: fix MMAP_RESOURCE ioctl to copy out results 2021-11-18 09:46:44 +01:00
Makefile