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