Lines Matching refs:dctcp
50 struct dctcp { struct
76 static void dctcp_reset(const struct tcp_sock *tp, struct dctcp *ca) in dctcp_reset() argument
91 struct dctcp *ca = inet_csk_ca(sk); in dctcp_init()
114 struct dctcp *ca = inet_csk_ca(sk); in dctcp_ssthresh()
129 struct dctcp *ca = inet_csk_ca(sk); in dctcp_ce_state_0_to_1()
150 struct dctcp *ca = inet_csk_ca(sk); in dctcp_ce_state_1_to_0()
172 struct dctcp *ca = inet_csk_ca(sk); in dctcp_update_alpha()
217 struct dctcp *ca = inet_csk_ca(sk); in dctcp_state()
249 const struct dctcp *ca = inet_csk_ca(sk); in dctcp_get_info()
256 memset(&info->dctcp, 0, sizeof(info->dctcp)); in dctcp_get_info()
258 info->dctcp.dctcp_enabled = 1; in dctcp_get_info()
259 info->dctcp.dctcp_ce_state = (u16) ca->ce_state; in dctcp_get_info()
260 info->dctcp.dctcp_alpha = ca->dctcp_alpha; in dctcp_get_info()
261 info->dctcp.dctcp_ab_ecn = ca->acked_bytes_ecn; in dctcp_get_info()
262 info->dctcp.dctcp_ab_tot = ca->acked_bytes_total; in dctcp_get_info()
266 return sizeof(info->dctcp); in dctcp_get_info()
273 const struct dctcp *ca = inet_csk_ca(sk); in dctcp_cwnd_undo()
278 static struct tcp_congestion_ops dctcp __read_mostly = {
303 BUILD_BUG_ON(sizeof(struct dctcp) > ICSK_CA_PRIV_SIZE); in dctcp_register()
304 return tcp_register_congestion_control(&dctcp); in dctcp_register()
309 tcp_unregister_congestion_control(&dctcp); in dctcp_unregister()