Lines Matching refs:ssk
432 struct sock *ssk; in mptcp_nl_find_ssk() local
434 ssk = mptcp_subflow_tcp_sock(subflow); in mptcp_nl_find_ssk()
436 if (local->family != ssk->sk_family) in mptcp_nl_find_ssk()
439 issk = inet_sk(ssk); in mptcp_nl_find_ssk()
441 switch (ssk->sk_family) { in mptcp_nl_find_ssk()
449 const struct ipv6_pinfo *pinfo = inet6_sk(ssk); in mptcp_nl_find_ssk()
452 !ipv6_addr_equal(&remote->addr6, &ssk->sk_v6_daddr)) in mptcp_nl_find_ssk()
463 return ssk; in mptcp_nl_find_ssk()
477 struct sock *sk, *ssk; in mptcp_pm_nl_subflow_destroy_doit() local
536 ssk = mptcp_nl_find_ssk(msk, &addr_l, &addr_r); in mptcp_pm_nl_subflow_destroy_doit()
537 if (ssk) { in mptcp_pm_nl_subflow_destroy_doit()
538 struct mptcp_subflow_context *subflow = mptcp_subflow_ctx(ssk); in mptcp_pm_nl_subflow_destroy_doit()
544 mptcp_subflow_shutdown(sk, ssk, RCV_SHUTDOWN | SEND_SHUTDOWN); in mptcp_pm_nl_subflow_destroy_doit()
545 mptcp_close_ssk(sk, ssk, subflow); in mptcp_pm_nl_subflow_destroy_doit()