Lines Matching refs:ntohs
360 if (ntohs(hdr->length) !=
361 sizeof(*pclc) + ntohs(pclc->iparea_offset) +
368 if (ntohs(hdr->length) !=
398 ntohs(hdr->length) != SMCR_CLC_ACCEPT_CONFIRM_LEN) ||
400 ntohs(hdr->length) != SMCD_CLC_ACCEPT_CONFIRM_LEN))
404 ntohs(hdr->length) < SMCD_CLC_ACCEPT_CONFIRM_LEN_V2)
407 ntohs(hdr->length) < SMCR_CLC_ACCEPT_CONFIRM_LEN_V2)
422 if (ntohs(hdr->length) != sizeof(struct smc_clc_msg_decline))
425 if (ntohs(hdr->length) != sizeof(struct smc_clc_msg_decline_v2))
475 ((u8 *)pclc + ntohs(pclc->hdr.length) - sizeof(*trl));
483 ((u8 *)clc_v2 + ntohs(clc_v2->hdr.length) -
729 datlen = ntohs(clcm->length);
1000 } else if (len < ntohs(pclc_base->hdr.length)) {
1138 ntohs(clc->hdr.length));
1154 if (len < ntohs(cclc_v2.hdr.length)) {
1177 if (len < ntohs(aclc_v2.hdr.length))