git: 8cc528c682d7 - main - tcp cc: clean up some un-used cc_var flags
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Aug 2024 13:34:45 UTC
The branch main has been updated by cc:
URL: https://cgit.FreeBSD.org/src/commit/?id=8cc528c682d7560303415c18274f151e415658f1
commit 8cc528c682d7560303415c18274f151e415658f1
Author: Cheng Cui <cc@FreeBSD.org>
AuthorDate: 2024-08-14 19:30:10 +0000
Commit: Cheng Cui <cc@FreeBSD.org>
CommitDate: 2024-08-15 13:33:04 +0000
tcp cc: clean up some un-used cc_var flags
Reviewed by: tuexen
Differential Revision: https://reviews.freebsd.org/D46299
---
sys/netinet/cc/cc.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sys/netinet/cc/cc.h b/sys/netinet/cc/cc.h
index 63381f4b5ca3..d78c61bde2fe 100644
--- a/sys/netinet/cc/cc.h
+++ b/sys/netinet/cc/cc.h
@@ -104,10 +104,10 @@ struct cc_var {
#define CCF_ACKNOW 0x0008 /* Will this ack be sent now? */
#define CCF_IPHDR_CE 0x0010 /* Does this packet set CE bit? */
#define CCF_TCPHDR_CWR 0x0020 /* Does this packet set CWR bit? */
-#define CCF_MAX_CWND 0x0040 /* Have we reached maximum cwnd? */
-#define CCF_CHG_MAX_CWND 0x0080 /* CUBIC max_cwnd changed, for K */
-#define CCF_USR_IWND 0x0100 /* User specified initial window */
-#define CCF_USR_IWND_INIT_NSEG 0x0200 /* Convert segs to bytes on conn init */
+#define CCF_UNUSED1 0x0040
+#define CCF_UNUSED2 0x0080
+#define CCF_UNUSED3 0x0100
+#define CCF_UNUSED4 0x0200
#define CCF_HYSTART_ALLOWED 0x0400 /* If the CC supports it Hystart is allowed */
#define CCF_HYSTART_CAN_SH_CWND 0x0800 /* Can hystart when going CSS -> CA slam the cwnd */
#define CCF_HYSTART_CONS_SSTH 0x1000 /* Should hystart use the more conservative ssthresh */