networkd-netdev-gperf.gperf revision 85a8eeee36b57c1ab382b0225fa9a87525bbeee9
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd%{
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd#include <stddef.h>
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd#include "conf-parser.h"
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd#include "networkd-netdev.h"
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd#include "networkd-netdev-tunnel.h"
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd#include "networkd-netdev-bond.h"
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd#include "networkd-netdev-macvlan.h"
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd#include "network-internal.h"
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd%}
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndstruct ConfigPerfItem;
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen%null_strings
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen%language=ANSI-C
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen%define slot-name section_and_lvalue
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen%define hash-function-name network_netdev_gperf_hash
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd%define lookup-function-name network_netdev_gperf_lookup
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd%readonly-tables
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd%omit-struct-type
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen%struct-type
3f08db06526d6901aa08c110b5bc7dde6bc39905nd%includes
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd%%
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndMatch.Host, config_parse_net_condition, CONDITION_HOST, offsetof(NetDev, match_host)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndMatch.Virtualization, config_parse_net_condition, CONDITION_VIRTUALIZATION, offsetof(NetDev, match_virt)
3f08db06526d6901aa08c110b5bc7dde6bc39905ndMatch.KernelCommandLine, config_parse_net_condition, CONDITION_KERNEL_COMMAND_LINE, offsetof(NetDev, match_kernel)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndMatch.Architecture, config_parse_net_condition, CONDITION_ARCHITECTURE, offsetof(NetDev, match_arch)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndNetDev.Description, config_parse_string, 0, offsetof(NetDev, description)
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7ndNetDev.Name, config_parse_ifname, 0, offsetof(NetDev, ifname)
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7ndNetDev.Kind, config_parse_netdev_kind, 0, offsetof(NetDev, kind)
ecc5150d35c0dc5ee5119c2717e6660fa331abbftakashiNetDev.MTUBytes, config_parse_iec_size, 0, offsetof(NetDev, mtu)
c04f76acce77126cf88b09350e56ea8c6b4a064enilgunNetDev.MACAddress, config_parse_hwaddr, 0, offsetof(NetDev, mac)
ad74a0524a06bfe11b7de9e3b4ce7233ab3bd3f7ndVLAN.Id, config_parse_uint64, 0, offsetof(VLan, id)
63f06dce77bb2d9b1c5aa5deeb47a1069987fd1endMACVLAN.Mode, config_parse_macvlan_mode, 0, offsetof(MacVlan, mode)
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenTunnel.Local, config_parse_tunnel_address, 0, offsetof(Tunnel, local)
d474d8ef01ec5c2a09341cd148851ed383c3287crbowenTunnel.Remote, config_parse_tunnel_address, 0, offsetof(Tunnel, remote)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndTunnel.TOS, config_parse_unsigned, 0, offsetof(Tunnel, tos)
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluemTunnel.TTL, config_parse_unsigned, 0, offsetof(Tunnel, ttl)
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluemTunnel.DiscoverPathMTU, config_parse_bool, 0, offsetof(Tunnel, pmtudisc)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndPeer.Name, config_parse_ifname, 0, offsetof(Veth, ifname_peer)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndPeer.MACAddress, config_parse_hwaddr, 0, offsetof(Veth, mac_peer)
3f08db06526d6901aa08c110b5bc7dde6bc39905ndVXLAN.Id, config_parse_uint64, 0, offsetof(VxLan, id)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndVXLAN.Group, config_parse_vxlan_group_address, 0, offsetof(VxLan, group)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndVXLAN.TOS, config_parse_unsigned, 0, offsetof(VxLan, tos)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndVXLAN.TTL, config_parse_unsigned, 0, offsetof(VxLan, ttl)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndVXLAN.MacLearning, config_parse_bool, 0, offsetof(VxLan, learning)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndVXLAN.ARPProxy, config_parse_bool, 0, offsetof(VxLan, arp_proxy)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndVXLAN.L2MissNotification, config_parse_bool, 0, offsetof(VxLan, l2miss)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndVXLAN.L3MissNotification, config_parse_bool, 0, offsetof(VxLan, l3miss)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndVXLAN.RouteShortCircuit, config_parse_bool, 0, offsetof(VxLan, route_short_circuit)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndVXLAN.FDBAgeingSec, config_parse_sec, 0, offsetof(VxLan, fdb_ageing)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndTun.OneQueue, config_parse_bool, 0, offsetof(TunTap, one_queue)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndTun.MultiQueue, config_parse_bool, 0, offsetof(TunTap, multi_queue)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndTun.PacketInfo, config_parse_bool, 0, offsetof(TunTap, packet_info)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndTun.User, config_parse_string, 0, offsetof(TunTap, user_name)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndTun.Group, config_parse_string, 0, offsetof(TunTap, group_name)
71fccc298df6a1540d408151a26aa22beed55d0bndTap.OneQueue, config_parse_bool, 0, offsetof(TunTap, one_queue)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndTap.MultiQueue, config_parse_bool, 0, offsetof(TunTap, multi_queue)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndTap.PacketInfo, config_parse_bool, 0, offsetof(TunTap, packet_info)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndTap.User, config_parse_string, 0, offsetof(TunTap, user_name)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndTap.Group, config_parse_string, 0, offsetof(TunTap, group_name)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndBond.Mode, config_parse_bond_mode, 0, offsetof(Bond, mode)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndBond.TransmitHashPolicy, config_parse_bond_xmit_hash_policy, 0, offsetof(Bond, xmit_hash_policy)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndBond.LACPTransmitRate, config_parse_bond_lacp_rate, 0, offsetof(Bond, lacp_rate)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndBond.MIIMonitorSec, config_parse_sec, 0, offsetof(Bond, miimon)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndBond.UpDelaySec, config_parse_sec, 0, offsetof(Bond, updelay)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5ndBond.DownDelaySec, config_parse_sec, 0, offsetof(Bond, downdelay)
6116c12fdd3ed06d388fe6572e50a22e9320dfa5nd