static void
manual_cancel_pending_events(ServiceRef service_p)
{
    Service_manual_t *	manual;

    manual = (Service_manual_t *)ServiceGetPrivate(service_p);
    if (manual == NULL)
	return;
    if (manual->timer) {
	timer_cancel(manual->timer);
    }
    if (manual->arp) {
	arp_client_cancel(manual->arp);
    }
    return;
}
Example #2
0
static void
linklocal_cancel_pending_events(ServiceRef service_p)
{
    Service_linklocal_t * 	linklocal;

    linklocal = (Service_linklocal_t *)ServiceGetPrivate(service_p);
    if (linklocal == NULL)
        return;
    if (linklocal->timer) {
        timer_cancel(linklocal->timer);
    }
    if (linklocal->arp) {
        arp_client_cancel(linklocal->arp);
    }
    return;
}
static void
failover_cancel_pending_events(ServiceRef service_p)
{
    Service_failover_t * failover;

    failover = (Service_failover_t *)ServiceGetPrivate(service_p);
    if (failover == NULL)
	return;
    if (failover->timer) {
	timer_cancel(failover->timer);
    }
    if (failover->arp) {
	arp_client_cancel(failover->arp);
    }
    return;
}