Lines Matching refs:icsk
110 int inet_sk_diag_fill(struct sock *sk, struct inet_connection_sock *icsk, in inet_sk_diag_fill() argument
187 if (!icsk) { in inet_sk_diag_fill()
194 if (icsk->icsk_pending == ICSK_TIME_RETRANS || in inet_sk_diag_fill()
195 icsk->icsk_pending == ICSK_TIME_EARLY_RETRANS || in inet_sk_diag_fill()
196 icsk->icsk_pending == ICSK_TIME_LOSS_PROBE) { in inet_sk_diag_fill()
198 r->idiag_retrans = icsk->icsk_retransmits; in inet_sk_diag_fill()
199 r->idiag_expires = EXPIRES_IN_MS(icsk->icsk_timeout); in inet_sk_diag_fill()
200 } else if (icsk->icsk_pending == ICSK_TIME_PROBE0) { in inet_sk_diag_fill()
202 r->idiag_retrans = icsk->icsk_probes_out; in inet_sk_diag_fill()
203 r->idiag_expires = EXPIRES_IN_MS(icsk->icsk_timeout); in inet_sk_diag_fill()
206 r->idiag_retrans = icsk->icsk_probes_out; in inet_sk_diag_fill()
227 ca_ops = READ_ONCE(icsk->icsk_ca_ops); in inet_sk_diag_fill()
243 ca_ops = READ_ONCE(icsk->icsk_ca_ops); in inet_sk_diag_fill()