Lines Matching refs:alarm
61 static struct snoop_handler *snoop_hp; /* global alarm handler head */
62 static struct snoop_handler *snoop_tp; /* global alarm handler tail */
63 static time_t snoop_nalarm; /* time of next alarm */
827 * sdefault: default global alarm handler. Causes the current packet
837 * snoop_alarm: register or unregister an alarm handler to be called after
864 /* register an alarm handler */
878 (void) alarm(sh->s_time - now);
885 (void) alarm(sh->s_time - now);
893 /* unregister an alarm handler */
920 (void) alarm(0);
923 (void) alarm(nalarm - now);
965 * Global alarm handling (see snoop_alarm()) is managed here.
980 * the time for the next alarm, setting it up, then progressing
987 /* Calculate next alarm time */
997 /* Setup next alarm */
1000 (void) alarm(nalarm - now);
1005 /* Invoke alarm handlers (may not return) */
1027 * If an alarm handler has timed out, and snoop_nrecover has