Lines Matching defs:calculations
63 * Max number of NSEC3 calculations at once, suspend query for later.
68 * When all allowed NSEC3 calculations at once resulted in error treat as
758 * @param calculations: current hash calculations.
765 int* calculations)
777 /* check if we are allowed more calculations */
778 if(*calculations >= MAX_NSEC3_CALCULATIONS) {
779 if(calc_errors == *calculations) {
780 *calculations = MAX_NSEC3_ERRORS;
793 (*calculations)++;
796 if(r == 1) (*calculations)++;
868 * @param calculations: current hash calculations.
875 int* calculations)
887 /* check if we are allowed more calculations */
888 if(*calculations >= MAX_NSEC3_CALCULATIONS) {
889 if(calc_errors == *calculations) {
890 *calculations = MAX_NSEC3_ERRORS;
903 (*calculations)++;
906 if(r == 1) (*calculations)++;
930 * @param calculations: current hash calculations.
936 struct ce_response* ce, int* calculations)
951 if(*calculations >= MAX_NSEC3_CALCULATIONS ||
952 *calculations == MAX_NSEC3_ERRORS) {
956 &ce->ce_rrset, &ce->ce_rr, calculations)) {
1000 * @param calculations: pointer to the current NSEC3 hash calculations.
1005 * unchecked if no more hash calculations are allowed at this point.
1010 int prove_does_not_exist, struct ce_response* ce, int* calculations)
1017 if(!nsec3_find_closest_encloser(env, flt, ct, qinfo, ce, calculations)) {
1018 if(*calculations == MAX_NSEC3_ERRORS) {
1021 "encloser; all attempted hash calculations "
1024 } else if(*calculations >= MAX_NSEC3_CALCULATIONS) {
1072 &ce->nc_rrset, &ce->nc_rr, calculations)) {
1073 if(*calculations == MAX_NSEC3_ERRORS) {
1076 "all attempted hash calculations were "
1079 } else if(*calculations >= MAX_NSEC3_CALCULATIONS) {
1157 "all attempted hash calculations were "
1265 "calculations were erroneous while finding a matching "
1331 "calculations were erroneous while matching "
1421 "name; all attempted hash calculations were "
1535 "calculations were erroneous while finding a matching "