opnsense-src/sys/netinet/cc
Cheng Cui 7f9ef5c75f
cc_cubic: remove redundant code
During my progress on updating cc_cubic to RFC9438, found such redundancy as:

- W_est: we use the alternative stack local variable `W_est` in
	 `cubic_ack_received()`.
- cwnd_prior: it is used for Reno-Friendly Region in RFC9438 Section 4.3,
	 but we use the alternative cwnd from NewReno for Reno-Friendly as
	 in commit ee45061051.

No functional change intended.

Reviewed by: rscheff, tuexen
Differential Revision: https://reviews.freebsd.org/D49008
2025-02-20 11:00:41 -05:00
..
cc.c tcp: Use segment size excluding tcp options for all cwnd calculations 2024-11-14 10:16:57 +01:00
cc.h tcp cc: re-organize newreno functions into parts that can be re-used 2024-09-17 09:54:17 -04:00
cc_cdg.c tcp: Use segment size excluding tcp options for all cwnd calculations 2024-11-14 10:16:57 +01:00
cc_chd.c tcp: Use segment size excluding tcp options for all cwnd calculations 2024-11-14 10:16:57 +01:00
cc_cubic.c cc_cubic: remove redundant code 2025-02-20 11:00:41 -05:00
cc_cubic.h cc_cubic: remove redundant code 2025-02-20 11:00:41 -05:00
cc_dctcp.c tcp: Use segment size excluding tcp options for all cwnd calculations 2024-11-14 10:16:57 +01:00
cc_hd.c sys/netinet/cc: Switch from deprecated random() to prng32() 2024-05-23 15:10:09 -06:00
cc_htcp.c tcp: Use segment size excluding tcp options for all cwnd calculations 2024-11-14 10:16:57 +01:00
cc_module.h tcp cc: remove non-working sctp support 2024-07-28 22:25:48 +02:00
cc_newreno.c tcp: Use segment size excluding tcp options for all cwnd calculations 2024-11-14 10:16:57 +01:00
cc_newreno.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
cc_vegas.c tcp: Use segment size excluding tcp options for all cwnd calculations 2024-11-14 10:16:57 +01:00