chiark / gitweb /
always use the same code for creating temporary files
[elogind.git] / src / network / networkd-gperf.gperf
index 92954a8365ef954dd7aa7174b059695113e9a82b..aff23bb55d292d62e179f247a79915bc66fa5264 100644 (file)
@@ -22,6 +22,8 @@ Match.Type,              config_parse_string,           0,       offsetof(Networ
 Match.Name,              config_parse_ifname,           0,       offsetof(Network, match_name)
 Network.Description,     config_parse_string,           0,       offsetof(Network, description)
 Network.Bridge,          config_parse_bridge,           0,       offsetof(Network, bridge)
+Network.Bond,            config_parse_bond,             0,       offsetof(Network, bond)
+Network.VLAN,            config_parse_vlan,             0,       offsetof(Network, vlan)
 Network.DHCP,            config_parse_bool,             0,       offsetof(Network, dhcp)
 Network.Address,         config_parse_address,          0,       0
 Network.Gateway,         config_parse_gateway,          0,       0
@@ -30,5 +32,11 @@ Address.Address,         config_parse_address,          0,       0
 Address.Label,           config_parse_label,            0,       0
 Route.Gateway,           config_parse_gateway,          0,       0
 Route.Destination,       config_parse_destination,      0,       0
-Bridge.Description,      config_parse_string,           0,       offsetof(Bridge, description)
-Bridge.Name,             config_parse_ifname,           0,       offsetof(Bridge, name)
+DHCPv4.UseDNS,           config_parse_bool,             0,       offsetof(Network, dhcp_dns)
+DHCPv4.UseMTU,           config_parse_bool,             0,       offsetof(Network, dhcp_mtu)
+DHCPv4.UseHostname,      config_parse_bool,             0,       offsetof(Network, dhcp_hostname)
+DHCPv4.UseDomainName,    config_parse_bool,             0,       offsetof(Network, dhcp_domainname)
+Netdev.Description,      config_parse_string,           0,       offsetof(Netdev, description)
+Netdev.Name,             config_parse_ifname,           0,       offsetof(Netdev, name)
+Netdev.Kind,             config_parse_netdev_kind,      0,       offsetof(Netdev, kind)
+VLAN.Id,                 config_parse_int,              0,       offsetof(Netdev, vlanid)