chiark / gitweb /
networkd: add basic VLAN support
[elogind.git] / src / network / networkd-gperf.gperf
index 7686cdf3342e402ee38d299dcf4cc3471a357a77..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
@@ -33,5 +35,8 @@ Route.Destination,       config_parse_destination,      0,       0
 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)
-Bridge.Description,      config_parse_string,           0,       offsetof(Bridge, description)
-Bridge.Name,             config_parse_ifname,           0,       offsetof(Bridge, name)
+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)