Example #1
0
void
fail_open_wait(struct fail_open *fo)
{
    if (fo->next_bogus_packet_in != LLONG_MAX) {
        poll_timer_wait_until(fo->next_bogus_packet_in);
    }
}
Example #2
0
void
mac_learning_wait(struct mac_learning *ml)
{
    if (!list_is_empty(&ml->lrus)) {
        struct mac_entry *e = mac_entry_from_lru_node(ml->lrus.next);
        poll_timer_wait_until(e->expires * 1000LL);
    }
}
void
classifierd_wait(void)
{
    if (classifierd_run_timer) {
        poll_timer_wait_until(time_msec() +
                              CLASSIFIERD_RUN_TIMER_INTERVAL_MSEC);
        classifierd_run_timer = false;
    }
    ovsdb_idl_wait(idl);
} /* classifierd_wait */