Home
last modified time | relevance | path

Searched refs:ssock (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/net/mptcp/
Dsockopt.c294 struct socket *ssock; in mptcp_setsockopt_sol_socket() local
303 ssock = __mptcp_nmpc_socket(msk); in mptcp_setsockopt_sol_socket()
304 if (!ssock) { in mptcp_setsockopt_sol_socket()
309 ret = sock_setsockopt(ssock, SOL_SOCKET, optname, optval, optlen); in mptcp_setsockopt_sol_socket()
312 sk->sk_reuseport = ssock->sk->sk_reuseport; in mptcp_setsockopt_sol_socket()
314 sk->sk_reuse = ssock->sk->sk_reuse; in mptcp_setsockopt_sol_socket()
316 sk->sk_bound_dev_if = ssock->sk->sk_bound_dev_if; in mptcp_setsockopt_sol_socket()
318 sk->sk_bound_dev_if = ssock->sk->sk_bound_dev_if; in mptcp_setsockopt_sol_socket()
391 struct socket *ssock; in mptcp_setsockopt_v6() local
398 ssock = __mptcp_nmpc_socket(msk); in mptcp_setsockopt_v6()
[all …]
Dprotocol.c107 struct socket *ssock; in __mptcp_socket_create() local
110 err = mptcp_subflow_create_socket(sk, sk->sk_family, &ssock); in __mptcp_socket_create()
114 msk->first = ssock->sk; in __mptcp_socket_create()
115 msk->subflow = ssock; in __mptcp_socket_create()
116 subflow = mptcp_subflow_ctx(ssock->sk); in __mptcp_socket_create()
118 sock_hold(ssock->sk); in __mptcp_socket_create()
1715 struct socket *ssock; in mptcp_sendmsg() local
1729 ssock = __mptcp_nmpc_socket(msk); in mptcp_sendmsg()
1730 if (unlikely(ssock && inet_sk(ssock->sk)->defer_connect)) { in mptcp_sendmsg()
1733 ret = mptcp_sendmsg_fastopen(sk, ssock->sk, msg, len, &copied_syn); in mptcp_sendmsg()
[all …]
Dpm_netlink.c996 struct socket *ssock; in mptcp_pm_nl_create_listen_socket() local
1011 ssock = __mptcp_nmpc_socket(msk); in mptcp_pm_nl_create_listen_socket()
1012 if (!ssock) { in mptcp_pm_nl_create_listen_socket()
1022 err = kernel_bind(ssock, (struct sockaddr *)&addr, addrlen); in mptcp_pm_nl_create_listen_socket()
1028 err = kernel_listen(ssock, backlog); in mptcp_pm_nl_create_listen_socket()