Lines Matching defs:sk
70 static void bictcp_init(struct sock *sk)
72 struct bictcp *ca = inet_csk_ca(sk);
77 tcp_sk(sk)->snd_ssthresh = initial_ssthresh;
140 static void bictcp_cong_avoid(struct sock *sk, u32 ack, u32 acked)
142 struct tcp_sock *tp = tcp_sk(sk);
143 struct bictcp *ca = inet_csk_ca(sk);
145 if (!tcp_is_cwnd_limited(sk))
161 static u32 bictcp_recalc_ssthresh(struct sock *sk)
163 const struct tcp_sock *tp = tcp_sk(sk);
164 struct bictcp *ca = inet_csk_ca(sk);
181 static void bictcp_state(struct sock *sk, u8 new_state)
184 bictcp_reset(inet_csk_ca(sk));
190 static void bictcp_acked(struct sock *sk, const struct ack_sample *sample)
192 const struct inet_connection_sock *icsk = inet_csk(sk);
195 struct bictcp *ca = inet_csk_ca(sk);