Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107057011
D44066.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D44066.diff
View Options
diff --git a/sys/netinet/cc/cc.h b/sys/netinet/cc/cc.h
--- a/sys/netinet/cc/cc.h
+++ b/sys/netinet/cc/cc.h
@@ -121,12 +121,15 @@
#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 */
+#endif /* defined(_KERNEL) || defined(_WANT_TCPCB) */
typedef enum {
+#if defined(_KERNEL) || defined(_WANT_TCPCB)
/* ACK types passed to the ack_received() hook. */
CC_ACK = 0x0001, /* Regular in sequence ACK. */
CC_DUPACK = 0x0002, /* Duplicate ACK. */
CC_PARTIALACK = 0x0004, /* Not yet. */
CC_SACK = 0x0008, /* Not yet. */
+#endif /* defined(_KERNEL) || defined(_WANT_TCPCB) */
/* Congestion signal types passed to the cong_signal() hook. */
CC_ECN = 0x0100, /* ECN marked packet received. */
CC_RTO = 0x0200, /* RTO fired. */
@@ -138,7 +141,6 @@
*/
CC_SIGPRIVMASK = 0xFF000000 /* Mask to check if sig is private. */
} ccsignal_t;
-#endif /* defined(_KERNEL) || defined(_WANT_TCPCB) */
#ifdef _KERNEL
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 11:17 AM (13 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15742066
Default Alt Text
D44066.diff (1 KB)
Attached To
Mode
D44066: tcp: retain some CC signals outside of kernel scope
Attached
Detach File
Event Timeline
Log In to Comment