* A periodic function for periodic scanning of the multicast forwarding * table for processing all "<=" bw_meter entries. */
| 2298 | * table for processing all "<=" bw_meter entries. |
| 2299 | */ |
| 2300 | static void |
| 2301 | expire_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 |
nothing calls this directly
no test coverage detected