opnsense-src/share
Timo Völker 2927ebde30 sctp, tcp, udp: improve deferred computation of checksums
When the SCTP, TCP, or UDP implementation send a packet, it does not
compute the corresponding checksum but defers that. The network layer
will determine whether the network interface selected for the packet
has the requested capability and computes the checksum in software,
if the selected network interface doesn't have the requested
capability.
Do this not only for packets being sent by the local SCTP, TCP,
and UDP stack, but also when forwarding packets. Furthermore, when
such packets are delivered to a local SCTP, TCP, or UDP stack, do not
compute or validate the checksum, since such packets never have been on
the wire.
This allows to support checksum offloading also in the case of local
virtual machines or jails.
Support for epair, vtnet, and tap interfaces will be added in
separate commits.

Reviewed by:		kp, rgrimes, tuexen, manpages
Differential Revision:	https://reviews.freebsd.org/D51475

(cherry picked from commit bcb298fa9e)
2025-10-23 08:10:56 +02:00
..
colldef
colldef_unicode
ctypedef ctypedef: Remove || true from localedef command to reveal error sooner 2024-10-21 12:24:17 +08:00
dict
doc iwlwififw: remove Intel iwlwifi firmware from src.git 2025-04-18 14:36:03 +00:00
dtrace ipfw.d: Add required dependency declarations 2024-12-23 16:51:33 +00:00
examples release: use "runtime" instead of "minimal" for OCI image name 2025-04-30 07:55:41 +00:00
i18n
keys
man sctp, tcp, udp: improve deferred computation of checksums 2025-10-23 08:10:56 +02:00
misc bsd-family-tree: add OpenBSD 7.7 release 2025-05-01 12:34:30 -04:00
mk sys.mk: Improve ports compatibility hack guard 2025-05-01 21:14:24 +01:00
monetdef
monetdef_unicode
msgdef msgdef: fix NO and SI locales 2023-11-28 14:12:11 +07:00
msgdef_unicode
numericdef
numericdef_unicode
security
sendmail
skel etc: OPNsense customisations 2025-07-09 10:05:46 +02:00
snmp
syscons
tabset
termcap termcap: add entry for Alacritty 2025-04-30 10:03:27 +02:00
tests
timedef timedef: remove redundancy in Catalan date_fmt definitions 2024-11-21 22:52:06 -06:00
vt keymaps: add map for some Lenovo laptops found in Brazillian market 2025-04-22 08:10:47 -03:00
zoneinfo zoneinfo: don't install version 2025-05-24 11:33:02 +06:00
Makefile
Makefile.inc