MCPcopy Create free account
hub / github.com/F-Stack/f-stack / expire_bw_meter_process

Function expire_bw_meter_process

freebsd/netinet/ip_mroute.c:2300–2311  ·  view source on GitHub ↗

* A periodic function for periodic scanning of the multicast forwarding * table for processing all "<=" bw_meter entries. */

Source from the content-addressed store, hash-verified

2298 * table for processing all "<=" bw_meter entries.
2299 */
2300static void
2301expire_bw_meter_process(void *arg)
2302{
2303 CURVNET_SET((struct vnet *) arg);
2304
2305 if (V_mrt_api_config & MRT_MFC_BW_UPCALL)
2306 bw_meter_process();
2307
2308 callout_reset(&V_bw_meter_ch, BW_METER_PERIOD, expire_bw_meter_process,
2309 curvnet);
2310 CURVNET_RESTORE();
2311}
2312
2313/*
2314 * End of bandwidth monitoring code

Callers

nothing calls this directly

Calls 1

bw_meter_processFunction · 0.85

Tested by

no test coverage detected