FreeBSD/sys/netinet/ip_carp.c
/* Send a periodic advertisement, executed in callout context. */
Send a periodic advertisement, executed in callout context.
Send a periodic advertisement executed in callout context .
static void
carp_send_ad(void *v)
{
	struct carp_softc *sc = v;
	CARP_LOCK_ASSERT(sc);
	CURVNET_SET(sc->sc_carpdev->if_vnet);
	carp_send_ad_locked(sc);
	CURVNET_RESTORE();
	CARP_UNLOCK(sc);
}
static void carp_send_ad ( void * v ) { struct carp_softc * sc = v ; CARP_LOCK_ASSERT ( sc ) ; CURVNET_SET ( sc -> sc_carpdev -> if_vnet ) ; carp_send_ad_locked ( sc ) ; CURVNET_RESTORE ( ) ; CARP_UNLOCK ( sc ) ; }
Send a periodic advertisement, executed in callout context.
Send a periodic advertisement executed in callout context .