Lines Matching refs:ssock
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()
393 if (!ssock) { in mptcp_setsockopt_v6()
398 ret = tcp_setsockopt(ssock->sk, SOL_IPV6, optname, optval, optlen); in mptcp_setsockopt_v6()
400 sk->sk_ipv6only = ssock->sk->sk_ipv6only; in mptcp_setsockopt_v6()
650 struct socket *ssock; in mptcp_getsockopt_first_sf_only() local
661 ssock = __mptcp_nmpc_socket(msk); in mptcp_getsockopt_first_sf_only()
662 if (!ssock) in mptcp_getsockopt_first_sf_only()
665 ret = tcp_getsockopt(ssock->sk, level, optname, optval, optlen); in mptcp_getsockopt_first_sf_only()