Lines Matching defs:sk
57 static void rtt_reset(struct sock *sk)
59 struct tcp_sock *tp = tcp_sk(sk);
60 struct illinois *ca = inet_csk_ca(sk);
69 static void tcp_illinois_init(struct sock *sk)
71 struct illinois *ca = inet_csk_ca(sk);
82 rtt_reset(sk);
86 static void tcp_illinois_acked(struct sock *sk, const struct ack_sample *sample)
88 struct illinois *ca = inet_csk_ca(sk);
222 static void update_params(struct sock *sk)
224 struct tcp_sock *tp = tcp_sk(sk);
225 struct illinois *ca = inet_csk_ca(sk);
238 rtt_reset(sk);
244 static void tcp_illinois_state(struct sock *sk, u8 new_state)
246 struct illinois *ca = inet_csk_ca(sk);
253 rtt_reset(sk);
260 static void tcp_illinois_cong_avoid(struct sock *sk, u32 ack, u32 acked)
262 struct tcp_sock *tp = tcp_sk(sk);
263 struct illinois *ca = inet_csk_ca(sk);
266 update_params(sk);
269 if (!tcp_is_cwnd_limited(sk))
295 static u32 tcp_illinois_ssthresh(struct sock *sk)
297 struct tcp_sock *tp = tcp_sk(sk);
298 struct illinois *ca = inet_csk_ca(sk);
307 static size_t tcp_illinois_info(struct sock *sk, u32 ext, int *attr,
310 const struct illinois *ca = inet_csk_ca(sk);