3 #include "conf-parser.h"
4 #include "link-config.h"
9 %define slot-name section_and_lvalue
10 %define hash-function-name link_config_gperf_hash
11 %define lookup-function-name link_config_gperf_lookup
17 Match.MACAddress, config_parse_string, 0, offsetof(link_config, match_mac)
18 Match.Path, config_parse_string, 0, offsetof(link_config, match_path)
19 Match.Driver, config_parse_string, 0, offsetof(link_config, match_driver)
20 Match.Type, config_parse_string, 0, offsetof(link_config, match_type)
21 Link.Description, config_parse_string, 0, offsetof(link_config, description)
22 Link.SpeedMBytes, config_parse_unsigned, 0, offsetof(link_config, speed)
23 Link.Duplex, config_parse_string, 0, offsetof(link_config, duplex)
24 Link.WakeOnLan, config_parse_string, 0, offsetof(link_config, wol)