Searched refs:clcsock (Results 1 – 10 of 10) sorted by relevance
/net/smc/ |
D | af_smc.c | 64 smc->clcsock->sk->sk_prot->keepalive(smc->clcsock->sk, val); in smc_set_keepalive() 128 smc->clcsock->file->private_data = smc->sk.sk_socket; in smc_restore_fallback_changes() 129 smc->clcsock->file = NULL; in smc_restore_fallback_changes() 146 rc = kernel_sock_shutdown(smc->clcsock, SHUT_RDWR); in __smc_release() 156 if (smc->clcsock) { in __smc_release() 181 tcp_abort(smc->clcsock->sk, ECONNABORTED); in smc_release() 276 smc->clcsock->sk->sk_reuse = sk->sk_reuse; in smc_bind() 277 rc = kernel_bind(smc->clcsock, uaddr, addr_len); in smc_bind() 324 smc_copy_sock_settings(smc->clcsock->sk, &smc->sk, SK_FLAGS_SMC_TO_CLC); in smc_copy_sock_settings_to_clc() 334 smc_copy_sock_settings(&smc->sk, smc->clcsock->sk, SK_FLAGS_CLC_TO_SMC); in smc_copy_sock_settings_to_smc() [all …]
|
D | smc_close.c | 32 if (smc->clcsock) { in smc_clcsock_release() 33 tcp = smc->clcsock; in smc_clcsock_release() 34 smc->clcsock = NULL; in smc_clcsock_release() 119 if (sk->sk_state != SMC_INIT && smc->clcsock && smc->clcsock->sk) { in smc_close_active_abort() 121 if (smc->clcsock && smc->clcsock->sk) { in smc_close_active_abort() 122 smc->clcsock->sk->sk_err = ECONNABORTED; in smc_close_active_abort() 123 smc->clcsock->sk->sk_state_change(smc->clcsock->sk); in smc_close_active_abort() 200 if (smc->clcsock && smc->clcsock->sk) { in smc_close_active() 201 rc = kernel_sock_shutdown(smc->clcsock, SHUT_RDWR); in smc_close_active() 203 smc->clcsock->sk->sk_data_ready(smc->clcsock->sk); in smc_close_active() [all …]
|
D | smc_diag.c | 43 if (!smc->clcsock) in smc_diag_msg_common_fill() 45 r->id.idiag_sport = htons(smc->clcsock->sk->sk_num); in smc_diag_msg_common_fill() 46 r->id.idiag_dport = smc->clcsock->sk->sk_dport; in smc_diag_msg_common_fill() 47 r->id.idiag_if = smc->clcsock->sk->sk_bound_dev_if; in smc_diag_msg_common_fill() 52 r->id.idiag_src[0] = smc->clcsock->sk->sk_rcv_saddr; in smc_diag_msg_common_fill() 53 r->id.idiag_dst[0] = smc->clcsock->sk->sk_daddr; in smc_diag_msg_common_fill() 56 memcpy(&r->id.idiag_src, &smc->clcsock->sk->sk_v6_rcv_saddr, in smc_diag_msg_common_fill() 57 sizeof(smc->clcsock->sk->sk_v6_rcv_saddr)); in smc_diag_msg_common_fill() 58 memcpy(&r->id.idiag_dst, &smc->clcsock->sk->sk_v6_daddr, in smc_diag_msg_common_fill() 59 sizeof(smc->clcsock->sk->sk_v6_daddr)); in smc_diag_msg_common_fill()
|
D | smc_clc.c | 147 static int smc_clc_prfx_set(struct socket *clcsock, in smc_clc_prfx_set() argument 151 struct dst_entry *dst = sk_dst_get(clcsock->sk); in smc_clc_prfx_set() 167 kernel_getsockname(clcsock, (struct sockaddr *)&addrs); in smc_clc_prfx_set() 238 int smc_clc_prfx_match(struct socket *clcsock, in smc_clc_prfx_match() argument 241 struct dst_entry *dst = sk_dst_get(clcsock->sk); in smc_clc_prfx_match() 273 long rcvtimeo = smc->clcsock->sk->sk_rcvtimeo; in smc_clc_wait_msg() 274 struct sock *clc_sk = smc->clcsock->sk; in smc_clc_wait_msg() 294 len = sock_recvmsg(smc->clcsock, &msg, krflags); in smc_clc_wait_msg() 338 len = sock_recvmsg(smc->clcsock, &msg, krflags); in smc_clc_wait_msg() 382 len = kernel_sendmsg(smc->clcsock, &msg, &vec, 1, in smc_clc_send_decline() [all …]
|
D | smc.h | 195 struct socket *clcsock; /* internal tcp socket */ member 255 return (smc->clcsock->sk->sk_policy[0] || in using_ipsec() 256 smc->clcsock->sk->sk_policy[1]) ? true : false; in using_ipsec()
|
D | smc_cdc.c | 299 if (smc->clcsock && smc->clcsock->sk) in smc_cdc_msg_recv_action() 300 smc->clcsock->sk->sk_shutdown |= RCV_SHUTDOWN; in smc_cdc_msg_recv_action()
|
D | smc_clc.h | 190 int smc_clc_prfx_match(struct socket *clcsock,
|
D | smc_core.h | 302 int smc_vlan_by_tcpsk(struct socket *clcsock, struct smc_init_info *ini);
|
D | smc_core.c | 546 int smc_vlan_by_tcpsk(struct socket *clcsock, struct smc_init_info *ini) in smc_vlan_by_tcpsk() argument 548 struct dst_entry *dst = sk_dst_get(clcsock->sk); in smc_vlan_by_tcpsk()
|
D | smc_tx.c | 125 struct tcp_sock *tp = tcp_sk(smc->clcsock->sk); in smc_tx_is_corked()
|