/* ANSI-C code produced by gperf version 3.1 */
/* Command-line: /usr/bin/gperf --output-file src/udev/link-config-gperf.c ../systemd-stable/src/udev/net/link-config-gperf.gperf  */
/* Computed positions: -k'6-7,17-18,20' */

#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
      && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
      && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
      && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
      && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
      && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
      && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
      && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
      && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
      && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
      && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
      && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
      && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
      && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
      && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
      && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
      && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
      && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
      && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
      && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
      && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
      && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
      && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
/* The character set is not based on ISO-646.  */
#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gperf@gnu.org>."
#endif

#line 2 "../systemd-stable/src/udev/net/link-config-gperf.gperf"

#if __GNUC__ >= 7
_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
#endif
#include <stddef.h>
#include "conf-parser.h"
#include "ethtool-util.h"
#include "link-config.h"
#include "net-condition.h"
#include "netif-sriov.h"
#include "socket-util.h"
#include <string.h>

#define TOTAL_KEYWORDS 93
#define MIN_WORD_LENGTH 8
#define MAX_WORD_LENGTH 41
#define MIN_HASH_VALUE 10
#define MAX_HASH_VALUE 177
/* maximum key range = 168, duplicates = 0 */

#ifdef __GNUC__
__inline
#else
#ifdef __cplusplus
inline
#endif
#endif
static unsigned int
link_config_gperf_hash (register const char *str, register size_t len)
{
  static const unsigned char asso_values[] =
    {
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178,   0, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178,  20,  10,  10,  95, 178,
       70,   5,  45,  65, 178,  35,  55,  35,   5,  15,
       30, 178,   5,  35,   0,  40,   0,   5, 178, 178,
      178, 178, 178, 178, 178, 178, 178,   5, 178,   0,
       20,   0,   0,  30,  40,   0, 178,  15,   0,   5,
       15,  10, 178, 105,   5,  45,   0,  10,  50,   0,
        0, 178,  35, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178, 178, 178, 178, 178,
      178, 178, 178, 178, 178, 178
    };
  register unsigned int hval = len;

  switch (hval)
    {
      default:
        hval += asso_values[(unsigned char)str[19]];
      /*FALLTHROUGH*/
      case 19:
      case 18:
        hval += asso_values[(unsigned char)str[17]];
      /*FALLTHROUGH*/
      case 17:
        hval += asso_values[(unsigned char)str[16]];
      /*FALLTHROUGH*/
      case 16:
      case 15:
      case 14:
      case 13:
      case 12:
      case 11:
      case 10:
      case 9:
      case 8:
      case 7:
        hval += asso_values[(unsigned char)str[6]];
      /*FALLTHROUGH*/
      case 6:
        hval += asso_values[(unsigned char)str[5]];
        break;
    }
  return hval;
}

const struct ConfigPerfItem *
link_config_gperf_lookup (register const char *str, register size_t len)
{
  static const struct ConfigPerfItem wordlist[] =
    {
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0},
#line 30 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.Type",                                config_parse_match_strv,               0,                             offsetof(LinkConfig, match.iftype)},
      {(char*)0},
#line 115 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"SR-IOV.Trust",                              config_parse_sr_iov_boolean,           0,                             offsetof(LinkConfig, sr_iov_by_section)},
#line 110 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"SR-IOV.VLANId",                             config_parse_sr_iov_uint32,            0,                             offsetof(LinkConfig, sr_iov_by_section)},
      {(char*)0},
#line 72 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TxChannels",                           config_parse_ring_buffer_or_channel,   0,                             offsetof(LinkConfig, channels.tx)},
#line 116 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"SR-IOV.LinkState",                          config_parse_sr_iov_link_state,        0,                             offsetof(LinkConfig, sr_iov_by_section)},
#line 79 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TxBufferSize",                         config_parse_ring_buffer_or_channel,   0,                             offsetof(LinkConfig, ring.tx)},
#line 89 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TxCoalesceSec",                        config_parse_coalesce_sec,             0,                             offsetof(LinkConfig, coalesce.tx_coalesce_usecs)},
#line 43 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.Name",                                 config_parse_ifname,                   0,                             offsetof(LinkConfig, name)},
#line 71 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxChannels",                           config_parse_ring_buffer_or_channel,   0,                             offsetof(LinkConfig, channels.rx)},
      {(char*)0},
#line 76 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxBufferSize",                         config_parse_ring_buffer_or_channel,   0,                             offsetof(LinkConfig, ring.rx)},
#line 85 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxCoalesceSec",                        config_parse_coalesce_sec,             0,                             offsetof(LinkConfig, coalesce.rx_coalesce_usecs)},
#line 54 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.WakeOnLan",                            config_parse_wol,                      0,                             offsetof(LinkConfig, wol)},
#line 42 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.NamePolicy",                           config_parse_name_policy,              0,                             offsetof(LinkConfig, name_policy)},
      {(char*)0},
#line 70 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.NTupleFilter",                         config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_NTUPLE])},
#line 81 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TxFlowControl",                        config_parse_tristate,                 0,                             offsetof(LinkConfig, tx_flow_control)},
#line 112 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"SR-IOV.VLANProtocol",                       config_parse_sr_iov_vlan_proto,        0,                             offsetof(LinkConfig, sr_iov_by_section)},
#line 46 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.Alias",                                config_parse_ifalias,                  0,                             offsetof(LinkConfig, alias)},
#line 99 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TxCoalesceLowSec",                     config_parse_coalesce_sec,             0,                             offsetof(LinkConfig, coalesce.tx_coalesce_usecs_low)},
#line 78 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxJumboBufferSize",                    config_parse_ring_buffer_or_channel,   0,                             offsetof(LinkConfig, ring.rx_jumbo)},
#line 80 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxFlowControl",                        config_parse_tristate,                 0,                             offsetof(LinkConfig, rx_flow_control)},
#line 47 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TransmitQueues",                       config_parse_rx_tx_queues,             0,                             offsetof(LinkConfig, txqueues)},
#line 34 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.Virtualization",                      config_parse_net_condition,            CONDITION_VIRTUALIZATION,      offsetof(LinkConfig, conditions)},
#line 97 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxCoalesceLowSec",                     config_parse_coalesce_sec,             0,                             offsetof(LinkConfig, coalesce.rx_coalesce_usecs_low)},
#line 109 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"SR-IOV.VirtualFunction",                    config_parse_sr_iov_uint32,            0,                             offsetof(LinkConfig, sr_iov_by_section)},
#line 27 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.OriginalName",                        config_parse_match_ifnames,            0,                             offsetof(LinkConfig, match.ifname)},
#line 49 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TransmitQueueLength",                  config_parse_txqueuelen,               0,                             offsetof(LinkConfig, txqueuelen)},
#line 28 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.Path",                                config_parse_match_strv,               0,                             offsetof(LinkConfig, match.path)},
      {(char*)0}, {(char*)0},
#line 37 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.Architecture",                        config_parse_net_condition,            CONDITION_ARCHITECTURE,        offsetof(LinkConfig, conditions)},
#line 32 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.Property",                            config_parse_match_property,           0,                             offsetof(LinkConfig, match.property)},
#line 31 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.Kind",                                config_parse_match_strv,               0,                             offsetof(LinkConfig, match.kind)},
#line 68 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.ReceiveVLANCTAGFilter",                config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_HW_VLAN_CTAG_FILTER])},
      {(char*)0},
#line 50 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.MTUBytes",                             config_parse_mtu,                      AF_UNSPEC,                     offsetof(LinkConfig, mtu)},
#line 56 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.Port",                                 config_parse_port,                     0,                             offsetof(LinkConfig, port)},
#line 44 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.AlternativeName",                      config_parse_ifnames,                  IFNAME_VALID_ALTERNATIVE,      offsetof(LinkConfig, alternative_names)},
#line 25 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.MACAddress",                          config_parse_hw_addrs,                 0,                             offsetof(LinkConfig, match.hw_addr)},
#line 60 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TCPSegmentationOffload",               config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_TSO])},
#line 61 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TCP6SegmentationOffload",              config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_TSO6])},
#line 75 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.Advertise",                            config_parse_advertise,                0,                             offsetof(LinkConfig, advertise)},
#line 33 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.Host",                                config_parse_net_condition,            CONDITION_HOST,                offsetof(LinkConfig, conditions)},
#line 59 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.GenericSegmentationOffload",           config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_GSO])},
#line 45 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.AlternativeNamesPolicy",               config_parse_alternative_names_policy, 0,                             offsetof(LinkConfig, alternative_names_policy)},
#line 58 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TransmitChecksumOffload",              config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_TXCSUM])},
      {(char*)0},
#line 66 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.ReceiveVLANCTAGHardwareAcceleration",  config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_HW_VLAN_CTAG_RX])},
      {(char*)0},
#line 117 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"SR-IOV.MACAddress",                         config_parse_sr_iov_mac,               0,                             offsetof(LinkConfig, sr_iov_by_section)},
#line 51 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.BitsPerSecond",                        config_parse_si_uint64,                0,                             offsetof(LinkConfig, speed)},
#line 36 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.KernelVersion",                       config_parse_net_condition,            CONDITION_KERNEL_VERSION,      offsetof(LinkConfig, conditions)},
#line 53 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.AutoNegotiation",                      config_parse_tristate,                 0,                             offsetof(LinkConfig, autonegotiation)},
#line 96 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.CoalescePacketRateLow",                config_parse_coalesce_u32,             0,                             offsetof(LinkConfig, coalesce.pkt_rate_low)},
#line 101 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.CoalescePacketRateHigh",               config_parse_coalesce_u32,             0,                             offsetof(LinkConfig, coalesce.pkt_rate_high)},
#line 48 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.ReceiveQueues",                        config_parse_rx_tx_queues,             0,                             offsetof(LinkConfig, rxqueues)},
#line 83 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.GenericSegmentOffloadMaxBytes",        config_parse_iec_size,                 0,                             offsetof(LinkConfig, gso_max_size)},
#line 41 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.MACAddress",                           config_parse_hw_addr,                  0,                             offsetof(LinkConfig, hw_addr)},
#line 74 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.CombinedChannels",                     config_parse_ring_buffer_or_channel,   0,                             offsetof(LinkConfig, channels.combined)},
#line 84 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.GenericSegmentOffloadMaxSegments",     config_parse_uint32,                   0,                             offsetof(LinkConfig, gso_max_segments)},
      {(char*)0},
#line 105 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TxMaxCoalescedHighFrames",             config_parse_coalesce_u32,             0,                             offsetof(LinkConfig, coalesce.tx_max_coalesced_frames_high)},
#line 113 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"SR-IOV.MACSpoofCheck",                      config_parse_sr_iov_boolean,           0,                             offsetof(LinkConfig, sr_iov_by_section)},
#line 82 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.AutoNegotiationFlowControl",           config_parse_tristate,                 0,                             offsetof(LinkConfig, autoneg_flow_control)},
      {(char*)0},
#line 73 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.OtherChannels",                        config_parse_ring_buffer_or_channel,   0,                             offsetof(LinkConfig, channels.other)},
#line 103 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxMaxCoalescedHighFrames",             config_parse_coalesce_u32,             0,                             offsetof(LinkConfig, coalesce.rx_max_coalesced_frames_high)},
#line 106 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.CoalescePacketRateSampleIntervalSec",  config_parse_coalesce_sec,             0,                             offsetof(LinkConfig, coalesce.rate_sample_interval)},
#line 67 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TransmitVLANCTAGHardwareAcceleration", config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_HW_VLAN_CTAG_TX])},
#line 108 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.SR-IOVVirtualFunctions",               config_parse_sr_iov_num_vfs,           0,                             offsetof(LinkConfig, sr_iov_num_vfs)},
#line 100 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TxMaxCoalescedLowFrames",              config_parse_coalesce_u32,             0,                             offsetof(LinkConfig, coalesce.tx_max_coalesced_frames_low)},
#line 38 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.Firmware",                            config_parse_net_condition,            CONDITION_FIRMWARE,            offsetof(LinkConfig, conditions)},
      {(char*)0},
#line 40 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.MACAddressPolicy",                     config_parse_mac_address_policy,       0,                             offsetof(LinkConfig, mac_address_policy)},
#line 104 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TxCoalesceHighSec",                    config_parse_coalesce_sec,             0,                             offsetof(LinkConfig, coalesce.tx_coalesce_usecs_high)},
#line 98 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxMaxCoalescedLowFrames",              config_parse_coalesce_u32,             0,                             offsetof(LinkConfig, coalesce.rx_max_coalesced_frames_low)},
      {(char*)0}, {(char*)0},
#line 93 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.StatisticsBlockCoalesceSec",           config_parse_coalesce_sec,             0,                             offsetof(LinkConfig, coalesce.stats_block_coalesce_usecs)},
#line 102 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxCoalesceHighSec",                    config_parse_coalesce_sec,             0,                             offsetof(LinkConfig, coalesce.rx_coalesce_usecs_high)},
#line 92 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TxMaxCoalescedIrqFrames",              config_parse_coalesce_u32,             0,                             offsetof(LinkConfig, coalesce.tx_max_coalesced_frames_irq)},
      {(char*)0},
#line 90 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TxMaxCoalescedFrames",                 config_parse_coalesce_u32,             0,                             offsetof(LinkConfig, coalesce.tx_max_coalesced_frames)},
#line 63 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.GenericReceiveOffload",                config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_GRO])},
#line 57 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.ReceiveChecksumOffload",               config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_RXCSUM])},
#line 88 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxMaxCoalescedIrqFrames",              config_parse_coalesce_u32,             0,                             offsetof(LinkConfig, coalesce.rx_max_coalesced_frames_irq)},
#line 65 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.LargeReceiveOffload",                  config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_LRO])},
#line 86 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxMaxCoalescedFrames",                 config_parse_coalesce_u32,             0,                             offsetof(LinkConfig, coalesce.rx_max_coalesced_frames)},
#line 77 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxMiniBufferSize",                     config_parse_ring_buffer_or_channel,   0,                             offsetof(LinkConfig, ring.rx_mini)},
      {(char*)0}, {(char*)0},
#line 64 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.GenericReceiveOffloadHardware",        config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_GRO_HW])},
#line 26 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.PermanentMACAddress",                 config_parse_hw_addrs,                 0,                             offsetof(LinkConfig, match.permanent_hw_addr)},
#line 69 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TransmitVLANSTAGHardwareAcceleration", config_parse_tristate,                 0,                             offsetof(LinkConfig, features[NET_DEV_FEAT_HW_VLAN_STAG_TX])},
#line 29 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.Driver",                              config_parse_match_strv,               0,                             offsetof(LinkConfig, match.driver)},
#line 111 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"SR-IOV.QualityOfService",                   config_parse_sr_iov_uint32,            0,                             offsetof(LinkConfig, sr_iov_by_section)},
      {(char*)0}, {(char*)0},
#line 39 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.Description",                          config_parse_string,                   0,                             offsetof(LinkConfig, description)},
      {(char*)0}, {(char*)0}, {(char*)0},
#line 114 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"SR-IOV.QueryReceiveSideScaling",            config_parse_sr_iov_boolean,           0,                             offsetof(LinkConfig, sr_iov_by_section)},
#line 52 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.Duplex",                               config_parse_duplex,                   0,                             offsetof(LinkConfig, duplex)},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
#line 95 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.UseAdaptiveTxCoalesce",                config_parse_tristate,                 0,                             offsetof(LinkConfig, coalesce.use_adaptive_tx_coalesce)},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
#line 94 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.UseAdaptiveRxCoalesce",                config_parse_tristate,                 0,                             offsetof(LinkConfig, coalesce.use_adaptive_rx_coalesce)},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
#line 91 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.TxCoalesceIrqSec",                     config_parse_coalesce_sec,             0,                             offsetof(LinkConfig, coalesce.tx_coalesce_usecs_irq)},
#line 55 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.WakeOnLanPassword",                    config_parse_wol_password,             0,                             0},
#line 35 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Match.KernelCommandLine",                   config_parse_net_condition,            CONDITION_KERNEL_COMMAND_LINE, offsetof(LinkConfig, conditions)},
      {(char*)0}, {(char*)0},
#line 87 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.RxCoalesceIrqSec",                     config_parse_coalesce_sec,             0,                             offsetof(LinkConfig, coalesce.rx_coalesce_usecs_irq)},
      {(char*)0},
#line 107 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.MDI",                                  config_parse_mdi,                      0,                             offsetof(LinkConfig, mdi)},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0}, {(char*)0}, {(char*)0},
      {(char*)0}, {(char*)0},
#line 62 "../systemd-stable/src/udev/net/link-config-gperf.gperf"
      {"Link.UDPSegmentationOffload",               config_parse_warn_compat,              DISABLED_LEGACY,               0}
    };

  if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
    {
      register unsigned int key = link_config_gperf_hash (str, len);

      if (key <= MAX_HASH_VALUE)
        {
          register const char *s = wordlist[key].section_and_lvalue;

          if (s && *str == *s && !strcmp (str + 1, s + 1))
            return &wordlist[key];
        }
    }
  return 0;
}
