Lines Matching refs:ssk
557 void mptcp_subflow_process_delegated(struct sock *ssk);
618 void mptcp_copy_inaddrs(struct sock *msk, const struct sock *ssk);
626 void mptcp_subflow_shutdown(struct sock *sk, struct sock *ssk, int how);
627 void mptcp_close_ssk(struct sock *sk, struct sock *ssk,
629 void __mptcp_subflow_send_ack(struct sock *ssk);
630 void mptcp_subflow_reset(struct sock *ssk);
631 void mptcp_subflow_queue_clean(struct sock *sk, struct sock *ssk);
650 static inline bool __tcp_can_send(const struct sock *ssk) in __tcp_can_send() argument
653 return ((1 << inet_sk_state_load(ssk)) & (TCPF_ESTABLISHED | TCPF_CLOSE_WAIT)); in __tcp_can_send()
699 void mptcp_rcv_space_init(struct mptcp_sock *msk, const struct sock *ssk);
700 void mptcp_data_ready(struct sock *sk, struct sock *ssk);
716 void __mptcp_check_push(struct sock *sk, struct sock *ssk);
727 static inline bool mptcp_propagate_sndbuf(struct sock *sk, struct sock *ssk) in mptcp_propagate_sndbuf() argument
729 if ((sk->sk_userlocks & SOCK_SNDBUF_LOCK) || ssk->sk_sndbuf <= READ_ONCE(sk->sk_sndbuf)) in mptcp_propagate_sndbuf()
732 WRITE_ONCE(sk->sk_sndbuf, ssk->sk_sndbuf); in mptcp_propagate_sndbuf()
758 int mptcp_token_new_connect(struct sock *ssk);
783 void mptcp_pm_subflow_chk_stale(const struct mptcp_sock *msk, struct sock *ssk);
784 void mptcp_pm_nl_subflow_chk_stale(const struct mptcp_sock *msk, struct sock *ssk);
785 void mptcp_pm_new_connection(struct mptcp_sock *msk, const struct sock *ssk, int server_side);
786 void mptcp_pm_fully_established(struct mptcp_sock *msk, const struct sock *ssk, gfp_t gfp);
791 void mptcp_pm_subflow_check_next(struct mptcp_sock *msk, const struct sock *ssk,
793 void mptcp_pm_add_addr_received(const struct sock *ssk,
843 const struct sock *ssk, gfp_t gfp);
844 void mptcp_event_addr_announced(const struct sock *ssk, const struct mptcp_addr_info *info);
846 void mptcp_event_pm_listener(const struct sock *ssk,
942 void mptcp_sockopt_sync(struct mptcp_sock *msk, struct sock *ssk);
943 void mptcp_sockopt_sync_locked(struct mptcp_sock *msk, struct sock *ssk);
974 static inline void mptcp_do_fallback(struct sock *ssk) in mptcp_do_fallback() argument
976 struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(ssk); in mptcp_do_fallback()
982 if (READ_ONCE(msk->snd_data_fin_enable) && !(ssk->sk_shutdown & SEND_SHUTDOWN)) { in mptcp_do_fallback()
983 gfp_t saved_allocation = ssk->sk_allocation; in mptcp_do_fallback()
988 ssk->sk_allocation = GFP_ATOMIC; in mptcp_do_fallback()
989 ssk->sk_shutdown |= SEND_SHUTDOWN; in mptcp_do_fallback()
990 tcp_shutdown(ssk, SEND_SHUTDOWN); in mptcp_do_fallback()
991 ssk->sk_allocation = saved_allocation; in mptcp_do_fallback()