Lines Matching refs:dctcp
47 struct dctcp { struct
67 static void dctcp_reset(const struct tcp_sock *tp, struct dctcp *ca) in dctcp_reset() argument
82 struct dctcp *ca = inet_csk_ca(sk); in dctcp_init()
104 struct dctcp *ca = inet_csk_ca(sk); in dctcp_ssthresh()
114 struct dctcp *ca = inet_csk_ca(sk); in dctcp_update_alpha()
146 struct dctcp *ca = inet_csk_ca(sk); in dctcp_react_to_loss()
165 struct dctcp *ca = inet_csk_ca(sk); in dctcp_cwnd_event()
184 const struct dctcp *ca = inet_csk_ca(sk); in dctcp_get_info()
192 memset(&info->dctcp, 0, sizeof(info->dctcp)); in dctcp_get_info()
194 info->dctcp.dctcp_enabled = 1; in dctcp_get_info()
195 info->dctcp.dctcp_ce_state = (u16) ca->ce_state; in dctcp_get_info()
196 info->dctcp.dctcp_alpha = ca->dctcp_alpha; in dctcp_get_info()
197 info->dctcp.dctcp_ab_ecn = tp->mss_cache * in dctcp_get_info()
199 info->dctcp.dctcp_ab_tot = tp->mss_cache * in dctcp_get_info()
204 return sizeof(info->dctcp); in dctcp_get_info()
211 const struct dctcp *ca = inet_csk_ca(sk); in dctcp_cwnd_undo()
216 static struct tcp_congestion_ops dctcp __read_mostly = {
241 BUILD_BUG_ON(sizeof(struct dctcp) > ICSK_CA_PRIV_SIZE); in dctcp_register()
242 return tcp_register_congestion_control(&dctcp); in dctcp_register()
247 tcp_unregister_congestion_control(&dctcp); in dctcp_unregister()