Searched refs:CC_ALGO (Results 1 – 6 of 6) sorted by relevance
150 #define CC_ALGO(tp) ((tp)->cc_algo) macro
682 if (CC_ALGO(tp)->conn_init != NULL) in tcp_timer_rexmt()683 CC_ALGO(tp)->conn_init(tp->ccv); in tcp_timer_rexmt()703 if (CC_ALGO(tp)->conn_init != NULL) in tcp_timer_rexmt()704 CC_ALGO(tp)->conn_init(tp->ccv); in tcp_timer_rexmt()
756 CC_ALGO(tp) = CC_DEFAULT(); in tcp_newtcpcb()759 if (CC_ALGO(tp)->cb_init != NULL) in tcp_newtcpcb()760 if (CC_ALGO(tp)->cb_init(tp->ccv) > 0) { in tcp_newtcpcb()868 if (CC_ALGO(tp) == unload_algo) { in tcp_ccalgounload()869 tmpalgo = CC_ALGO(tp); in tcp_ccalgounload()871 CC_ALGO(tp) = &newreno_cc_algo; in tcp_ccalgounload()1005 if (CC_ALGO(tp)->cb_destroy != NULL) in tcp_discardcb()1006 CC_ALGO(tp)->cb_destroy(tp->ccv); in tcp_discardcb()1010 CC_ALGO(tp) = NULL; in tcp_discardcb()
307 if (CC_ALGO(tp)->ack_received != NULL) { in cc_ack_received()310 CC_ALGO(tp)->ack_received(tp->ccv, type); in cc_ack_received()381 if (CC_ALGO(tp)->conn_init != NULL) in cc_conn_init()382 CC_ALGO(tp)->conn_init(tp->ccv); in cc_conn_init()430 if (CC_ALGO(tp)->cong_signal != NULL) { in cc_cong_signal()433 CC_ALGO(tp)->cong_signal(tp->ccv, type); in cc_cong_signal()444 if (CC_ALGO(tp)->post_recovery != NULL) { in cc_post_recovery()446 CC_ALGO(tp)->post_recovery(tp->ccv); in cc_post_recovery()
1478 if (CC_ALGO(tp)->cb_destroy != NULL) in tcp_ctloutput()1479 CC_ALGO(tp)->cb_destroy(tp->ccv); in tcp_ctloutput()1480 CC_ALGO(tp) = algo; in tcp_ctloutput()1489 CC_ALGO(tp) = &newreno_cc_algo; in tcp_ctloutput()1606 strlcpy(buf, CC_ALGO(tp)->name, TCP_CA_NAME_MAX); in tcp_ctloutput()
161 if (CC_ALGO(tp)->after_idle != NULL) in cc_after_idle()162 CC_ALGO(tp)->after_idle(tp->ccv); in cc_after_idle()