aboutsummaryrefslogtreecommitdiff
path: root/lib/libpathconv
diff options
context:
space:
mode:
authorTimo Völker <timo.voelker@fh-muenster.de>2025-08-01 10:09:47 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2025-08-01 10:09:47 +0000
commitbcb298fa9e23c1192c5707086a67d3b396186abc (patch)
tree551327cd7f193f85340d30ac65aacf27f40e31f1 /lib/libpathconv
parentf61c48f4403fc8c69f9b933d3f1bd9663008b0eb (diff)
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
Diffstat (limited to 'lib/libpathconv')
0 files changed, 0 insertions, 0 deletions