FreeBSD/sys/netinet/ip_mroute.c
/*
 * A periodic function for sending all upcalls that are pending delivery
 */
A periodic function for sending all upcalls that are pending delivery
A periodic function for sending all upcalls that are pending delivery
static void
expire_bw_upcalls_send(void *arg)
{
    CURVNET_SET((struct vnet *) arg);
    MFC_LOCK();
    bw_upcalls_send();
    MFC_UNLOCK();
    callout_reset(&V_bw_upcalls_ch, BW_UPCALLS_PERIOD, expire_bw_upcalls_send,
	curvnet);
    CURVNET_RESTORE();
}
static void expire_bw_upcalls_send ( void * arg ) { CURVNET_SET ( ( struct vnet * ) arg ) ; MFC_LOCK ( ) ; bw_upcalls_send ( ) ; MFC_UNLOCK ( ) ; callout_reset ( & V_bw_upcalls_ch , BW_UPCALLS_PERIOD , expire_bw_upcalls_send , curvnet ) ; CURVNET_RESTORE ( ) ; }
A periodic function for sending all upcalls that are pending delivery
A periodic function for sending all upcalls that are pending delivery