void p1_dpd_outI1(struct state *p1st) { time_t delay = p1st->st_connection->dpd_delay; time_t timeout = p1st->st_connection->dpd_timeout; dpd_outI(p1st, p1st, FALSE, delay, timeout); }
void p2_dpd_outI1(struct state *p2st) { struct state *st; time_t delay = p2st->st_connection->dpd_delay; time_t timeout = p2st->st_connection->dpd_timeout; /* find the related Phase 1 state */ st = find_phase1_state(p2st->st_connection, ISAKMP_SA_ESTABLISHED_STATES); if (st == NULL) { loglog(RC_LOG_SERIOUS, "DPD Error: could not find newest phase 1 state"); return; } dpd_outI(st, p2st, TRUE, delay, timeout); }
void dpd_event(struct state *st) { passert(NULL != st); dpd_outI(st); }