Lines Matching defs:timer
294 * Timer macros set minimum/maximum timeout values and calculate timer expiry
453 * Updates the timer-based sysctl variables. The new values are sanity-checked
455 * holddown timer is allowed to be 0
459 u_int timer = *(u_int *)arg1;
462 error = sysctl_handle_int(oidp, &timer, 0, req);
466 timer = (timer > SN_MAX_TIMER) ? (SN_MAX_TIMER) : (timer);
469 timer = (timer < SN_MIN_TIMER) ? (SN_MIN_TIMER) : (timer);
472 *(u_int *)arg1 = timer;
644 * Creates the look-up tables and the timer queue and initialises all state
666 /* Initialise circular timer Q*/
681 * Removes all entries from the timer queue, freeing associations as it goes.
685 * will always have an entry in the timer queue, freeing this memory
2339 * NOTE: The association is NOT removed from the timer queue
2402 * The timer queue management functions are designed to operate efficiently with
2409 * for normal packets sent during an association. When a timer expires, it is
2415 * @brief Add an association timeout to the timer queue
2436 * @brief Remove an association from timer queue
2439 * current position in the timer queue
2452 * @brief Reset timer in timer queue
2475 * @brief Check timer Q against current time
2477 * Loop through each entry in the timer queue since the last time we processed
2478 * the timer queue until now (the current time). For each association in the
2479 * event list, we remove it from that position in the timer queue and check if
2481 * - Log the timer expiry
2485 * If the timer hasn't really expired we place the association into its new
2486 * correct position in the timer queue.
2507 } else {/* state not expired, reschedule timer*/
2511 /* Goto next location in the timer queue*/
2690 * @brief Output timer queue to log