networkd-network-gperf.gperf revision fe6b2d55bcb379d01664ed28cea40634cb6b52e3
402N/A%{
402N/A#include <stddef.h>
402N/A#include "conf-parser.h"
402N/A#include "networkd.h"
402N/A#include "net-util.h"
402N/A%}
402N/Astruct ConfigPerfItem;
402N/A%null_strings
402N/A%language=ANSI-C
402N/A%define slot-name section_and_lvalue
402N/A%define hash-function-name network_network_gperf_hash
402N/A%define lookup-function-name network_network_gperf_lookup
402N/A%readonly-tables
402N/A%omit-struct-type
402N/A%struct-type
402N/A%includes
402N/A%%
402N/AMatch.MACAddress, config_parse_hwaddr, 0, offsetof(Network, match_mac)
402N/AMatch.Path, config_parse_string, 0, offsetof(Network, match_path)
402N/AMatch.Driver, config_parse_string, 0, offsetof(Network, match_driver)
402N/AMatch.Type, config_parse_string, 0, offsetof(Network, match_type)
402N/AMatch.Name, config_parse_ifname, 0, offsetof(Network, match_name)
402N/AMatch.Host, config_parse_net_condition, CONDITION_HOST, offsetof(Network, match_host)
402N/AMatch.Virtualization, config_parse_net_condition, CONDITION_VIRTUALIZATION, offsetof(Network, match_virt)
402N/AMatch.KernelCommandLine, config_parse_net_condition, CONDITION_KERNEL_COMMAND_LINE, offsetof(Network, match_kernel)
402N/AMatch.Architecture, config_parse_net_condition, CONDITION_ARCHITECTURE, offsetof(Network, match_arch)
402N/ANetwork.Description, config_parse_string, 0, offsetof(Network, description)
402N/ANetwork.Bridge, config_parse_bridge, 0, offsetof(Network, bridge)
402N/ANetwork.Bond, config_parse_bond, 0, offsetof(Network, bond)
402N/ANetwork.VLAN, config_parse_vlan, 0, offsetof(Network, vlans)
402N/ANetwork.MACVLAN, config_parse_macvlan, 0, offsetof(Network, macvlans)
402N/ANetwork.DHCP, config_parse_bool, 0, offsetof(Network, dhcp)
402N/ANetwork.Address, config_parse_address, 0, 0
402N/ANetwork.Gateway, config_parse_gateway, 0, 0
402N/ANetwork.DNS, config_parse_dns, 0, offsetof(Network, dns)
402N/AAddress.Address, config_parse_address, 0, 0
402N/AAddress.Broadcast, config_parse_broadcast, 0, 0
402N/AAddress.Label, config_parse_label, 0, 0
402N/ARoute.Gateway, config_parse_gateway, 0, 0
402N/ARoute.Destination, config_parse_destination, 0, 0
402N/ADHCPv4.UseDNS, config_parse_bool, 0, offsetof(Network, dhcp_dns)
402N/ADHCPv4.UseMTU, config_parse_bool, 0, offsetof(Network, dhcp_mtu)
402N/ADHCPv4.UseHostname, config_parse_bool, 0, offsetof(Network, dhcp_hostname)
402N/ADHCPv4.UseDomainName, config_parse_bool, 0, offsetof(Network, dhcp_domainname)
402N/ADHCPv4.CriticalConnection, config_parse_bool, 0, offsetof(Network, dhcp_critical)
402N/A