chiark / gitweb /
networkd: add basic [Link] settings to .network files
[elogind.git] / src / network / networkd-network-gperf.gperf
index 4f0e05aeb6e3d739c520ab0bd3e17faa22d86807..bd422e3e0b0feb0b3200ba362e122912edfdea39 100644 (file)
@@ -24,6 +24,8 @@ Match.Host,                  config_parse_net_condition,         CONDITION_HOST,
 Match.Virtualization,        config_parse_net_condition,         CONDITION_VIRTUALIZATION,      offsetof(Network, match_virt)
 Match.KernelCommandLine,     config_parse_net_condition,         CONDITION_KERNEL_COMMAND_LINE, offsetof(Network, match_kernel)
 Match.Architecture,          config_parse_net_condition,         CONDITION_ARCHITECTURE,        offsetof(Network, match_arch)
+Link.MACAddress,             config_parse_hwaddr,                0,                             offsetof(Network, mac)
+Link.MTUBytes,               config_parse_iec_size,              0,                             offsetof(Network, mtu)
 Network.Description,         config_parse_string,                0,                             offsetof(Network, description)
 Network.Bridge,              config_parse_netdev,                0,                             offsetof(Network, bridge)
 Network.Bond,                config_parse_netdev,                0,                             offsetof(Network, bond)