Searched refs:ssock (Results 1 – 3 of 3) sorted by relevance
/net/mptcp/ |
D | sockopt.c | 292 struct socket *ssock; in mptcp_setsockopt_sol_socket() local 301 ssock = __mptcp_nmpc_socket(msk); in mptcp_setsockopt_sol_socket() 302 if (!ssock) { in mptcp_setsockopt_sol_socket() 307 ret = sock_setsockopt(ssock, SOL_SOCKET, optname, optval, optlen); in mptcp_setsockopt_sol_socket() 310 sk->sk_reuseport = ssock->sk->sk_reuseport; in mptcp_setsockopt_sol_socket() 312 sk->sk_reuse = ssock->sk->sk_reuse; in mptcp_setsockopt_sol_socket() 314 sk->sk_bound_dev_if = ssock->sk->sk_bound_dev_if; in mptcp_setsockopt_sol_socket() 316 sk->sk_bound_dev_if = ssock->sk->sk_bound_dev_if; in mptcp_setsockopt_sol_socket() 387 struct socket *ssock; in mptcp_setsockopt_v6() local 392 ssock = __mptcp_nmpc_socket(msk); in mptcp_setsockopt_v6() [all …]
|
D | protocol.c | 105 struct socket *ssock; in __mptcp_socket_create() local 108 err = mptcp_subflow_create_socket(sk, &ssock); in __mptcp_socket_create() 112 msk->first = ssock->sk; in __mptcp_socket_create() 113 msk->subflow = ssock; in __mptcp_socket_create() 114 subflow = mptcp_subflow_ctx(ssock->sk); in __mptcp_socket_create() 116 sock_hold(ssock->sk); in __mptcp_socket_create() 3094 struct socket *ssock; in mptcp_get_port() local 3096 ssock = __mptcp_nmpc_socket(msk); in mptcp_get_port() 3097 pr_debug("msk=%p, subflow=%p", msk, ssock); in mptcp_get_port() 3098 if (WARN_ON_ONCE(!ssock)) in mptcp_get_port() [all …]
|
D | pm_netlink.c | 898 struct socket *ssock; in mptcp_pm_nl_create_listen_socket() local 927 ssock = __mptcp_nmpc_socket(mptcp_sk(newsk)); in mptcp_pm_nl_create_listen_socket() 929 if (!ssock) { in mptcp_pm_nl_create_listen_socket() 939 err = kernel_bind(ssock, (struct sockaddr *)&addr, addrlen); in mptcp_pm_nl_create_listen_socket() 945 err = kernel_listen(ssock, backlog); in mptcp_pm_nl_create_listen_socket()
|