Line data Source code
1 : %{ 2 : #if __GNUC__ >= 7 3 : _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"") 4 : #endif 5 : #include <stddef.h> 6 : #include "conf-parser.h" 7 : #include "networkd-conf.h" 8 : #include "networkd-manager.h" 9 : %} 10 : struct ConfigPerfItem; 11 : %null_strings 12 : %language=ANSI-C 13 : %define slot-name section_and_lvalue 14 : %define hash-function-name networkd_gperf_hash 15 : %define lookup-function-name networkd_gperf_lookup 16 : %readonly-tables 17 : %omit-struct-type 18 : %struct-type 19 : %includes 20 : %% 21 : Network.SpeedMeter, config_parse_bool, 0, offsetof(Manager, use_speed_meter) 22 : Network.SpeedMeterIntervalSec, config_parse_sec, 0, offsetof(Manager, speed_meter_interval_usec) 23 : DHCP.DUIDType, config_parse_duid_type, 0, offsetof(Manager, duid) 24 : DHCP.DUIDRawData, config_parse_duid_rawdata, 0, offsetof(Manager, duid)