opnsense-src/share
Timo Völker bcb298fa9e 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
MFC after:		4 weeks
Differential Revision:	https://reviews.freebsd.org/D51475
2025-08-01 12:09:47 +02:00
..
colldef Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
colldef_unicode locales: update unicode version 16 and CLDR to version 45 2024-10-14 10:43:39 +02:00
ctypedef ctypedef: Remove || true from localedef command to reveal error sooner 2024-10-15 18:39:31 +08:00
dict Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
doc iwlwififw: remove Intel iwlwifi firmware from src.git 2025-04-10 13:32:49 +00:00
dtrace ipfw.d: Add required dependency declarations 2024-12-16 22:09:39 +00:00
examples share/examples/oci: Run 'pkg update' with IGNORE_OSVERSION set 2025-07-22 11:46:01 +01:00
firmwares iwm: Stop shipping firmware as kernel module 2024-12-16 10:44:47 +01:00
i18n Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
keys Remove leftover blank line from pkg key file 2025-05-05 14:54:41 -04:00
man sctp, tcp, udp: improve deferred computation of checksums 2025-08-01 12:09:47 +02:00
misc organization.dot: update list of current portmgr members 2025-07-31 15:45:40 +02:00
mk Revert "src.opts.mk: Default LLVM_ASSERTIONS off" 2025-07-30 20:33:52 -07:00
monetdef
monetdef_unicode locales: add missing af_ZA.UTF8 2024-10-14 11:56:30 +02:00
msgdef
msgdef_unicode
numericdef Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
numericdef_unicode locales: update unicode version 16 and CLDR to version 45 2024-10-14 10:43:39 +02:00
security Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
sendmail
skel dot.shrc: words to words, should be singular 2025-04-28 15:48:12 -06:00
snmp Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
syscons Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
tabset Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
termcap share/termcap: Update entries for st terminal 0.9.2 2025-07-23 08:36:31 -06:00
tests Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
timedef timedef: remove redundancy in Catalan date_fmt definitions 2024-11-13 16:12:42 -06:00
vt vt: Remove FONT specification from INDEX files 2025-07-30 17:22:41 -04:00
zoneinfo zoneinfo: don't install version 2025-05-22 01:17:49 +08:00
Makefile iwm: Stop shipping firmware as kernel module 2024-12-16 10:44:47 +01:00
Makefile.inc Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00