FreeBSD/sys/netinet/ip_carp.c
/* Master down timeout event, executed in callout context. */
Master down timeout event, executed in callout context.
Master down timeout event executed in callout context .
static void
carp_master_down(void *v)
{
	struct carp_softc *sc = v;
	CARP_LOCK_ASSERT(sc);
	CURVNET_SET(sc->sc_carpdev->if_vnet);
	if (sc->sc_state == BACKUP) {
		carp_master_down_locked(sc, "master timed out");
	}
	CURVNET_RESTORE();
	CARP_UNLOCK(sc);
}
static void carp_master_down ( void * v ) { struct carp_softc * sc = v ; CARP_LOCK_ASSERT ( sc ) ; CURVNET_SET ( sc -> sc_carpdev -> if_vnet ) ; if ( sc -> sc_state == BACKUP ) { carp_master_down_locked ( sc , " " ) ; } CURVNET_RESTORE ( ) ; CARP_UNLOCK ( sc ) ; }
Master down timeout event, executed in callout context.
Master down timeout event executed in callout context .