Lines Matching refs:host_to_be16
642 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
644 result->length = host_to_be16(2); in eap_teap_build_crypto_binding()
645 result->status = host_to_be16(TEAP_STATUS_SUCCESS); in eap_teap_build_crypto_binding()
653 result->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
655 result->length = host_to_be16(2); in eap_teap_build_crypto_binding()
656 result->status = host_to_be16(TEAP_STATUS_SUCCESS); in eap_teap_build_crypto_binding()
661 cb->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | in eap_teap_build_crypto_binding()
663 cb->length = host_to_be16(sizeof(*cb) - sizeof(struct teap_tlv_hdr)); in eap_teap_build_crypto_binding()
811 pac_tlv->tlv_type = host_to_be16(TEAP_TLV_MANDATORY | TEAP_TLV_PAC); in eap_teap_build_pac()
822 pac_info->type = host_to_be16(PAC_TYPE_PAC_INFO); in eap_teap_build_pac()
848 pac_info->len = host_to_be16(pos - (u8 *) (pac_info + 1)); in eap_teap_build_pac()
849 pac_tlv->length = host_to_be16(pos - (u8 *) (pac_tlv + 1)); in eap_teap_build_pac()