Lines Matching full:ca
52 struct dctcp *ca) in dctcp_reset() argument
54 ca->next_seq = tp->snd_nxt; in dctcp_reset()
56 ca->old_delivered = tp->delivered; in dctcp_reset()
57 ca->old_delivered_ce = tp->delivered_ce; in dctcp_reset()
64 struct dctcp *ca = inet_csk_ca(sk); in BPF_PROG() local
94 ca->prior_rcv_nxt = tp->rcv_nxt; in BPF_PROG()
95 ca->dctcp_alpha = min(dctcp_alpha_on_init, DCTCP_MAX_ALPHA); in BPF_PROG()
96 ca->loss_cwnd = 0; in BPF_PROG()
97 ca->ce_state = 0; in BPF_PROG()
104 dctcp_reset(tp, ca); in BPF_PROG()
110 struct dctcp *ca = inet_csk_ca(sk); in BPF_PROG() local
113 ca->loss_cwnd = tp->snd_cwnd; in BPF_PROG()
114 return max(tp->snd_cwnd - ((tp->snd_cwnd * ca->dctcp_alpha) >> 11U), 2U); in BPF_PROG()
121 struct dctcp *ca = inet_csk_ca(sk); in BPF_PROG() local
124 if (!before(tp->snd_una, ca->next_seq)) { in BPF_PROG()
125 __u32 delivered_ce = tp->delivered_ce - ca->old_delivered_ce; in BPF_PROG()
126 __u32 alpha = ca->dctcp_alpha; in BPF_PROG()
132 __u32 delivered = tp->delivered - ca->old_delivered; in BPF_PROG()
142 ca->dctcp_alpha = alpha; in BPF_PROG()
143 dctcp_reset(tp, ca); in BPF_PROG()
149 struct dctcp *ca = inet_csk_ca(sk); in dctcp_react_to_loss() local
152 ca->loss_cwnd = tp->snd_cwnd; in dctcp_react_to_loss()
207 struct dctcp *ca = inet_csk_ca(sk); in BPF_PROG() local
212 dctcp_ece_ack_update(sk, ev, &ca->prior_rcv_nxt, &ca->ce_state); in BPF_PROG()
226 const struct dctcp *ca = inet_csk_ca(sk); in BPF_PROG() local
228 return max(tcp_sk(sk)->snd_cwnd, ca->loss_cwnd); in BPF_PROG()