Searched refs:clcsock (Results 1 – 12 of 12) sorted by relevance
/net/smc/ |
D | smc_close.c | 31 if (smc->clcsock) { in smc_clcsock_release() 32 tcp = smc->clcsock; in smc_clcsock_release() 33 smc->clcsock = NULL; in smc_clcsock_release() 133 if (sk->sk_state != SMC_INIT && smc->clcsock && smc->clcsock->sk) { in smc_close_active_abort() 135 if (smc->clcsock && smc->clcsock->sk) in smc_close_active_abort() 136 tcp_abort(smc->clcsock->sk, ECONNABORTED); in smc_close_active_abort() 217 if (smc->clcsock && smc->clcsock->sk) { in smc_close_active() 218 write_lock_bh(&smc->clcsock->sk->sk_callback_lock); in smc_close_active() 219 smc_clcsock_restore_cb(&smc->clcsock->sk->sk_data_ready, in smc_close_active() 221 smc->clcsock->sk->sk_user_data = NULL; in smc_close_active() [all …]
|
D | af_smc.c | 114 smc->clcsock->sk->sk_prot->keepalive(smc->clcsock->sk, val); in smc_set_keepalive() 249 struct sock *clcsk = smc->clcsock->sk; in smc_fback_restore_callbacks() 264 if (smc->clcsock->file) { /* non-accepted sockets have no file yet */ in smc_restore_fallback_changes() 265 smc->clcsock->file->private_data = smc->sk.sk_socket; in smc_restore_fallback_changes() 266 smc->clcsock->file = NULL; in smc_restore_fallback_changes() 287 rc = kernel_sock_shutdown(smc->clcsock, in __smc_release() 299 if (smc->clcsock) { in __smc_release() 327 tcp_abort(smc->clcsock->sk, ECONNABORTED); in smc_release() 429 smc->clcsock->sk->sk_reuse = sk->sk_reuse; in smc_bind() 430 smc->clcsock->sk->sk_reuseport = sk->sk_reuseport; in smc_bind() [all …]
|
D | smc_diag.c | 41 if (!smc->clcsock) in smc_diag_msg_common_fill() 43 r->id.idiag_sport = htons(smc->clcsock->sk->sk_num); in smc_diag_msg_common_fill() 44 r->id.idiag_dport = smc->clcsock->sk->sk_dport; in smc_diag_msg_common_fill() 45 r->id.idiag_if = smc->clcsock->sk->sk_bound_dev_if; in smc_diag_msg_common_fill() 47 r->id.idiag_src[0] = smc->clcsock->sk->sk_rcv_saddr; in smc_diag_msg_common_fill() 48 r->id.idiag_dst[0] = smc->clcsock->sk->sk_daddr; in smc_diag_msg_common_fill() 51 memcpy(&r->id.idiag_src, &smc->clcsock->sk->sk_v6_rcv_saddr, in smc_diag_msg_common_fill() 52 sizeof(smc->clcsock->sk->sk_v6_rcv_saddr)); in smc_diag_msg_common_fill() 53 memcpy(&r->id.idiag_dst, &smc->clcsock->sk->sk_v6_daddr, in smc_diag_msg_common_fill() 54 sizeof(smc->clcsock->sk->sk_v6_daddr)); in smc_diag_msg_common_fill()
|
D | smc_clc.c | 554 static int smc_clc_prfx_set(struct socket *clcsock, in smc_clc_prfx_set() argument 558 struct dst_entry *dst = sk_dst_get(clcsock->sk); in smc_clc_prfx_set() 573 if (kernel_getsockname(clcsock, (struct sockaddr *)&addrs) < 0) in smc_clc_prfx_set() 645 int smc_clc_prfx_match(struct socket *clcsock, in smc_clc_prfx_match() argument 648 struct dst_entry *dst = sk_dst_get(clcsock->sk); in smc_clc_prfx_match() 680 long rcvtimeo = smc->clcsock->sk->sk_rcvtimeo; in smc_clc_wait_msg() 681 struct sock *clc_sk = smc->clcsock->sk; in smc_clc_wait_msg() 702 len = sock_recvmsg(smc->clcsock, &msg, krflags); in smc_clc_wait_msg() 749 len = sock_recvmsg(smc->clcsock, &msg, krflags); in smc_clc_wait_msg() 765 len = sock_recvmsg(smc->clcsock, &msg, krflags); in smc_clc_wait_msg() [all …]
|
D | smc.h | 246 struct socket *clcsock; /* internal tcp socket */ member 357 return (smc->clcsock->sk->sk_policy[0] || in using_ipsec() 358 smc->clcsock->sk->sk_policy[1]) ? true : false; in using_ipsec()
|
D | smc_cdc.c | 385 if (smc->clcsock && smc->clcsock->sk) in smc_cdc_msg_recv_action() 386 smc->clcsock->sk->sk_shutdown |= RCV_SHUTDOWN; in smc_cdc_msg_recv_action()
|
D | smc_tracepoint.h | 31 const struct sock *clcsk = smc->clcsock->sk;
|
D | smc_clc.h | 415 int smc_clc_prfx_match(struct socket *clcsock,
|
D | smc_core.h | 563 int smc_vlan_by_tcpsk(struct socket *clcsock, struct smc_init_info *ini);
|
D | smc_tx.c | 129 struct tcp_sock *tp = tcp_sk(smc->clcsock->sk); in smc_tx_is_corked()
|
D | smc_core.c | 1797 int smc_vlan_by_tcpsk(struct socket *clcsock, struct smc_init_info *ini) in smc_vlan_by_tcpsk() argument 1799 struct dst_entry *dst = sk_dst_get(clcsock->sk); in smc_vlan_by_tcpsk()
|
D | smc_llc.c | 2139 struct net *net = sock_net(smc->clcsock->sk); in smc_llc_lgr_init()
|