Lines Matching refs:pclc_base
809 struct smc_clc_msg_proposal *pclc_base; in smc_clc_send_proposal() local
825 pclc_base = &pclc->pclc_base; in smc_clc_send_proposal()
834 pclc_base->hdr.version = SMC_V2; in smc_clc_send_proposal()
835 pclc_base->hdr.typev1 = ini->smc_type_v1; in smc_clc_send_proposal()
836 pclc_base->hdr.typev2 = ini->smc_type_v2; in smc_clc_send_proposal()
837 plen = sizeof(*pclc_base) + sizeof(*pclc_smcd) + sizeof(*trl); in smc_clc_send_proposal()
847 pclc_base->hdr.typev1 = SMC_TYPE_N; in smc_clc_send_proposal()
849 pclc_base->iparea_offset = htons(sizeof(*pclc_smcd)); in smc_clc_send_proposal()
857 memcpy(pclc_base->hdr.eyecatcher, SMC_EYECATCHER, in smc_clc_send_proposal()
859 pclc_base->hdr.type = SMC_CLC_PROPOSAL; in smc_clc_send_proposal()
862 memcpy(pclc_base->lcl.id_for_peer, local_systemid, in smc_clc_send_proposal()
864 memcpy(pclc_base->lcl.gid, ini->ib_gid, SMC_GID_SIZE); in smc_clc_send_proposal()
865 memcpy(pclc_base->lcl.mac, &ini->ib_dev->mac[ini->ib_port - 1], in smc_clc_send_proposal()
929 pclc_base->hdr.length = htons(plen); in smc_clc_send_proposal()
935 vec[i].iov_base = pclc_base; in smc_clc_send_proposal()
936 vec[i++].iov_len = sizeof(*pclc_base); in smc_clc_send_proposal()
969 } else if (len < ntohs(pclc_base->hdr.length)) { in smc_clc_send_proposal()