Searched refs:tcp_cc_index (Results 1 - 6 of 6) sorted by relevance

/xnu-2782.1.97/bsd/netinet/
H A Dtcp_cc.h133 #define CC_ALGO(tp) (tcp_cc_algo_list[tp->tcp_cc_index])
H A Dtcp_cc.c234 switch (tp->tcp_cc_index) {
366 if (tp->tcp_cc_index == TCP_CC_ALGO_CUBIC_INDEX &&
376 tp->tcp_cc_index = TCP_CC_ALGO_NEWRENO_INDEX;
H A Din_tclass.c796 u_char old_cc = tp->tcp_cc_index;
867 if (old_cc != tp->tcp_cc_index || recvbg != IS_TCP_RECV_BG(so)) {
871 (tp->tcp_cc_index == TCP_CC_ALGO_BACKGROUND_INDEX) ?
H A Dtcp_subr.c925 tp->tcp_cc_index = TCP_CC_ALGO_NEWRENO_INDEX;
927 tp->tcp_cc_index = TCP_CC_ALGO_CUBIC_INDEX;
1260 tp->tcp_cc_index = TCP_CC_ALGO_NONE;
H A Dtcp_var.h338 u_int8_t tcp_cc_index; /* index of congestion control algorithm */ member in struct:tcpcb
H A Dtcp_input.c5428 if (tp->tcp_cc_index != cc_index) {
5430 old_cc_index = tp->tcp_cc_index;
5434 tp->tcp_cc_index = cc_index;

Completed in 35 milliseconds