Lines Matching refs:ssk

652 void mptcp_subflow_process_delegated(struct sock *ssk, long actions);
704 bool mptcp_active_should_disable(struct sock *ssk);
716 void mptcp_subflow_shutdown(struct sock *sk, struct sock *ssk, int how);
717 void mptcp_close_ssk(struct sock *sk, struct sock *ssk,
719 void __mptcp_subflow_send_ack(struct sock *ssk);
720 void mptcp_subflow_reset(struct sock *ssk);
721 void mptcp_subflow_queue_clean(struct sock *sk, struct sock *ssk);
774 static inline bool __tcp_can_send(const struct sock *ssk) in __tcp_can_send() argument
777 return ((1 << inet_sk_state_load(ssk)) & (TCPF_ESTABLISHED | TCPF_CLOSE_WAIT)); in __tcp_can_send()
793 void mptcp_subflow_drop_ctx(struct sock *ssk);
813 struct sock *ssk,
849 void mptcp_rcv_space_init(struct mptcp_sock *msk, const struct sock *ssk);
850 void mptcp_data_ready(struct sock *sk, struct sock *ssk);
866 void __mptcp_check_push(struct sock *sk, struct sock *ssk);
932 static inline void __mptcp_propagate_sndbuf(struct sock *sk, struct sock *ssk) in __mptcp_propagate_sndbuf() argument
934 struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(ssk); in __mptcp_propagate_sndbuf()
936 if (READ_ONCE(ssk->sk_sndbuf) != subflow->cached_sndbuf) in __mptcp_propagate_sndbuf()
945 static inline void mptcp_propagate_sndbuf(struct sock *sk, struct sock *ssk) in mptcp_propagate_sndbuf() argument
947 struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(ssk); in mptcp_propagate_sndbuf()
949 if (likely(READ_ONCE(ssk->sk_sndbuf) == subflow->cached_sndbuf)) in mptcp_propagate_sndbuf()
969 int mptcp_token_new_connect(struct sock *ssk);
994 void mptcp_pm_subflow_chk_stale(const struct mptcp_sock *msk, struct sock *ssk);
995 void mptcp_pm_nl_subflow_chk_stale(const struct mptcp_sock *msk, struct sock *ssk);
996 void mptcp_pm_new_connection(struct mptcp_sock *msk, const struct sock *ssk, int server_side);
997 void mptcp_pm_fully_established(struct mptcp_sock *msk, const struct sock *ssk);
1004 void mptcp_pm_add_addr_received(const struct sock *ssk,
1042 const struct sock *ssk, gfp_t gfp);
1043 void mptcp_event_addr_announced(const struct sock *ssk, const struct mptcp_addr_info *info);
1045 void mptcp_event_pm_listener(const struct sock *ssk,
1162 void mptcp_sockopt_sync_locked(struct mptcp_sock *msk, struct sock *ssk);
1195 struct sock *ssk = READ_ONCE(msk->first); in __mptcp_has_initial_subflow() local
1197 return ssk && ((1 << inet_sk_state_load(ssk)) & in __mptcp_has_initial_subflow()
1202 static inline void mptcp_do_fallback(struct sock *ssk) in mptcp_do_fallback() argument
1204 struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(ssk); in mptcp_do_fallback()
1210 if (READ_ONCE(msk->snd_data_fin_enable) && !(ssk->sk_shutdown & SEND_SHUTDOWN)) { in mptcp_do_fallback()
1211 gfp_t saved_allocation = ssk->sk_allocation; in mptcp_do_fallback()
1216 ssk->sk_allocation = GFP_ATOMIC; in mptcp_do_fallback()
1217 ssk->sk_shutdown |= SEND_SHUTDOWN; in mptcp_do_fallback()
1218 tcp_shutdown(ssk, SEND_SHUTDOWN); in mptcp_do_fallback()
1219 ssk->sk_allocation = saved_allocation; in mptcp_do_fallback()