Lines Matching refs:sk
40 struct sock sk; member
86 static __always_inline struct inet_connection_sock *inet_csk(const struct sock *sk) in inet_csk() argument
88 return (struct inet_connection_sock *)sk; in inet_csk()
91 static __always_inline void *inet_csk_ca(const struct sock *sk) in inet_csk_ca() argument
93 return (void *)inet_csk(sk)->icsk_ca_priv; in inet_csk_ca()
96 static __always_inline struct tcp_sock *tcp_sk(const struct sock *sk) in tcp_sk() argument
98 return (struct tcp_sock *)sk; in tcp_sk()
159 void (*init)(struct sock *sk);
161 void (*release)(struct sock *sk);
164 __u32 (*ssthresh)(struct sock *sk);
166 void (*cong_avoid)(struct sock *sk, __u32 ack, __u32 acked);
168 void (*set_state)(struct sock *sk, __u8 new_state);
170 void (*cwnd_event)(struct sock *sk, enum tcp_ca_event ev);
172 void (*in_ack_event)(struct sock *sk, __u32 flags);
174 __u32 (*undo_cwnd)(struct sock *sk);
176 void (*pkts_acked)(struct sock *sk, const struct ack_sample *sample);
178 __u32 (*min_tso_segs)(struct sock *sk);
180 __u32 (*sndbuf_expand)(struct sock *sk);
184 void (*cong_control)(struct sock *sk, const struct rate_sample *rs);
200 static __always_inline bool tcp_is_cwnd_limited(const struct sock *sk) in tcp_is_cwnd_limited() argument
202 const struct tcp_sock *tp = tcp_sk(sk); in tcp_is_cwnd_limited()