Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/cc/cc_newreno.h
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
struct cc_newreno_opts { | struct cc_newreno_opts { | ||||
int name; | int name; | ||||
uint32_t val; | uint32_t val; | ||||
}; | }; | ||||
#define CC_NEWRENO_BETA 1 /* Beta for normal DUP-ACK/Sack recovery */ | #define CC_NEWRENO_BETA 1 /* Beta for normal DUP-ACK/Sack recovery */ | ||||
#define CC_NEWRENO_BETA_ECN 2 /* ECN Beta for Abe */ | #define CC_NEWRENO_BETA_ECN 2 /* ECN Beta for Abe */ | ||||
#define CC_NEWRENO_ENABLE_HYSTART 3 /* Enable hystart */ | |||||
/* Flags values */ | /* Flags values */ | ||||
#define CC_NEWRENO_HYSTART_ALLOWED 0x0001 /* Does the tcp connection allow hystart? */ | |||||
#define CC_NEWRENO_HYSTART_ENABLED 0x0002 /* We can do hystart, a loss removes this flag */ | #define CC_NEWRENO_HYSTART_ENABLED 0x0002 /* We can do hystart, a loss removes this flag */ | ||||
#define CC_NEWRENO_HYSTART_IN_CSS 0x0004 /* If we enter hystart CSS this flag is set */ | #define CC_NEWRENO_HYSTART_IN_CSS 0x0004 /* If we enter hystart CSS this flag is set */ | ||||
#define CC_NEWRENO_HYSTART_CAN_SH_CWND 0x0008 /* Can hystart when going CSS -> CA slam the cwnd */ | |||||
#define CC_NEWRENO_HYSTART_CONS_SSTH 0x0010 /* Should hystart use the more conservative sstrhesh */ | |||||
#define CC_NEWRENO_BETA_ECN_ENABLED 0x0020 | #define CC_NEWRENO_BETA_ECN_ENABLED 0x0020 | ||||
#endif /* _CC_NEWRENO_H */ | #endif /* _CC_NEWRENO_H */ |