
Go to the source code of this file.
Functions | |
| int | is_nonce_index_valid (int index) |
| Check if the nonce has been used before. | |
| int | reserve_nonce_index (void) |
| Get valid index for nonce. | |
Definition in file index.h.
| int is_nonce_index_valid | ( | int | index | ) |
Check if the nonce has been used before.
| index | index |
Definition at line 139 of file index.c.
References check_buf_bit, LM_DBG, LM_ERR, MAX_NONCE_INDEX, next_index, nonce_lock, sec_monit, second, and set_buf_bit.
Referenced by post_auth().
| int reserve_nonce_index | ( | void | ) |
Get valid index for nonce.
Definition at line 57 of file index.c.
References get_ticks(), LM_DBG, LM_INFO, MAX_NONCE_INDEX, next_index, nonce_expire, nonce_lock, sec_monit, second, and unset_buf_bit.
Referenced by build_auth_hf().
1.5.6