Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/tcp_stacks/tcp_rack.h
| Show First 20 Lines • Show All 519 Lines • ▼ Show 20 Lines | #endif | ||||
| uint8_t rc_rate_sample_method; | uint8_t rc_rate_sample_method; | ||||
| uint8_t rc_gp_hist_idx; | uint8_t rc_gp_hist_idx; | ||||
| }; | }; | ||||
| #endif | #endif | ||||
| #define RACK_TIMELY_CNT_BOOST 5 /* At 5th increase boost */ | #define RACK_TIMELY_CNT_BOOST 5 /* At 5th increase boost */ | ||||
| #define RACK_MINRTT_FILTER_TIM 10 /* Seconds */ | #define RACK_MINRTT_FILTER_TIM 10 /* Seconds */ | ||||
| #define RACK_HYSTART_OFF 0 | |||||
| #define RACK_HYSTART_ON 1 /* hystart++ on */ | |||||
| #define RACK_HYSTART_ON_W_SC 2 /* hystart++ on +Slam Cwnd */ | |||||
| #define RACK_HYSTART_ON_W_SC_C 3 /* hystart++ on, | |||||
| * Conservative ssthresh and | |||||
| * +Slam cwnd | |||||
| */ | |||||
| #ifdef _KERNEL | #ifdef _KERNEL | ||||
| struct tcp_rack { | struct tcp_rack { | ||||
| /* First cache line 0x00 */ | /* First cache line 0x00 */ | ||||
| TAILQ_ENTRY(tcp_rack) r_hpts; /* hptsi queue next Lock(b) */ | TAILQ_ENTRY(tcp_rack) r_hpts; /* hptsi queue next Lock(b) */ | ||||
| int32_t(*r_substate) (struct mbuf *, struct tcphdr *, | int32_t(*r_substate) (struct mbuf *, struct tcphdr *, | ||||
| struct socket *, struct tcpcb *, struct tcpopt *, | struct socket *, struct tcpcb *, struct tcpopt *, | ||||
| int32_t, int32_t, uint32_t, int, int, uint8_t); /* Lock(a) */ | int32_t, int32_t, uint32_t, int, int, uint8_t); /* Lock(a) */ | ||||
| ▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines | |||||