Page MenuHomeFreeBSD

D44066.diff
No OneTemporary

D44066.diff

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

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)

Event Timeline