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.MACAddress, config_parse_string, 0, offsetof(link_config, mac)
23 Link.NamePolicy, config_parse_strv, 0, offsetof(link_config, name_policy)
24 Link.Name, config_parse_string, 0, offsetof(link_config, name)
25 Link.MTU, config_parse_unsigned, 0, offsetof(link_config, mtu)
26 Link.SpeedMBytes, config_parse_unsigned, 0, offsetof(link_config, speed)
27 Link.Duplex, config_parse_string, 0, offsetof(link_config, duplex)
28 Link.WakeOnLan, config_parse_string, 0, offsetof(link_config, wol)