Lines Matching refs:state

285 /** allocate new validator query state */
296 vq->state = VAL_INIT_STATE;
300 /** reset validator query state for query restart */
312 vq->state = VAL_INIT_STATE;
318 * @param qstate: query state
336 * @param qstate: query state.
413 * @param qstate: query state that is the parent.
469 /* newq; validator does not need state created for that
483 * @param qstate: query state.
570 * @param qstate: query state.
571 * @param vq: validator query state.
594 /* ignore newq; validator does not need state created for that
620 * @param qstate: query state.
621 * @param vq: validator query state.
647 /* Pick up the state, and reset it, may not be needed now. */
813 vq->state = resume_state;
826 * loop have been processed. The query state can also be deleted,
953 * @param qstate: query state for the region.
954 * @param vq: validator state for the nsec3 cache table.
1072 * @param qstate: query state for the region.
1073 * @param vq: validator state for the nsec3 cache table.
1186 * @param qstate: query state for the region.
1187 * @param vq: validator state for the nsec3 cache table.
1347 * @param qstate: query state for the region.
1348 * @param vq: validator state for the nsec3 cache table.
1474 * @param qstate: query state for the region.
1475 * @param vq: validator state for the nsec3 cache table.
1604 * @param qstate: query state for the region.
1605 * @param vq: validator state for the nsec3 cache table.
1735 * Process init state for validator.
1736 * Process the INIT state. First tier responses start in the INIT state.
1745 * @param qstate: query state.
1746 * @param vq: validator query state.
1836 vq->state = VAL_FINISHED_STATE;
1868 /* go to finished state to cache this result */
1869 vq->state = VAL_FINISHED_STATE;
1882 /* go to finished state to cache this result */
1883 vq->state = VAL_FINISHED_STATE;
1895 vq->state = VAL_FINDKEY_STATE;
1909 /* go to finished state to cache this result */
1910 vq->state = VAL_FINISHED_STATE;
1925 vq->state = VAL_FINISHED_STATE;
1930 * processing in the next state. */
1931 vq->state = VAL_FINDKEY_STATE;
1936 * Process the FINDKEY state. Generally this just calculates the next name
1939 * advance the event to the next state.
1941 * @param qstate: query state.
1942 * @param vq: validator query state.
1956 /* We know that state.key_entry is not 0 or bad key -- if it were,
1958 * a different state.
1983 vq->state = VAL_VALIDATE_STATE;
1999 vq->state = VAL_FINISHED_STATE;
2013 vq->state = VAL_FINISHED_STATE;
2115 * and finished state is started.
2117 * @param qstate: query state.
2118 * @param vq: validator query state.
2136 /* This is the default next state. */
2137 vq->state = VAL_FINISHED_STATE;
2169 log_query_info(VERB_ALGO, "processValidate: state has no "
2344 * The Finished state. The validation status (good or bad) has been determined.
2346 * @param qstate: query state.
2347 * @param vq: validator query state.
2386 vq->state = VAL_INIT_STATE;
2404 vq->state = VAL_INIT_STATE;
2533 * Handle validator state.
2534 * If a method returns true, the next state is started. If false, then
2536 * @param qstate: query state.
2537 * @param vq: validator query state.
2547 verbose(VERB_ALGO, "val handle processing q with state %s",
2548 val_state_to_string(vq->state));
2549 switch(vq->state) {
2563 log_warn("validator: invalid state %d",
2564 vq->state);
2623 /* create state to start validation */
2744 * keyset in the super state, validate the DS response, returning a KeyEntry.
2746 * @param qstate: query state that is validating and asked for a DS.
2747 * @param vq: validator query state
2751 * @param qinfo: from the sub query state, query info.
2992 * for a state that is to be deleted soon; don't touch the mesh; instead
2993 * set a state in the super, as the super will be reactivated soon.
2994 * Perform processing to determine what state to set in the super.
2996 * @param qstate: query state that is validating and asked for a DS.
2997 * @param vq: validator query state
3001 * @param qinfo: from the sub query state, query info.
3023 vq->state = VAL_VALIDATE_STATE;
3031 vq->state = VAL_VALIDATE_STATE;
3041 vq->state = VAL_VALIDATE_STATE;
3047 * Keep the forState.state on FINDKEY. */
3053 vq->state = VAL_VALIDATE_STATE;
3057 /* Keep the forState.state on FINDKEY. */
3074 vq->state = VAL_VALIDATE_STATE;
3080 * Sets the key entry in the state.
3082 * for a state that is to be deleted soon; don't touch the mesh; instead
3083 * set a state in the super, as the super will be reactivated soon.
3084 * Perform processing to determine what state to set in the super.
3086 * @param qstate: query state that is validating and asked for a DNSKEY.
3087 * @param vq: validator query state
3091 * @param qinfo: from the sub query state, query info.
3134 vq->state = VAL_VALIDATE_STATE;
3140 vq->state = VAL_VALIDATE_STATE;
3149 vq->state = VAL_VALIDATE_STATE;
3153 * state. */
3171 vq->state = VAL_VALIDATE_STATE;
3181 /* If good, we stay in the FINDKEY state. */
3187 * Sets the key entry in the state.
3189 * @param qstate: query state that is validating and primed a trust anchor.
3190 * @param vq: validator query state
3207 vq->state = VAL_INIT_STATE;
3209 vq->state = VAL_VALIDATE_STATE; /* break a loop */
3225 vq->state = VAL_INIT_STATE;
3240 vq->state = VAL_INIT_STATE;
3251 /* If the result of the prime is a null key, skip the FINDKEY state.*/
3254 vq->state = VAL_VALIDATE_STATE;
3262 * @param qstate: query state that finished.
3275 verbose(VERB_ALGO, "super: has no validator state");
3299 * be resumed later in the super state with the caveat
3358 val_state_to_string(enum val_state state)
3360 switch(state) {