aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/libdecnumber/(public-mirror)
diff options
context:
space:
mode:
authorTimo Völker <timo.voelker@fh-muenster.de>2026-01-20 10:30:19 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2026-01-20 10:36:40 +0000
commit6f15ba8004c3fdc2fb12f0cd6618d1b3a40aab7d (patch)
treebd98e946064e746b4490af8e833c423ac01b59cc /gnu/usr.bin/cc/libdecnumber/(public-mirror)
parent3d771e0db66da77da5a7f323df1c0638e6b586ea (diff)
ip: improve deferred computation of checksumsHEADmain
This patch adds the same functionality for the IPv4 header checksum as was done erlier for the SCTP/TCP/UDP transport checksum. When the IP implementation sends a packet, it does not compute the corresponding checksum but defers that. It 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 does not have the requested capability. Do this not only for packets being sent by the local IP stack, but also when forwarding packets. Furthermore, when such packets are delivered to a local IP stack, do not compute or validate the checksum, since such packets have never been on the wire. This allows to support checksum offloading also in the case of local virtual machines or jails. Support for epair interfaces will be added in a separate commit. Reviewed by: pouria, tuexen MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D54455
Diffstat (limited to 'gnu/usr.bin/cc/libdecnumber/(public-mirror)')
0 files changed, 0 insertions, 0 deletions