Lines Matching refs:pclc_base
484 struct smc_clc_msg_proposal *pclc_base; in smc_clc_send_proposal() local
500 pclc_base = &pclc->pclc_base; in smc_clc_send_proposal()
509 pclc_base->hdr.version = SMC_V2; in smc_clc_send_proposal()
510 pclc_base->hdr.typev1 = ini->smc_type_v1; in smc_clc_send_proposal()
511 pclc_base->hdr.typev2 = ini->smc_type_v2; in smc_clc_send_proposal()
512 plen = sizeof(*pclc_base) + sizeof(*pclc_smcd) + sizeof(*trl); in smc_clc_send_proposal()
522 pclc_base->hdr.typev1 = SMC_TYPE_N; in smc_clc_send_proposal()
524 pclc_base->iparea_offset = htons(sizeof(*pclc_smcd)); in smc_clc_send_proposal()
532 memcpy(pclc_base->hdr.eyecatcher, SMC_EYECATCHER, in smc_clc_send_proposal()
534 pclc_base->hdr.type = SMC_CLC_PROPOSAL; in smc_clc_send_proposal()
537 memcpy(pclc_base->lcl.id_for_peer, local_systemid, in smc_clc_send_proposal()
539 memcpy(pclc_base->lcl.gid, ini->ib_gid, SMC_GID_SIZE); in smc_clc_send_proposal()
540 memcpy(pclc_base->lcl.mac, &ini->ib_dev->mac[ini->ib_port - 1], in smc_clc_send_proposal()
590 pclc_base->hdr.length = htons(plen); in smc_clc_send_proposal()
596 vec[i].iov_base = pclc_base; in smc_clc_send_proposal()
597 vec[i++].iov_len = sizeof(*pclc_base); in smc_clc_send_proposal()
627 } else if (len < ntohs(pclc_base->hdr.length)) { in smc_clc_send_proposal()