Home
last modified time | relevance | path

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

/Linux-v5.4/net/smc/
Dsmc_clc.c43 struct smc_clc_msg_proposal *pclc; in smc_clc_msg_hdr_valid() local
55 pclc = (struct smc_clc_msg_proposal *)clcm; in smc_clc_msg_hdr_valid()
56 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_clc_msg_hdr_valid()
57 if (ntohs(pclc->hdr.length) != in smc_clc_msg_hdr_valid()
58 sizeof(*pclc) + ntohs(pclc->iparea_offset) + in smc_clc_msg_hdr_valid()
65 ((u8 *)pclc + ntohs(pclc->hdr.length) - sizeof(*trl)); in smc_clc_msg_hdr_valid()
396 struct smc_clc_msg_proposal pclc; in smc_clc_send_proposal() local
409 plen = sizeof(pclc) + sizeof(pclc_prfx) + in smc_clc_send_proposal()
412 memset(&pclc, 0, sizeof(pclc)); in smc_clc_send_proposal()
413 memcpy(pclc.hdr.eyecatcher, SMC_EYECATCHER, sizeof(SMC_EYECATCHER)); in smc_clc_send_proposal()
[all …]
Dsmc_clc.h171 smc_clc_proposal_get_prefix(struct smc_clc_msg_proposal *pclc) in smc_clc_proposal_get_prefix() argument
174 ((u8 *)pclc + sizeof(*pclc) + ntohs(pclc->iparea_offset)); in smc_clc_proposal_get_prefix()
Daf_smc.c1115 struct smc_clc_msg_proposal *pclc) in smc_listen_prfx_check() argument
1120 pclc_prfx = smc_clc_proposal_get_prefix(pclc); in smc_listen_prfx_check()
1147 struct smc_clc_msg_proposal *pclc, in smc_listen_ism_init() argument
1153 pclc_smcd = smc_get_clc_msg_smcd(pclc); in smc_listen_ism_init()
1234 struct smc_clc_msg_proposal *pclc; in smc_listen_work() local
1259 pclc = (struct smc_clc_msg_proposal *)&buf; in smc_listen_work()
1260 rc = smc_clc_wait_msg(new_smc, pclc, SMC_CLC_MAX_LEN, in smc_listen_work()
1272 rc = smc_listen_prfx_check(new_smc, pclc); in smc_listen_work()
1288 if (pclc->hdr.path == SMC_TYPE_D || pclc->hdr.path == SMC_TYPE_B) { in smc_listen_work()
1292 rc = smc_listen_ism_init(new_smc, pclc, &ini); in smc_listen_work()
[all …]