1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 /* Default interval is 10sec. The speed meter periodically make networkd 5 * to be woke up. So, too small interval value is not desired. 6 * We set the minimum value 100msec = 0.1sec. */ 7 #define SPEED_METER_DEFAULT_TIME_INTERVAL (10 * USEC_PER_SEC) 8 #define SPEED_METER_MINIMUM_TIME_INTERVAL (100 * USEC_PER_MSEC) 9 10 typedef struct Manager Manager; 11 12 int manager_start_speed_meter(Manager *m); 13