FreeBSD/sys/netinet/ip_mroute.c
/*
 * A periodic function for periodic scanning of the multicast forwarding
 * table for processing all "<=" bw_meter entries.
 */
A periodic function for periodic scanning of the multicast forwarding
table for processing all "<=" bw_meter entries.
A periodic function for periodic scanning of the multicast forwarding table for processing all " < = " bw_meter entries .
static void
expire_bw_meter_process(void *arg)
{
    CURVNET_SET((struct vnet *) arg);
    if (V_mrt_api_config & MRT_MFC_BW_UPCALL)
	bw_meter_process();
    callout_reset(&V_bw_meter_ch, BW_METER_PERIOD, expire_bw_meter_process,
	curvnet);
    CURVNET_RESTORE();
}
static void expire_bw_meter_process ( void * arg ) { CURVNET_SET ( ( struct vnet * ) arg ) ; if ( V_mrt_api_config & MRT_MFC_BW_UPCALL ) bw_meter_process ( ) ; callout_reset ( & V_bw_meter_ch , BW_METER_PERIOD , expire_bw_meter_process , curvnet ) ; CURVNET_RESTORE ( ) ; }
A periodic function for periodic scanning of the multicast forwarding
 table for processing all "<=" bw_meter entries.
A periodic function for periodic scanning of the multicast forwarding table for processing all " < = " bw_meter entries .