Lines Matching refs:length
360 if (ntohs(hdr->length) != in smc_clc_msg_prop_valid()
368 if (ntohs(hdr->length) != in smc_clc_msg_prop_valid()
398 ntohs(hdr->length) != SMCR_CLC_ACCEPT_CONFIRM_LEN) || in smc_clc_msg_acc_conf_valid()
400 ntohs(hdr->length) != SMCD_CLC_ACCEPT_CONFIRM_LEN)) in smc_clc_msg_acc_conf_valid()
404 ntohs(hdr->length) < SMCD_CLC_ACCEPT_CONFIRM_LEN_V2) in smc_clc_msg_acc_conf_valid()
407 ntohs(hdr->length) < SMCR_CLC_ACCEPT_CONFIRM_LEN_V2) in smc_clc_msg_acc_conf_valid()
422 if (ntohs(hdr->length) != sizeof(struct smc_clc_msg_decline)) in smc_clc_msg_decl_valid()
425 if (ntohs(hdr->length) != sizeof(struct smc_clc_msg_decline_v2)) in smc_clc_msg_decl_valid()
475 ((u8 *)pclc + ntohs(pclc->hdr.length) - sizeof(*trl)); in smc_clc_msg_hdr_valid()
483 ((u8 *)clc_v2 + ntohs(clc_v2->hdr.length) - in smc_clc_msg_hdr_valid()
729 datlen = ntohs(clcm->length); in smc_clc_wait_msg()
817 dclc.hdr.length = htons(send_len); in smc_clc_send_decline()
960 pclc_base->hdr.length = htons(plen); in smc_clc_send_proposal()
1000 } else if (len < ntohs(pclc_base->hdr.length)) { in smc_clc_send_proposal()
1041 clc->hdr.length = htons(SMCD_CLC_ACCEPT_CONFIRM_LEN); in smc_clc_send_confirm_accept()
1051 clc_v2->hdr.length = htons(len); in smc_clc_send_confirm_accept()
1062 clc->hdr.length = htons(SMCR_CLC_ACCEPT_CONFIRM_LEN); in smc_clc_send_confirm_accept()
1088 clc->hdr.length = htons(SMCR_CLC_ACCEPT_CONFIRM_LEN); in smc_clc_send_confirm_accept()
1104 clc_v2->hdr.length = htons(len); in smc_clc_send_confirm_accept()
1138 ntohs(clc->hdr.length)); in smc_clc_send_confirm_accept()
1154 if (len < ntohs(cclc_v2.hdr.length)) { in smc_clc_send_confirm()
1177 if (len < ntohs(aclc_v2.hdr.length)) in smc_clc_send_accept()