Home
last modified time | relevance | path

Searched refs:clc_v2 (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/smc/
Dsmc_clc.c85 smc_clc_msg_acc_conf_valid(struct smc_clc_msg_accept_confirm_v2 *clc_v2) in smc_clc_msg_acc_conf_valid() argument
87 struct smc_clc_msg_hdr *hdr = &clc_v2->hdr; in smc_clc_msg_acc_conf_valid()
121 struct smc_clc_msg_accept_confirm_v2 *clc_v2; in smc_clc_msg_hdr_valid() local
139 clc_v2 = (struct smc_clc_msg_accept_confirm_v2 *)clcm; in smc_clc_msg_hdr_valid()
140 if (!smc_clc_msg_acc_conf_valid(clc_v2)) in smc_clc_msg_hdr_valid()
143 ((u8 *)clc_v2 + ntohs(clc_v2->hdr.length) - in smc_clc_msg_hdr_valid()
638 struct smc_clc_msg_accept_confirm_v2 *clc_v2, in smc_clc_send_confirm_accept() argument
650 clc = (struct smc_clc_msg_accept_confirm *)clc_v2; in smc_clc_send_confirm_accept()
669 clc_v2->chid = htons(smc_ism_get_chid(conn->lgr->smcd)); in smc_clc_send_confirm_accept()
672 memcpy(clc_v2->eid, eid, SMC_MAX_EID_LEN); in smc_clc_send_confirm_accept()
[all …]
Daf_smc.c481 struct smc_clc_msg_accept_confirm_v2 *clc_v2 = in smcd_conn_save_peer_info() local
485 (((u8 *)clc_v2) + sizeof(*clc_v2)); in smcd_conn_save_peer_info()
487 memcpy(smc->conn.lgr->negotiated_eid, clc_v2->eid, in smcd_conn_save_peer_info()