]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/network/networkd-network-gperf.gperf
046eedc4bf33d9f32940fafa9fd55e3e477d25ce
[thirdparty/systemd.git] / src / network / networkd-network-gperf.gperf
1 %{
2 #if __GNUC__ >= 7
3 _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
4 #endif
5 #include <stddef.h>
6 #include "conf-parser.h"
7 #include "netem.h"
8 #include "network-internal.h"
9 #include "networkd-can.h"
10 #include "networkd-conf.h"
11 #include "networkd-dhcp-common.h"
12 #include "networkd-dhcp-server.h"
13 #include "networkd-dhcp4.h"
14 #include "networkd-dhcp6.h"
15 #include "networkd-ipv4ll.h"
16 #include "networkd-ndisc.h"
17 #include "networkd-network.h"
18 #include "qdisc.h"
19 #include "tclass.h"
20 #include "vlan-util.h"
21 %}
22 struct ConfigPerfItem;
23 %null_strings
24 %language=ANSI-C
25 %define slot-name section_and_lvalue
26 %define hash-function-name network_network_gperf_hash
27 %define lookup-function-name network_network_gperf_lookup
28 %readonly-tables
29 %omit-struct-type
30 %struct-type
31 %includes
32 %%
33 Match.MACAddress, config_parse_hwaddrs, 0, offsetof(Network, match_mac)
34 Match.PermanentMACAddress, config_parse_hwaddrs, 0, offsetof(Network, match_permanent_mac)
35 Match.Path, config_parse_match_strv, 0, offsetof(Network, match_path)
36 Match.Driver, config_parse_match_strv, 0, offsetof(Network, match_driver)
37 Match.Type, config_parse_match_strv, 0, offsetof(Network, match_type)
38 Match.WLANInterfaceType, config_parse_match_strv, 0, offsetof(Network, match_wlan_iftype)
39 Match.SSID, config_parse_match_strv, 0, offsetof(Network, match_ssid)
40 Match.BSSID, config_parse_hwaddrs, 0, offsetof(Network, match_bssid)
41 Match.Name, config_parse_match_ifnames, 1, offsetof(Network, match_name)
42 Match.Property, config_parse_match_property, 0, offsetof(Network, match_property)
43 Match.Host, config_parse_net_condition, CONDITION_HOST, offsetof(Network, conditions)
44 Match.Virtualization, config_parse_net_condition, CONDITION_VIRTUALIZATION, offsetof(Network, conditions)
45 Match.KernelCommandLine, config_parse_net_condition, CONDITION_KERNEL_COMMAND_LINE, offsetof(Network, conditions)
46 Match.KernelVersion, config_parse_net_condition, CONDITION_KERNEL_VERSION, offsetof(Network, conditions)
47 Match.Architecture, config_parse_net_condition, CONDITION_ARCHITECTURE, offsetof(Network, conditions)
48 Link.MACAddress, config_parse_hwaddr, 0, offsetof(Network, mac)
49 Link.MTUBytes, config_parse_mtu, AF_UNSPEC, offsetof(Network, mtu)
50 Link.Group, config_parse_uint32, 0, offsetof(Network, group)
51 Link.ARP, config_parse_tristate, 0, offsetof(Network, arp)
52 Link.Multicast, config_parse_tristate, 0, offsetof(Network, multicast)
53 Link.AllMulticast, config_parse_tristate, 0, offsetof(Network, allmulticast)
54 Link.Unmanaged, config_parse_bool, 0, offsetof(Network, unmanaged)
55 Link.IPv6LinkLocalAddressGenerationMode, config_parse_link_ipv6_address_gen_mode, 0, offsetof(Network, ipv6_address_gen_mode)
56 Link.RequiredForOnline, config_parse_required_for_online, 0, 0
57 Network.Description, config_parse_string, 0, offsetof(Network, description)
58 Network.Bridge, config_parse_ifname, 0, offsetof(Network, bridge_name)
59 Network.Bond, config_parse_ifname, 0, offsetof(Network, bond_name)
60 Network.VLAN, config_parse_stacked_netdev, NETDEV_KIND_VLAN, offsetof(Network, stacked_netdev_names)
61 Network.MACVLAN, config_parse_stacked_netdev, NETDEV_KIND_MACVLAN, offsetof(Network, stacked_netdev_names)
62 Network.MACVTAP, config_parse_stacked_netdev, NETDEV_KIND_MACVTAP, offsetof(Network, stacked_netdev_names)
63 Network.IPVLAN, config_parse_stacked_netdev, NETDEV_KIND_IPVLAN, offsetof(Network, stacked_netdev_names)
64 Network.IPVTAP, config_parse_stacked_netdev, NETDEV_KIND_IPVTAP, offsetof(Network, stacked_netdev_names)
65 Network.VXLAN, config_parse_stacked_netdev, NETDEV_KIND_VXLAN, offsetof(Network, stacked_netdev_names)
66 Network.L2TP, config_parse_stacked_netdev, NETDEV_KIND_L2TP, offsetof(Network, stacked_netdev_names)
67 Network.MACsec, config_parse_stacked_netdev, NETDEV_KIND_MACSEC, offsetof(Network, stacked_netdev_names)
68 Network.Tunnel, config_parse_stacked_netdev, _NETDEV_KIND_TUNNEL, offsetof(Network, stacked_netdev_names)
69 Network.Xfrm, config_parse_stacked_netdev, NETDEV_KIND_XFRM, offsetof(Network, stacked_netdev_names)
70 Network.VRF, config_parse_ifname, 0, offsetof(Network, vrf_name)
71 Network.DHCP, config_parse_dhcp, 0, offsetof(Network, dhcp)
72 Network.DHCPServer, config_parse_bool, 0, offsetof(Network, dhcp_server)
73 Network.LinkLocalAddressing, config_parse_link_local_address_family, 0, offsetof(Network, link_local)
74 Network.IPv4LLRoute, config_parse_bool, 0, offsetof(Network, ipv4ll_route)
75 Network.DefaultRouteOnDevice, config_parse_bool, 0, offsetof(Network, default_route_on_device)
76 Network.IPv6Token, config_parse_address_generation_type, 0, 0
77 Network.LLDP, config_parse_lldp_mode, 0, offsetof(Network, lldp_mode)
78 Network.EmitLLDP, config_parse_lldp_emit, 0, offsetof(Network, lldp_emit)
79 Network.Address, config_parse_address, 0, 0
80 Network.Gateway, config_parse_gateway, 0, 0
81 Network.Domains, config_parse_domains, 0, 0
82 Network.DNS, config_parse_dns, 0, 0
83 Network.DNSDefaultRoute, config_parse_tristate, 0, offsetof(Network, dns_default_route)
84 Network.LLMNR, config_parse_resolve_support, 0, offsetof(Network, llmnr)
85 Network.MulticastDNS, config_parse_resolve_support, 0, offsetof(Network, mdns)
86 Network.DNSOverTLS, config_parse_dns_over_tls_mode, 0, offsetof(Network, dns_over_tls_mode)
87 Network.DNSSEC, config_parse_dnssec_mode, 0, offsetof(Network, dnssec_mode)
88 Network.DNSSECNegativeTrustAnchors, config_parse_dnssec_negative_trust_anchors, 0, 0
89 Network.NTP, config_parse_ntp, 0, offsetof(Network, ntp)
90 Network.IPForward, config_parse_address_family_with_kernel, 0, offsetof(Network, ip_forward)
91 Network.IPMasquerade, config_parse_bool, 0, offsetof(Network, ip_masquerade)
92 Network.IPv6PrivacyExtensions, config_parse_ipv6_privacy_extensions, 0, offsetof(Network, ipv6_privacy_extensions)
93 Network.IPv6AcceptRA, config_parse_tristate, 0, offsetof(Network, ipv6_accept_ra)
94 Network.IPv6AcceptRouterAdvertisements, config_parse_tristate, 0, offsetof(Network, ipv6_accept_ra)
95 Network.IPv6DuplicateAddressDetection, config_parse_int, 0, offsetof(Network, ipv6_dad_transmits)
96 Network.IPv6HopLimit, config_parse_int, 0, offsetof(Network, ipv6_hop_limit)
97 Network.IPv6ProxyNDP, config_parse_tristate, 0, offsetof(Network, ipv6_proxy_ndp)
98 Network.IPv6MTUBytes, config_parse_mtu, AF_INET6, offsetof(Network, ipv6_mtu)
99 Network.IPv4AcceptLocal, config_parse_tristate, 0, offsetof(Network, ipv4_accept_local)
100 Network.ActiveSlave, config_parse_bool, 0, offsetof(Network, active_slave)
101 Network.PrimarySlave, config_parse_bool, 0, offsetof(Network, primary_slave)
102 Network.IPv4ProxyARP, config_parse_tristate, 0, offsetof(Network, proxy_arp)
103 Network.ProxyARP, config_parse_tristate, 0, offsetof(Network, proxy_arp)
104 Network.IPv6ProxyNDPAddress, config_parse_ipv6_proxy_ndp_address, 0, 0
105 Network.BindCarrier, config_parse_strv, 0, offsetof(Network, bind_carrier)
106 Network.ConfigureWithoutCarrier, config_parse_bool, 0, offsetof(Network, configure_without_carrier)
107 Network.IgnoreCarrierLoss, config_parse_tristate, 0, offsetof(Network, ignore_carrier_loss)
108 Network.KeepConfiguration, config_parse_keep_configuration, 0, offsetof(Network, keep_configuration)
109 Address.Address, config_parse_address, 0, 0
110 Address.Peer, config_parse_address, 0, 0
111 Address.Broadcast, config_parse_broadcast, 0, 0
112 Address.Label, config_parse_label, 0, 0
113 Address.PreferredLifetime, config_parse_lifetime, 0, 0
114 Address.HomeAddress, config_parse_address_flags, 0, 0
115 Address.ManageTemporaryAddress, config_parse_address_flags, 0, 0
116 Address.PrefixRoute, config_parse_address_flags, 0, 0 /* deprecated */
117 Address.AddPrefixRoute, config_parse_address_flags, 0, 0
118 Address.AutoJoin, config_parse_address_flags, 0, 0
119 Address.DuplicateAddressDetection, config_parse_duplicate_address_detection, 0, 0
120 Address.Scope, config_parse_address_scope, 0, 0
121 IPv6AddressLabel.Prefix, config_parse_address_label_prefix, 0, 0
122 IPv6AddressLabel.Label, config_parse_address_label, 0, 0
123 Neighbor.Address, config_parse_neighbor_address, 0, 0
124 Neighbor.LinkLayerAddress, config_parse_neighbor_lladdr, 0, 0
125 Neighbor.MACAddress, config_parse_neighbor_hwaddr, 0, 0 /* deprecated */
126 RoutingPolicyRule.TypeOfService, config_parse_routing_policy_rule_tos, 0, 0
127 RoutingPolicyRule.Priority, config_parse_routing_policy_rule_priority, 0, 0
128 RoutingPolicyRule.Table, config_parse_routing_policy_rule_table, 0, 0
129 RoutingPolicyRule.FirewallMark, config_parse_routing_policy_rule_fwmark_mask, 0, 0
130 RoutingPolicyRule.From, config_parse_routing_policy_rule_prefix, 0, 0
131 RoutingPolicyRule.To, config_parse_routing_policy_rule_prefix, 0, 0
132 RoutingPolicyRule.IncomingInterface, config_parse_routing_policy_rule_device, 0, 0
133 RoutingPolicyRule.OutgoingInterface, config_parse_routing_policy_rule_device, 0, 0
134 RoutingPolicyRule.IPProtocol, config_parse_routing_policy_rule_ip_protocol, 0, 0
135 RoutingPolicyRule.SourcePort, config_parse_routing_policy_rule_port_range, 0, 0
136 RoutingPolicyRule.DestinationPort, config_parse_routing_policy_rule_port_range, 0, 0
137 RoutingPolicyRule.InvertRule, config_parse_routing_policy_rule_invert, 0, 0
138 RoutingPolicyRule.Family, config_parse_routing_policy_rule_family, 0, 0
139 RoutingPolicyRule.User, config_parse_routing_policy_rule_uid_range, 0, 0
140 RoutingPolicyRule.SuppressPrefixLength, config_parse_routing_policy_rule_suppress_prefixlen, 0, 0
141 Route.Gateway, config_parse_gateway, 0, 0
142 Route.Destination, config_parse_destination, 0, 0
143 Route.Source, config_parse_destination, 0, 0
144 Route.Metric, config_parse_route_priority, 0, 0
145 Route.Scope, config_parse_route_scope, 0, 0
146 Route.PreferredSource, config_parse_preferred_src, 0, 0
147 Route.Table, config_parse_route_table, 0, 0
148 Route.MTUBytes, config_parse_route_mtu, AF_UNSPEC, 0
149 Route.GatewayOnLink, config_parse_gateway_onlink, 0, 0
150 Route.GatewayOnlink, config_parse_gateway_onlink, 0, 0
151 Route.IPv6Preference, config_parse_ipv6_route_preference, 0, 0
152 Route.Protocol, config_parse_route_protocol, 0, 0
153 Route.Type, config_parse_route_type, 0, 0
154 Route.InitialCongestionWindow, config_parse_tcp_window, 0, 0
155 Route.InitialAdvertisedReceiveWindow, config_parse_tcp_window, 0, 0
156 Route.QuickAck, config_parse_quickack, 0, 0
157 Route.FastOpenNoCookie, config_parse_fast_open_no_cookie, 0, 0
158 Route.TTLPropagate, config_parse_route_ttl_propagate, 0, 0
159 Route.MultiPathRoute, config_parse_multipath_route, 0, 0
160 NextHop.Id, config_parse_nexthop_id, 0, 0
161 NextHop.Gateway, config_parse_nexthop_gateway, 0, 0
162 DHCPv4.ClientIdentifier, config_parse_dhcp_client_identifier, 0, offsetof(Network, dhcp_client_identifier)
163 DHCPv4.UseDNS, config_parse_dhcp_use_dns, 0, 0
164 DHCPv4.RoutesToDNS, config_parse_bool, 0, offsetof(Network, dhcp_routes_to_dns)
165 DHCPv4.UseNTP, config_parse_dhcp_use_ntp, 0, 0
166 DHCPv4.UseSIP, config_parse_bool, 0, offsetof(Network, dhcp_use_sip)
167 DHCPv4.UseMTU, config_parse_bool, 0, offsetof(Network, dhcp_use_mtu)
168 DHCPv4.UseHostname, config_parse_bool, 0, offsetof(Network, dhcp_use_hostname)
169 DHCPv4.UseDomains, config_parse_dhcp_use_domains, 0, offsetof(Network, dhcp_use_domains)
170 DHCPv4.UseRoutes, config_parse_bool, 0, offsetof(Network, dhcp_use_routes)
171 DHCPv4.UseGateway, config_parse_tristate, 0, offsetof(Network, dhcp_use_gateway)
172 DHCPv4.RequestOptions, config_parse_dhcp_request_options, AF_INET, 0
173 DHCPv4.Anonymize, config_parse_bool, 0, offsetof(Network, dhcp_anonymize)
174 DHCPv4.SendHostname, config_parse_bool, 0, offsetof(Network, dhcp_send_hostname)
175 DHCPv4.Hostname, config_parse_hostname, 0, offsetof(Network, dhcp_hostname)
176 DHCPv4.RequestBroadcast, config_parse_bool, 0, offsetof(Network, dhcp_broadcast)
177 DHCPv4.VendorClassIdentifier, config_parse_string, 0, offsetof(Network, dhcp_vendor_class_identifier)
178 DHCPv4.MUDURL, config_parse_dhcp_mud_url, 0, 0
179 DHCPv4.MaxAttempts, config_parse_dhcp_max_attempts, 0, 0
180 DHCPv4.UserClass, config_parse_dhcp_user_class, AF_INET, offsetof(Network, dhcp_user_class)
181 DHCPv4.DUIDType, config_parse_duid_type, 0, offsetof(Network, duid)
182 DHCPv4.DUIDRawData, config_parse_duid_rawdata, 0, offsetof(Network, duid)
183 DHCPv4.RouteMetric, config_parse_dhcp_route_metric, 0, 0
184 DHCPv4.RouteTable, config_parse_section_route_table, 0, 0
185 DHCPv4.UseTimezone, config_parse_bool, 0, offsetof(Network, dhcp_use_timezone)
186 DHCPv4.IAID, config_parse_iaid, 0, 0
187 DHCPv4.ListenPort, config_parse_uint16, 0, offsetof(Network, dhcp_client_port)
188 DHCPv4.SendRelease, config_parse_bool, 0, offsetof(Network, dhcp_send_release)
189 DHCPv4.SendDecline, config_parse_bool, 0, offsetof(Network, dhcp_send_decline)
190 DHCPv4.BlackList, config_parse_dhcp_black_listed_ip_address, 0, 0
191 DHCPv4.IPServiceType, config_parse_dhcp_ip_service_type, 0, offsetof(Network, ip_service_type)
192 DHCPv4.SendOption, config_parse_dhcp_send_option, AF_INET, offsetof(Network, dhcp_client_send_options)
193 DHCPv4.SendVendorOption, config_parse_dhcp_send_option, 0, offsetof(Network, dhcp_client_send_vendor_options)
194 DHCPv4.RouteMTUBytes, config_parse_mtu, AF_INET, offsetof(Network, dhcp_route_mtu)
195 DHCPv4.FallbackLeaseLifetimeSec, config_parse_dhcp_fallback_lease_lifetime, 0, 0
196 DHCPv6.UseDNS, config_parse_dhcp_use_dns, 0, 0
197 DHCPv6.UseNTP, config_parse_dhcp_use_ntp, 0, 0
198 DHCPv6.RapidCommit, config_parse_bool, 0, offsetof(Network, rapid_commit)
199 DHCPv6.MUDURL, config_parse_dhcp6_mud_url, 0, 0
200 DHCPv6.RequestOptions, config_parse_dhcp_request_options, AF_INET6, 0
201 DHCPv6.UserClass, config_parse_dhcp_user_class, AF_INET6, offsetof(Network, dhcp6_user_class)
202 DHCPv6.VendorClass, config_parse_dhcp_vendor_class, 0, offsetof(Network, dhcp6_vendor_class)
203 DHCPv6.SendVendorOption, config_parse_dhcp_send_option, AF_INET6, offsetof(Network, dhcp6_client_send_vendor_options)
204 DHCPv6.ForceDHCPv6PDOtherInformation, config_parse_bool, 0, offsetof(Network, dhcp6_force_pd_other_information)
205 DHCPv6.AssignAcquiredDelegatedPrefixAddress, config_parse_bool, 0, offsetof(Network, dhcp6_pd_assign_prefix)
206 DHCPv6.AssignAcquiredDelegatedPrefixToken, config_parse_dhcp6_delegated_prefix_token, 0, 0
207 DHCPv6.PrefixDelegationHint, config_parse_dhcp6_pd_hint, 0, 0
208 DHCPv6.WithoutRA, config_parse_bool, 0, offsetof(Network, dhcp6_without_ra)
209 DHCPv6.SendOption, config_parse_dhcp_send_option, AF_INET6, offsetof(Network, dhcp6_client_send_options)
210 DHCPv6.RouteMetric, config_parse_dhcp_route_metric, 0, 0
211 IPv6AcceptRA.UseAutonomousPrefix, config_parse_bool, 0, offsetof(Network, ipv6_accept_ra_use_autonomous_prefix)
212 IPv6AcceptRA.UseOnLinkPrefix, config_parse_bool, 0, offsetof(Network, ipv6_accept_ra_use_onlink_prefix)
213 IPv6AcceptRA.UseDNS, config_parse_bool, 0, offsetof(Network, ipv6_accept_ra_use_dns)
214 IPv6AcceptRA.UseDomains, config_parse_dhcp_use_domains, 0, offsetof(Network, ipv6_accept_ra_use_domains)
215 IPv6AcceptRA.DHCPv6Client, config_parse_ipv6_accept_ra_start_dhcp6_client, 0, offsetof(Network, ipv6_accept_ra_start_dhcp6_client)
216 IPv6AcceptRA.RouteTable, config_parse_section_route_table, 0, 0
217 IPv6AcceptRA.BlackList, config_parse_ndisc_black_listed_prefix, 0, 0
218 DHCPServer.MaxLeaseTimeSec, config_parse_sec, 0, offsetof(Network, dhcp_server_max_lease_time_usec)
219 DHCPServer.DefaultLeaseTimeSec, config_parse_sec, 0, offsetof(Network, dhcp_server_default_lease_time_usec)
220 DHCPServer.EmitDNS, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_DNS].emit)
221 DHCPServer.DNS, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_DNS])
222 DHCPServer.EmitNTP, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_NTP].emit)
223 DHCPServer.NTP, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_NTP])
224 DHCPServer.EmitSIP, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_SIP].emit)
225 DHCPServer.SIP, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_SIP])
226 DHCPServer.EmitPOP3, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_POP3].emit)
227 DHCPServer.POP3, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_POP3])
228 DHCPServer.EmitSMTP, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_SMTP].emit)
229 DHCPServer.SMTP, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_SMTP])
230 DHCPServer.EmitLPR, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_LPR].emit)
231 DHCPServer.LPR, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_LPR])
232 DHCPServer.EmitRouter, config_parse_bool, 0, offsetof(Network, dhcp_server_emit_router)
233 DHCPServer.EmitTimezone, config_parse_bool, 0, offsetof(Network, dhcp_server_emit_timezone)
234 DHCPServer.Timezone, config_parse_timezone, 0, offsetof(Network, dhcp_server_timezone)
235 DHCPServer.PoolOffset, config_parse_uint32, 0, offsetof(Network, dhcp_server_pool_offset)
236 DHCPServer.PoolSize, config_parse_uint32, 0, offsetof(Network, dhcp_server_pool_size)
237 DHCPServer.SendVendorOption, config_parse_dhcp_send_option, 0, offsetof(Network, dhcp_server_send_vendor_options)
238 DHCPServer.SendOption, config_parse_dhcp_send_option, 0, offsetof(Network, dhcp_server_send_options)
239 Bridge.Cost, config_parse_uint32, 0, offsetof(Network, cost)
240 Bridge.UseBPDU, config_parse_tristate, 0, offsetof(Network, use_bpdu)
241 Bridge.HairPin, config_parse_tristate, 0, offsetof(Network, hairpin)
242 Bridge.FastLeave, config_parse_tristate, 0, offsetof(Network, fast_leave)
243 Bridge.AllowPortToBeRoot, config_parse_tristate, 0, offsetof(Network, allow_port_to_be_root)
244 Bridge.UnicastFlood, config_parse_tristate, 0, offsetof(Network, unicast_flood)
245 Bridge.MulticastFlood, config_parse_tristate, 0, offsetof(Network, multicast_flood)
246 Bridge.MulticastToUnicast, config_parse_tristate, 0, offsetof(Network, multicast_to_unicast)
247 Bridge.NeighborSuppression, config_parse_tristate, 0, offsetof(Network, neighbor_suppression)
248 Bridge.Learning, config_parse_tristate, 0, offsetof(Network, learning)
249 Bridge.ProxyARP, config_parse_tristate, 0, offsetof(Network, bridge_proxy_arp)
250 Bridge.ProxyARPWiFi, config_parse_tristate, 0, offsetof(Network, bridge_proxy_arp_wifi)
251 Bridge.Priority, config_parse_bridge_port_priority, 0, offsetof(Network, priority)
252 Bridge.MulticastRouter, config_parse_multicast_router, 0, offsetof(Network, multicast_router)
253 BridgeFDB.MACAddress, config_parse_fdb_hwaddr, 0, 0
254 BridgeFDB.VLANId, config_parse_fdb_vlan_id, 0, 0
255 BridgeFDB.Destination, config_parse_fdb_destination, 0, 0
256 BridgeFDB.VNI, config_parse_fdb_vxlan_vni, 0, 0
257 BridgeFDB.AssociatedWith, config_parse_fdb_ntf_flags, 0, 0
258 BridgeVLAN.PVID, config_parse_brvlan_pvid, 0, 0
259 BridgeVLAN.VLAN, config_parse_brvlan_vlan, 0, 0
260 BridgeVLAN.EgressUntagged, config_parse_brvlan_untagged, 0, 0
261 Network.IPv6PrefixDelegation, config_parse_router_prefix_delegation, 0, 0
262 Network.IPv6PDSubnetId, config_parse_router_prefix_subnet_id, 0, 0
263 IPv6PrefixDelegation.RouterLifetimeSec, config_parse_sec, 0, offsetof(Network, router_lifetime_usec)
264 IPv6PrefixDelegation.Managed, config_parse_bool, 0, offsetof(Network, router_managed)
265 IPv6PrefixDelegation.OtherInformation, config_parse_bool, 0, offsetof(Network, router_other_information)
266 IPv6PrefixDelegation.RouterPreference, config_parse_router_preference, 0, 0
267 IPv6PrefixDelegation.EmitDNS, config_parse_bool, 0, offsetof(Network, router_emit_dns)
268 IPv6PrefixDelegation.DNS, config_parse_radv_dns, 0, 0
269 IPv6PrefixDelegation.EmitDomains, config_parse_bool, 0, offsetof(Network, router_emit_domains)
270 IPv6PrefixDelegation.Domains, config_parse_radv_search_domains, 0, 0
271 IPv6PrefixDelegation.DNSLifetimeSec, config_parse_sec, 0, offsetof(Network, router_dns_lifetime_usec)
272 IPv6Prefix.Prefix, config_parse_prefix, 0, 0
273 IPv6Prefix.OnLink, config_parse_prefix_flags, 0, 0
274 IPv6Prefix.AddressAutoconfiguration, config_parse_prefix_flags, 0, 0
275 IPv6Prefix.ValidLifetimeSec, config_parse_prefix_lifetime, 0, 0
276 IPv6Prefix.PreferredLifetimeSec, config_parse_prefix_lifetime, 0, 0
277 IPv6Prefix.Assign, config_parse_prefix_assign, 0, 0
278 IPv6RoutePrefix.Route, config_parse_route_prefix, 0, 0
279 IPv6RoutePrefix.LifetimeSec, config_parse_route_prefix_lifetime, 0, 0
280 LLDP.MUDURL, config_parse_lldp_mud, 0, 0
281 CAN.BitRate, config_parse_can_bitrate, 0, offsetof(Network, can_bitrate)
282 CAN.SamplePoint, config_parse_permille, 0, offsetof(Network, can_sample_point)
283 CAN.DataBitRate, config_parse_can_bitrate, 0, offsetof(Network, can_data_bitrate)
284 CAN.DataSamplePoint, config_parse_permille, 0, offsetof(Network, can_data_sample_point)
285 CAN.FDMode, config_parse_tristate, 0, offsetof(Network, can_fd_mode)
286 CAN.FDNonISO, config_parse_tristate, 0, offsetof(Network, can_non_iso)
287 CAN.RestartSec, config_parse_sec, 0, offsetof(Network, can_restart_us)
288 CAN.TripleSampling, config_parse_tristate, 0, offsetof(Network, can_triple_sampling)
289 CAN.Termination, config_parse_tristate, 0, offsetof(Network, can_termination)
290 CAN.ListenOnly, config_parse_tristate, 0, offsetof(Network, can_listen_only)
291 QDisc.Parent, config_parse_qdisc_parent, _QDISC_KIND_INVALID, 0
292 QDisc.Handle, config_parse_qdisc_handle, _QDISC_KIND_INVALID, 0
293 BFIFO.Parent, config_parse_qdisc_parent, QDISC_KIND_BFIFO, 0
294 BFIFO.Handle, config_parse_qdisc_handle, QDISC_KIND_BFIFO, 0
295 BFIFO.LimitSize, config_parse_bfifo_size, QDISC_KIND_BFIFO, 0
296 CAKE.Parent, config_parse_qdisc_parent, QDISC_KIND_CAKE, 0
297 CAKE.Handle, config_parse_qdisc_handle, QDISC_KIND_CAKE, 0
298 CAKE.Bandwidth, config_parse_cake_bandwidth, QDISC_KIND_CAKE, 0
299 CAKE.Overhead, config_parse_cake_overhead, QDISC_KIND_CAKE, 0
300 ControlledDelay.Parent, config_parse_qdisc_parent, QDISC_KIND_CODEL, 0
301 ControlledDelay.Handle, config_parse_qdisc_handle, QDISC_KIND_CODEL, 0
302 ControlledDelay.PacketLimit, config_parse_controlled_delay_u32, QDISC_KIND_CODEL, 0
303 ControlledDelay.TargetSec, config_parse_controlled_delay_usec, QDISC_KIND_CODEL, 0
304 ControlledDelay.IntervalSec, config_parse_controlled_delay_usec, QDISC_KIND_CODEL, 0
305 ControlledDelay.CEThresholdSec, config_parse_controlled_delay_usec, QDISC_KIND_CODEL, 0
306 ControlledDelay.ECN, config_parse_controlled_delay_bool, QDISC_KIND_CODEL, 0
307 DeficitRoundRobinScheduler.Parent, config_parse_qdisc_parent, QDISC_KIND_DRR, 0
308 DeficitRoundRobinScheduler.Handle, config_parse_qdisc_handle, QDISC_KIND_DRR, 0
309 DeficitRoundRobinSchedulerClass.Parent, config_parse_tclass_parent, TCLASS_KIND_DRR, 0
310 DeficitRoundRobinSchedulerClass.ClassId, config_parse_tclass_classid, TCLASS_KIND_DRR, 0
311 DeficitRoundRobinSchedulerClass.Quantum, config_parse_drr_size, TCLASS_KIND_DRR, 0
312 EnhancedTransmissionSelection.Parent, config_parse_qdisc_parent, QDISC_KIND_ETS, 0
313 EnhancedTransmissionSelection.Handle, config_parse_qdisc_handle, QDISC_KIND_ETS, 0
314 EnhancedTransmissionSelection.Bands, config_parse_ets_u8, QDISC_KIND_ETS, 0
315 EnhancedTransmissionSelection.StrictBands, config_parse_ets_u8, QDISC_KIND_ETS, 0
316 EnhancedTransmissionSelection.QuantumBytes, config_parse_ets_quanta, QDISC_KIND_ETS, 0
317 EnhancedTransmissionSelection.PriorityMap, config_parse_ets_prio, QDISC_KIND_ETS, 0
318 PFIFO.Parent, config_parse_qdisc_parent, QDISC_KIND_PFIFO, 0
319 PFIFO.Handle, config_parse_qdisc_handle, QDISC_KIND_PFIFO, 0
320 PFIFO.PacketLimit, config_parse_pfifo_size, QDISC_KIND_PFIFO, 0
321 PFIFOFast.Parent, config_parse_qdisc_parent, QDISC_KIND_PFIFO_FAST, 0
322 PFIFOFast.Handle, config_parse_qdisc_handle, QDISC_KIND_PFIFO_FAST, 0
323 PFIFOHeadDrop.Parent, config_parse_qdisc_parent, QDISC_KIND_PFIFO_HEAD_DROP, 0
324 PFIFOHeadDrop.Handle, config_parse_qdisc_handle, QDISC_KIND_PFIFO_HEAD_DROP, 0
325 PFIFOHeadDrop.PacketLimit, config_parse_pfifo_size, QDISC_KIND_PFIFO_HEAD_DROP, 0
326 QuickFairQueueing.Parent, config_parse_qdisc_parent, QDISC_KIND_QFQ, 0
327 QuickFairQueueing.Handle, config_parse_qdisc_handle, QDISC_KIND_QFQ, 0
328 QuickFairQueueingClass.Parent, config_parse_tclass_parent, TCLASS_KIND_QFQ, 0
329 QuickFairQueueingClass.ClassId, config_parse_tclass_classid, TCLASS_KIND_QFQ, 0
330 QuickFairQueueingClass.Weight, config_parse_quick_fair_queueing_weight, TCLASS_KIND_QFQ, 0
331 QuickFairQueueingClass.MaxPacketSize, config_parse_quick_fair_queueing_max_packet, TCLASS_KIND_QFQ, 0
332 FairQueueing.Parent, config_parse_qdisc_parent, QDISC_KIND_FQ, 0
333 FairQueueing.Handle, config_parse_qdisc_handle, QDISC_KIND_FQ, 0
334 FairQueueing.PacketLimit, config_parse_fair_queueing_u32, QDISC_KIND_FQ, 0
335 FairQueueing.FlowLimit, config_parse_fair_queueing_u32, QDISC_KIND_FQ, 0
336 FairQueueing.Quantum, config_parse_fair_queueing_size, QDISC_KIND_FQ, 0
337 FairQueueing.InitialQuantum, config_parse_fair_queueing_size, QDISC_KIND_FQ, 0
338 FairQueueing.MaximumRate, config_parse_fair_queueing_max_rate, QDISC_KIND_FQ, 0
339 FairQueueing.Buckets, config_parse_fair_queueing_u32, QDISC_KIND_FQ, 0
340 FairQueueing.OrphanMask, config_parse_fair_queueing_u32, QDISC_KIND_FQ, 0
341 FairQueueing.Pacing, config_parse_fair_queueing_bool, QDISC_KIND_FQ, 0
342 FairQueueing.CEThresholdSec, config_parse_fair_queueing_usec, QDISC_KIND_FQ, 0
343 FairQueueingControlledDelay.Parent, config_parse_qdisc_parent, QDISC_KIND_FQ_CODEL, 0
344 FairQueueingControlledDelay.Handle, config_parse_qdisc_handle, QDISC_KIND_FQ_CODEL, 0
345 FairQueueingControlledDelay.PacketLimit, config_parse_fair_queueing_controlled_delay_u32, QDISC_KIND_FQ_CODEL, 0
346 FairQueueingControlledDelay.MemoryLimit, config_parse_fair_queueing_controlled_delay_size, QDISC_KIND_FQ_CODEL, 0
347 FairQueueingControlledDelay.Flows, config_parse_fair_queueing_controlled_delay_u32, QDISC_KIND_FQ_CODEL, 0
348 FairQueueingControlledDelay.Quantum, config_parse_fair_queueing_controlled_delay_size, QDISC_KIND_FQ_CODEL, 0
349 FairQueueingControlledDelay.TargetSec, config_parse_fair_queueing_controlled_delay_usec, QDISC_KIND_FQ_CODEL, 0
350 FairQueueingControlledDelay.IntervalSec, config_parse_fair_queueing_controlled_delay_usec, QDISC_KIND_FQ_CODEL, 0
351 FairQueueingControlledDelay.CEThresholdSec, config_parse_fair_queueing_controlled_delay_usec, QDISC_KIND_FQ_CODEL, 0
352 FairQueueingControlledDelay.ECN, config_parse_fair_queueing_controlled_delay_bool, QDISC_KIND_FQ_CODEL, 0
353 GenericRandomEarlyDetection.Parent, config_parse_qdisc_parent, QDISC_KIND_GRED, 0
354 GenericRandomEarlyDetection.Handle, config_parse_qdisc_handle, QDISC_KIND_GRED, 0
355 GenericRandomEarlyDetection.VirtualQueues, config_parse_generic_random_early_detection_u32, QDISC_KIND_GRED, 0
356 GenericRandomEarlyDetection.DefaultVirtualQueue, config_parse_generic_random_early_detection_u32, QDISC_KIND_GRED, 0
357 GenericRandomEarlyDetection.GenericRIO, config_parse_generic_random_early_detection_bool, QDISC_KIND_GRED, 0
358 HeavyHitterFilter.Parent, config_parse_qdisc_parent, QDISC_KIND_HHF, 0
359 HeavyHitterFilter.Handle, config_parse_qdisc_handle, QDISC_KIND_HHF, 0
360 HeavyHitterFilter.PacketLimit, config_parse_heavy_hitter_filter_packet_limit, QDISC_KIND_HHF, 0
361 HierarchyTokenBucket.Parent, config_parse_qdisc_parent, QDISC_KIND_HTB, 0
362 HierarchyTokenBucket.Handle, config_parse_qdisc_handle, QDISC_KIND_HTB, 0
363 HierarchyTokenBucket.DefaultClass, config_parse_hierarchy_token_bucket_default_class, QDISC_KIND_HTB, 0
364 HierarchyTokenBucket.RateToQuantum, config_parse_hierarchy_token_bucket_u32, QDISC_KIND_HTB, 0
365 HierarchyTokenBucketClass.Parent, config_parse_tclass_parent, TCLASS_KIND_HTB, 0
366 HierarchyTokenBucketClass.ClassId, config_parse_tclass_classid, TCLASS_KIND_HTB, 0
367 HierarchyTokenBucketClass.Priority, config_parse_hierarchy_token_bucket_class_u32, TCLASS_KIND_HTB, 0
368 HierarchyTokenBucketClass.QuantumBytes, config_parse_hierarchy_token_bucket_class_size, TCLASS_KIND_HTB, 0
369 HierarchyTokenBucketClass.MTUBytes, config_parse_hierarchy_token_bucket_class_size, TCLASS_KIND_HTB, 0
370 HierarchyTokenBucketClass.OverheadBytes, config_parse_hierarchy_token_bucket_class_size, TCLASS_KIND_HTB, 0
371 HierarchyTokenBucketClass.Rate, config_parse_hierarchy_token_bucket_class_rate, TCLASS_KIND_HTB, 0
372 HierarchyTokenBucketClass.CeilRate, config_parse_hierarchy_token_bucket_class_rate, TCLASS_KIND_HTB, 0
373 HierarchyTokenBucketClass.BufferBytes, config_parse_hierarchy_token_bucket_class_size, TCLASS_KIND_HTB, 0
374 HierarchyTokenBucketClass.CeilBufferBytes, config_parse_hierarchy_token_bucket_class_size, TCLASS_KIND_HTB, 0
375 NetworkEmulator.Parent, config_parse_qdisc_parent, QDISC_KIND_NETEM, 0
376 NetworkEmulator.Handle, config_parse_qdisc_handle, QDISC_KIND_NETEM, 0
377 NetworkEmulator.DelaySec, config_parse_network_emulator_delay, QDISC_KIND_NETEM, 0
378 NetworkEmulator.DelayJitterSec, config_parse_network_emulator_delay, QDISC_KIND_NETEM, 0
379 NetworkEmulator.LossRate, config_parse_network_emulator_rate, QDISC_KIND_NETEM, 0
380 NetworkEmulator.DuplicateRate, config_parse_network_emulator_rate, QDISC_KIND_NETEM, 0
381 NetworkEmulator.PacketLimit, config_parse_network_emulator_packet_limit, QDISC_KIND_NETEM, 0
382 PIE.Parent, config_parse_qdisc_parent, QDISC_KIND_PIE, 0
383 PIE.Handle, config_parse_qdisc_handle, QDISC_KIND_PIE, 0
384 PIE.PacketLimit, config_parse_pie_packet_limit, QDISC_KIND_PIE, 0
385 StochasticFairBlue.Parent, config_parse_qdisc_parent, QDISC_KIND_SFB, 0
386 StochasticFairBlue.Handle, config_parse_qdisc_handle, QDISC_KIND_SFB, 0
387 StochasticFairBlue.PacketLimit, config_parse_stochastic_fair_blue_u32, QDISC_KIND_SFB, 0
388 StochasticFairnessQueueing.Parent, config_parse_qdisc_parent, QDISC_KIND_SFQ, 0
389 StochasticFairnessQueueing.Handle, config_parse_qdisc_handle, QDISC_KIND_SFQ, 0
390 StochasticFairnessQueueing.PerturbPeriodSec, config_parse_stochastic_fairness_queueing_perturb_period, QDISC_KIND_SFQ, 0
391 TokenBucketFilter.Parent, config_parse_qdisc_parent, QDISC_KIND_TBF, 0
392 TokenBucketFilter.Handle, config_parse_qdisc_handle, QDISC_KIND_TBF, 0
393 TokenBucketFilter.Rate, config_parse_token_bucket_filter_size, QDISC_KIND_TBF, 0
394 TokenBucketFilter.Burst, config_parse_token_bucket_filter_size, QDISC_KIND_TBF, 0
395 TokenBucketFilter.LimitSize, config_parse_token_bucket_filter_size, QDISC_KIND_TBF, 0
396 TokenBucketFilter.MTUBytes, config_parse_token_bucket_filter_size, QDISC_KIND_TBF, 0
397 TokenBucketFilter.MPUBytes, config_parse_token_bucket_filter_size, QDISC_KIND_TBF, 0
398 TokenBucketFilter.PeakRate, config_parse_token_bucket_filter_size, QDISC_KIND_TBF, 0
399 TokenBucketFilter.LatencySec, config_parse_token_bucket_filter_latency, QDISC_KIND_TBF, 0
400 TrivialLinkEqualizer.Parent, config_parse_qdisc_parent, QDISC_KIND_TEQL, 0
401 TrivialLinkEqualizer.Handle, config_parse_qdisc_handle, QDISC_KIND_TEQL, 0
402 TrivialLinkEqualizer.Id, config_parse_trivial_link_equalizer_id, QDISC_KIND_TEQL, 0
403 /* backwards compatibility: do not add new entries to this section */
404 Network.IPv4LL, config_parse_ipv4ll, 0, offsetof(Network, link_local)
405 DHCP.ClientIdentifier, config_parse_dhcp_client_identifier, 0, offsetof(Network, dhcp_client_identifier)
406 DHCP.UseDNS, config_parse_dhcp_use_dns, 0, 0
407 DHCP.UseNTP, config_parse_dhcp_use_ntp, 0, 0
408 DHCP.UseMTU, config_parse_bool, 0, offsetof(Network, dhcp_use_mtu)
409 DHCP.UseHostname, config_parse_bool, 0, offsetof(Network, dhcp_use_hostname)
410 DHCP.UseDomains, config_parse_dhcp_use_domains, 0, offsetof(Network, dhcp_use_domains)
411 DHCP.UseDomainName, config_parse_dhcp_use_domains, 0, offsetof(Network, dhcp_use_domains)
412 DHCP.UseRoutes, config_parse_bool, 0, offsetof(Network, dhcp_use_routes)
413 DHCP.Anonymize, config_parse_bool, 0, offsetof(Network, dhcp_anonymize)
414 DHCP.SendHostname, config_parse_bool, 0, offsetof(Network, dhcp_send_hostname)
415 DHCP.Hostname, config_parse_hostname, 0, offsetof(Network, dhcp_hostname)
416 DHCP.RequestBroadcast, config_parse_bool, 0, offsetof(Network, dhcp_broadcast)
417 DHCP.CriticalConnection, config_parse_tristate, 0, offsetof(Network, dhcp_critical)
418 DHCP.VendorClassIdentifier, config_parse_string, 0, offsetof(Network, dhcp_vendor_class_identifier)
419 DHCP.UserClass, config_parse_dhcp_user_class, AF_INET, offsetof(Network, dhcp_user_class)
420 DHCP.DUIDType, config_parse_duid_type, 0, offsetof(Network, duid)
421 DHCP.DUIDRawData, config_parse_duid_rawdata, 0, offsetof(Network, duid)
422 DHCP.RouteMetric, config_parse_dhcp_route_metric, 0, 0
423 DHCP.RouteTable, config_parse_section_route_table, 0, 0
424 DHCP.UseTimezone, config_parse_bool, 0, offsetof(Network, dhcp_use_timezone)
425 DHCP.IAID, config_parse_iaid, 0, 0
426 DHCP.ListenPort, config_parse_uint16, 0, offsetof(Network, dhcp_client_port)
427 DHCP.RapidCommit, config_parse_bool, 0, offsetof(Network, rapid_commit)
428 DHCP.ForceDHCPv6PDOtherInformation, config_parse_bool, 0, offsetof(Network, dhcp6_force_pd_other_information)
429 DHCPv4.UseDomainName, config_parse_dhcp_use_domains, 0, offsetof(Network, dhcp_use_domains)
430 DHCPv4.CriticalConnection, config_parse_tristate, 0, offsetof(Network, dhcp_critical)
431 TrafficControlQueueingDiscipline.Parent, config_parse_qdisc_parent, _QDISC_KIND_INVALID, 0
432 TrafficControlQueueingDiscipline.NetworkEmulatorDelaySec, config_parse_network_emulator_delay, 0, 0
433 TrafficControlQueueingDiscipline.NetworkEmulatorDelayJitterSec, config_parse_network_emulator_delay, 0, 0
434 TrafficControlQueueingDiscipline.NetworkEmulatorLossRate, config_parse_network_emulator_rate, 0, 0
435 TrafficControlQueueingDiscipline.NetworkEmulatorDuplicateRate, config_parse_network_emulator_rate, 0, 0
436 TrafficControlQueueingDiscipline.NetworkEmulatorPacketLimit, config_parse_network_emulator_packet_limit, 0, 0