opnsense-src/sys/netinet6
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
..
dest6.c
frag6.c vm_lowmem: Fix signature mismatches in vm_lowmem callbacks 2025-03-04 20:18:52 -05:00
icmp6.c counter(9): rate limit periods may be more than 1 second 2025-06-25 19:56:22 +02:00
icmp6.h
in6.c netinet6: Remove a set but not used global variable in6_maxmtu 2025-05-21 18:09:01 +08:00
in6.h ip6_cksum.c: generalize in6_cksum_partial() to allow L2 headers in passed mbuf 2025-03-13 17:56:22 +02:00
in6_cksum.c ip6_cksum.c: generalize in6_cksum_partial() to allow L2 headers in passed mbuf 2025-03-13 17:56:22 +02:00
in6_fib.c
in6_fib.h
in6_fib_algo.c
in6_gif.c if_gif(4): Support the NOCLAMP flag to change MTU handling for IPv6 2025-07-21 22:47:28 +09:00
in6_ifattach.c inet6: RFC 8981 SLAAC Temporary Address Extensions 2025-06-20 18:16:14 +02:00
in6_ifattach.h inet6: RFC 8981 SLAAC Temporary Address Extensions 2025-06-20 18:16:14 +02:00
in6_jail.c
in6_mcast.c
in6_pcb.c netinet6: allow binding to anycast addresses 2025-04-24 01:50:38 +01:00
in6_pcb.h inpcb: Add FIB-aware inpcb lookup 2025-02-06 14:14:39 +00:00
in6_proto.c inet6: RFC 8981 SLAAC Temporary Address Extensions 2025-06-20 18:16:21 +02:00
in6_rmx.c in6_rmx: remove unnecessary socketvar.h 2024-05-07 14:15:56 -07:00
in6_rss.c
in6_rss.h
in6_src.c netinet: add a probe point for IP, IP6, ICMP, ICMP6, UDP and TCP stats counters 2024-04-08 17:29:59 +02:00
in6_var.h netinet6: Remove ndpr_raf_ra_derived flag 2025-06-13 03:47:06 +09:00
ip6.h
ip6_ecn.h
ip6_fastfwd.c sctp, tcp, udp: improve deferred computation of checksums 2025-08-01 12:09:47 +02:00
ip6_forward.c sctp, tcp, udp: improve deferred computation of checksums 2025-08-01 12:09:47 +02:00
ip6_gre.c
ip6_id.c
ip6_input.c inet6: RFC 8981 SLAAC Temporary Address Extensions 2025-06-20 18:16:21 +02:00
ip6_mroute.c netinet*: Add assertions for some places that don't support M_EXTPG mbufs 2024-10-31 16:32:32 -04:00
ip6_mroute.h
ip6_output.c socket: Move SO_SETFIB handling to protocol layers 2025-02-06 14:16:21 +00:00
ip6_var.h vm_lowmem: Fix signature mismatches in vm_lowmem callbacks 2025-03-04 20:18:52 -05:00
ip_fw_nat64.h ipfw: migrate ipfw to 32-bit size rule numbers 2025-03-03 21:15:17 +03:00
ip_fw_nptv6.h
mld6.c mld: allow sysctls to be set per vnet 2025-07-19 21:47:06 +02:00
mld6.h
mld6_var.h
nd6.c netinet6: Remove ndpr_raf_ra_derived flag 2025-06-13 03:47:06 +09:00
nd6.h inet6: RFC 8981 SLAAC Temporary Address Extensions 2025-06-20 18:16:21 +02:00
nd6_nbr.c netinet: add a probe point for IP, IP6, ICMP, ICMP6, UDP and TCP stats counters 2024-04-08 17:29:59 +02:00
nd6_rtr.c inet6: RFC 8981 SLAAC Temporary Address Extensions 2025-06-20 18:16:21 +02:00
pim6.h
pim6_var.h
raw_ip6.c netinet6: allow binding a raw socket to an anycast address 2025-07-15 06:12:45 +01:00
raw_ip6.h
route6.c
scope6.c netinet6: Don't return non-IPv6 enabled interfaces from in6_getlinkifnet() 2025-07-29 15:13:10 +02:00
scope6_var.h
sctp6_usrreq.c sctp, tcp, udp: improve deferred computation of checksums 2025-08-01 12:09:47 +02:00
sctp6_var.h
send.c
send.h
tcp6_var.h
udp6_usrreq.c sctp, tcp, udp: improve deferred computation of checksums 2025-08-01 12:09:47 +02:00
udp6_var.h