Lines Matching refs:sk
42 static void tcp_yeah_init(struct sock *sk) in tcp_yeah_init() argument
44 struct tcp_sock *tp = tcp_sk(sk); in tcp_yeah_init()
45 struct yeah *yeah = inet_csk_ca(sk); in tcp_yeah_init()
47 tcp_vegas_init(sk); in tcp_yeah_init()
59 static void tcp_yeah_pkts_acked(struct sock *sk, u32 pkts_acked, s32 rtt_us) in tcp_yeah_pkts_acked() argument
61 const struct inet_connection_sock *icsk = inet_csk(sk); in tcp_yeah_pkts_acked()
62 struct yeah *yeah = inet_csk_ca(sk); in tcp_yeah_pkts_acked()
67 tcp_vegas_pkts_acked(sk, pkts_acked, rtt_us); in tcp_yeah_pkts_acked()
70 static void tcp_yeah_cong_avoid(struct sock *sk, u32 ack, u32 acked) in tcp_yeah_cong_avoid() argument
72 struct tcp_sock *tp = tcp_sk(sk); in tcp_yeah_cong_avoid()
73 struct yeah *yeah = inet_csk_ca(sk); in tcp_yeah_cong_avoid()
75 if (!tcp_is_cwnd_limited(sk)) in tcp_yeah_cong_avoid()
204 static u32 tcp_yeah_ssthresh(struct sock *sk) in tcp_yeah_ssthresh() argument
206 const struct tcp_sock *tp = tcp_sk(sk); in tcp_yeah_ssthresh()
207 struct yeah *yeah = inet_csk_ca(sk); in tcp_yeah_ssthresh()