]> git.ipfire.org Git - thirdparty/systemd.git/blame - src/network/networkd-network-gperf.gperf
ci: fix workaround about bpftool for codeql
[thirdparty/systemd.git] / src / network / networkd-network-gperf.gperf
CommitLineData
9ee03516 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
c0dda186 2%{
4831981d 3_Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
70923ed3
MY
4#if __GNUC__ >= 15
5_Pragma("GCC diagnostic ignored \"-Wzero-as-null-pointer-constant\"")
6#endif
256c4203 7#include <linux/can/netlink.h>
6fe51dc5 8#include <netinet/icmp6.h>
c0dda186 9#include <stddef.h>
6fe51dc5 10
baa3fadf
DDM
11#include "sd-dhcp-lease.h"
12
13#include "condition.h"
c0dda186 14#include "conf-parser.h"
9d01399d 15#include "in-addr-prefix-util.h"
7e19cc54 16#include "net-condition.h"
256c4203 17#include "netif-sriov.h"
f09a4747 18#include "networkd-address-generation.h"
fb486c90 19#include "networkd-address-label.h"
093e3533 20#include "networkd-address.h"
9671ae9d 21#include "networkd-bridge-fdb.h"
ff9e0783 22#include "networkd-bridge-mdb.h"
74a27268 23#include "networkd-can.h"
ca5ad760 24#include "networkd-dhcp-common.h"
d5ebcf65 25#include "networkd-dhcp-prefix-delegation.h"
c517a49b 26#include "networkd-dhcp-server-static-lease.h"
8fcf1d61 27#include "networkd-dhcp-server.h"
ca5ad760 28#include "networkd-dhcp4.h"
c24dd739 29#include "networkd-dhcp6.h"
54bb2c0e 30#include "networkd-dns.h"
ca5ad760 31#include "networkd-ipv4ll.h"
5823a489 32#include "networkd-ipv6-proxy-ndp.h"
de2f372e 33#include "networkd-ipv6ll.h"
c01b9b87 34#include "networkd-lldp-tx.h"
e520ce64 35#include "networkd-ndisc.h"
23f53b99 36#include "networkd-network.h"
1939ebeb 37#include "networkd-neighbor.h"
75156ccb 38#include "networkd-nexthop.h"
8763e483 39#include "networkd-ntp.h"
b5ce4047 40#include "networkd-radv.h"
e2263711 41#include "networkd-route.h"
ca183bf8 42#include "networkd-routing-policy-rule.h"
737f1405 43#include "qdisc.h"
256c4203 44#include "socket-util.h"
4666f63b 45#include "tclass.h"
72673948
DDM
46
47#include "cake.h"
48#include "codel.h"
49#include "ets.h"
50#include "fifo.h"
51#include "fq-codel.h"
52#include "fq-pie.h"
53#include "fq.h"
54#include "gred.h"
55#include "hhf.h"
56#include "htb.h"
72673948
DDM
57#include "pie.h"
58#include "qfq.h"
59#include "netem.h"
60#include "drr.h"
61#include "sfb.h"
62#include "sfq.h"
63#include "tbf.h"
64#include "teql.h"
c0dda186
TG
65%}
66struct ConfigPerfItem;
67%null_strings
68%language=ANSI-C
69%define slot-name section_and_lvalue
70%define hash-function-name network_network_gperf_hash
71%define lookup-function-name network_network_gperf_lookup
72%readonly-tables
73%omit-struct-type
74%struct-type
75%includes
76%%
f7dffbf8
YW
77Match.MACAddress, config_parse_hw_addrs, 0, offsetof(Network, match.hw_addr)
78Match.PermanentMACAddress, config_parse_hw_addrs, 0, offsetof(Network, match.permanent_hw_addr)
79Match.Path, config_parse_match_strv, 0, offsetof(Network, match.path)
80Match.Driver, config_parse_match_strv, 0, offsetof(Network, match.driver)
81Match.Type, config_parse_match_strv, 0, offsetof(Network, match.iftype)
82Match.Kind, config_parse_match_strv, 0, offsetof(Network, match.kind)
83Match.WLANInterfaceType, config_parse_match_strv, 0, offsetof(Network, match.wlan_iftype)
84Match.SSID, config_parse_match_strv, 0, offsetof(Network, match.ssid)
85Match.BSSID, config_parse_ether_addrs, 0, offsetof(Network, match.bssid)
86Match.Name, config_parse_match_ifnames, IFNAME_VALID_ALTERNATIVE, offsetof(Network, match.ifname)
87Match.Property, config_parse_match_property, 0, offsetof(Network, match.property)
88Match.Host, config_parse_net_condition, CONDITION_HOST, offsetof(Network, conditions)
89Match.Virtualization, config_parse_net_condition, CONDITION_VIRTUALIZATION, offsetof(Network, conditions)
90Match.KernelCommandLine, config_parse_net_condition, CONDITION_KERNEL_COMMAND_LINE, offsetof(Network, conditions)
91Match.KernelVersion, config_parse_net_condition, CONDITION_VERSION, offsetof(Network, conditions)
92Match.Version, config_parse_net_condition, CONDITION_VERSION, offsetof(Network, conditions)
93Match.Credential, config_parse_net_condition, CONDITION_CREDENTIAL, offsetof(Network, conditions)
94Match.Architecture, config_parse_net_condition, CONDITION_ARCHITECTURE, offsetof(Network, conditions)
95Match.Firmware, config_parse_net_condition, CONDITION_FIRMWARE, offsetof(Network, conditions)
96Link.MACAddress, config_parse_hw_addr, 0, offsetof(Network, hw_addr)
97Link.MTUBytes, config_parse_mtu, AF_UNSPEC, offsetof(Network, mtu)
98Link.Group, config_parse_link_group, 0, 0
99Link.ARP, config_parse_tristate, 0, offsetof(Network, arp)
100Link.Multicast, config_parse_tristate, 0, offsetof(Network, multicast)
101Link.AllMulticast, config_parse_tristate, 0, offsetof(Network, allmulticast)
102Link.Promiscuous, config_parse_tristate, 0, offsetof(Network, promiscuous)
103Link.Unmanaged, config_parse_bool, 0, offsetof(Network, unmanaged)
104Link.ActivationPolicy, config_parse_activation_policy, 0, offsetof(Network, activation_policy)
105Link.RequiredForOnline, config_parse_required_for_online, 0, 0
106Link.RequiredFamilyForOnline, config_parse_required_family_for_online, 0, offsetof(Network, required_family_for_online)
107SR-IOV.VirtualFunction, config_parse_sr_iov_uint32, 0, offsetof(Network, sr_iov_by_section)
108SR-IOV.VLANId, config_parse_sr_iov_uint32, 0, offsetof(Network, sr_iov_by_section)
109SR-IOV.QualityOfService, config_parse_sr_iov_uint32, 0, offsetof(Network, sr_iov_by_section)
110SR-IOV.VLANProtocol, config_parse_sr_iov_vlan_proto, 0, offsetof(Network, sr_iov_by_section)
111SR-IOV.MACSpoofCheck, config_parse_sr_iov_boolean, 0, offsetof(Network, sr_iov_by_section)
112SR-IOV.QueryReceiveSideScaling, config_parse_sr_iov_boolean, 0, offsetof(Network, sr_iov_by_section)
113SR-IOV.Trust, config_parse_sr_iov_boolean, 0, offsetof(Network, sr_iov_by_section)
114SR-IOV.LinkState, config_parse_sr_iov_link_state, 0, offsetof(Network, sr_iov_by_section)
115SR-IOV.MACAddress, config_parse_sr_iov_mac, 0, offsetof(Network, sr_iov_by_section)
116Network.Description, config_parse_string, 0, offsetof(Network, description)
117Network.KeepMaster, config_parse_bool, 0, offsetof(Network, keep_master)
118Network.BatmanAdvanced, config_parse_ifname, 0, offsetof(Network, batadv_name)
119Network.Bond, config_parse_ifname, 0, offsetof(Network, bond_name)
120Network.Bridge, config_parse_ifname, 0, offsetof(Network, bridge_name)
121Network.VRF, config_parse_ifname, 0, offsetof(Network, vrf_name)
122Network.IPoIB, config_parse_stacked_netdev, NETDEV_KIND_IPOIB, offsetof(Network, stacked_netdev_names)
123Network.IPVLAN, config_parse_stacked_netdev, NETDEV_KIND_IPVLAN, offsetof(Network, stacked_netdev_names)
124Network.IPVTAP, config_parse_stacked_netdev, NETDEV_KIND_IPVTAP, offsetof(Network, stacked_netdev_names)
125Network.L2TP, config_parse_warn_compat, DISABLED_LEGACY, 0
126Network.MACsec, config_parse_stacked_netdev, NETDEV_KIND_MACSEC, offsetof(Network, stacked_netdev_names)
127Network.MACVLAN, config_parse_stacked_netdev, NETDEV_KIND_MACVLAN, offsetof(Network, stacked_netdev_names)
128Network.MACVTAP, config_parse_stacked_netdev, NETDEV_KIND_MACVTAP, offsetof(Network, stacked_netdev_names)
129Network.Tunnel, config_parse_stacked_netdev, _NETDEV_KIND_TUNNEL, offsetof(Network, stacked_netdev_names)
130Network.VLAN, config_parse_stacked_netdev, NETDEV_KIND_VLAN, offsetof(Network, stacked_netdev_names)
131Network.VXLAN, config_parse_stacked_netdev, NETDEV_KIND_VXLAN, offsetof(Network, stacked_netdev_names)
132Network.Xfrm, config_parse_stacked_netdev, NETDEV_KIND_XFRM, offsetof(Network, stacked_netdev_names)
133Network.DHCP, config_parse_dhcp, 0, offsetof(Network, dhcp)
134Network.DHCPServer, config_parse_bool, 0, offsetof(Network, dhcp_server)
135Network.LinkLocalAddressing, config_parse_link_local_address_family, 0, offsetof(Network, link_local)
136Network.IPv6LinkLocalAddressGenerationMode, config_parse_ipv6_link_local_address_gen_mode, 0, offsetof(Network, ipv6ll_address_gen_mode)
137Network.IPv6StableSecretAddress, config_parse_in_addr_non_null, AF_INET6, offsetof(Network, ipv6ll_stable_secret)
138Network.IPv4LLStartAddress, config_parse_ipv4ll_address, 0, offsetof(Network, ipv4ll_start_address)
139Network.IPv4LLRoute, config_parse_bool, 0, offsetof(Network, ipv4ll_route)
140Network.DefaultRouteOnDevice, config_parse_bool, 0, offsetof(Network, default_route_on_device)
141Network.LLDP, config_parse_lldp_mode, 0, offsetof(Network, lldp_mode)
142Network.EmitLLDP, config_parse_lldp_multicast_mode, 0, offsetof(Network, lldp_multicast_mode)
143Network.Address, config_parse_address_section, ADDRESS_ADDRESS, 0
144Network.Gateway, config_parse_route_section, ROUTE_GATEWAY_NETWORK, 0
145Network.Domains, config_parse_domains, 0, 0
146Network.UseDomains, config_parse_use_domains, 0, offsetof(Network, use_domains)
147Network.DNS, config_parse_dns, 0, 0
148Network.DNSDefaultRoute, config_parse_tristate, 0, offsetof(Network, dns_default_route)
149Network.LLMNR, config_parse_resolve_support, 0, offsetof(Network, llmnr)
150Network.MulticastDNS, config_parse_resolve_support, 0, offsetof(Network, mdns)
151Network.DNSOverTLS, config_parse_dns_over_tls_mode, 0, offsetof(Network, dns_over_tls_mode)
152Network.DNSSEC, config_parse_dnssec_mode, 0, offsetof(Network, dnssec_mode)
153Network.DNSSECNegativeTrustAnchors, config_parse_dnssec_negative_trust_anchors, 0, offsetof(Network, dnssec_negative_trust_anchors)
154Network.NTP, config_parse_ntp, 0, offsetof(Network, ntp)
155Network.IPForward, config_parse_ip_forward_deprecated, 0, 0
156Network.IPv4Forwarding, config_parse_tristate, 0, offsetof(Network, ip_forwarding[0])
157Network.IPv6Forwarding, config_parse_tristate, 0, offsetof(Network, ip_forwarding[1])
158Network.IPMasquerade, config_parse_ip_masquerade, 0, offsetof(Network, ip_masquerade)
159Network.IPv6PrivacyExtensions, config_parse_ipv6_privacy_extensions, 0, offsetof(Network, ipv6_privacy_extensions)
160Network.IPv6AcceptRA, config_parse_tristate, 0, offsetof(Network, ndisc)
161Network.IPv6AcceptRouterAdvertisements, config_parse_tristate, 0, offsetof(Network, ndisc)
162Network.IPv6DuplicateAddressDetection, config_parse_int, 0, offsetof(Network, ipv6_dad_transmits)
163Network.IPv4DuplicateAddressDetectionTimeoutSec, config_parse_sec, 0, offsetof(Network, ipv4_dad_timeout_usec)
164Network.IPv6HopLimit, config_parse_uint8, 0, offsetof(Network, ipv6_hop_limit)
165Network.IPv6RetransmissionTimeSec, config_parse_sec, 0, offsetof(Network, ipv6_retransmission_time)
166Network.IPv6ProxyNDP, config_parse_tristate, 0, offsetof(Network, ipv6_proxy_ndp)
167Network.IPv6MTUBytes, config_parse_mtu, AF_INET6, offsetof(Network, ipv6_mtu)
168Network.IPv4AcceptLocal, config_parse_tristate, 0, offsetof(Network, ipv4_accept_local)
169Network.IPv4RouteLocalnet, config_parse_tristate, 0, offsetof(Network, ipv4_route_localnet)
170Network.ActiveSlave, config_parse_bool, 0, offsetof(Network, active_slave)
171Network.PrimarySlave, config_parse_bool, 0, offsetof(Network, primary_slave)
172Network.IPv4ProxyARP, config_parse_tristate, 0, offsetof(Network, proxy_arp)
173Network.IPv4ProxyARPPrivateVLAN, config_parse_tristate, 0, offsetof(Network, proxy_arp_pvlan)
174Network.ProxyARP, config_parse_tristate, 0, offsetof(Network, proxy_arp)
175Network.IPv6ProxyNDPAddress, config_parse_ipv6_proxy_ndp_address, 0, 0
176Network.IPv4ReversePathFilter, config_parse_ip_reverse_path_filter, 0, offsetof(Network, ipv4_rp_filter)
177Network.MulticastIGMPVersion, config_parse_ipv4_force_igmp_version, 0, offsetof(Network, ipv4_force_igmp_version)
178Network.MPLSRouting, config_parse_tristate, 0, offsetof(Network, mpls_input)
179Network.BindCarrier, config_parse_strv, 0, offsetof(Network, bind_carrier)
180Network.ConfigureWithoutCarrier, config_parse_bool, 0, offsetof(Network, configure_without_carrier)
181Network.IgnoreCarrierLoss, config_parse_ignore_carrier_loss, 0, 0
182Network.KeepConfiguration, config_parse_keep_configuration, 0, offsetof(Network, keep_configuration)
183Network.IPv6SendRA, config_parse_router_prefix_delegation, 0, offsetof(Network, router_prefix_delegation)
184Network.DHCPPrefixDelegation, config_parse_tristate, 0, offsetof(Network, dhcp_pd)
185Address.Address, config_parse_address_section, ADDRESS_ADDRESS, 0
186Address.Peer, config_parse_address_section, ADDRESS_PEER, 0
187Address.Broadcast, config_parse_address_section, ADDRESS_BROADCAST, 0
188Address.Label, config_parse_address_section, ADDRESS_LABEL, 0
189Address.PreferredLifetime, config_parse_address_section, ADDRESS_PREFERRED_LIFETIME, 0
190Address.HomeAddress, config_parse_address_section, ADDRESS_HOME_ADDRESS, 0
191Address.ManageTemporaryAddress, config_parse_address_section, ADDRESS_MANAGE_TEMPORARY_ADDRESS, 0
192Address.PrefixRoute, config_parse_address_section, ADDRESS_PREFIX_ROUTE, 0 /* deprecated */
193Address.AddPrefixRoute, config_parse_address_section, ADDRESS_ADD_PREFIX_ROUTE, 0
194Address.AutoJoin, config_parse_address_section, ADDRESS_AUTO_JOIN, 0
195Address.DuplicateAddressDetection, config_parse_address_section, ADDRESS_DAD, 0
196Address.Scope, config_parse_address_section, ADDRESS_SCOPE, 0
197Address.RouteMetric, config_parse_address_section, ADDRESS_ROUTE_METRIC, 0
198Address.NetLabel, config_parse_address_section, ADDRESS_NET_LABEL, 0
199Address.NFTSet, config_parse_address_section, ADDRESS_NFT_SET, 0
200IPv6AddressLabel.Prefix, config_parse_ipv6_address_label_section, IPV6_ADDRESS_LABEL_PREFIX, 0
201IPv6AddressLabel.Label, config_parse_ipv6_address_label_section, IPV6_ADDRESS_LABEL, 0
202Neighbor.Address, config_parse_neighbor_section, NEIGHBOR_DESTINATION_ADDRESS, 0
203Neighbor.LinkLayerAddress, config_parse_neighbor_section, NEIGHBOR_LINK_LAYER_ADDRESS, 0
204Neighbor.MACAddress, config_parse_neighbor_section, NEIGHBOR_LINK_LAYER_ADDRESS, 0 /* deprecated */
205RoutingPolicyRule.TypeOfService, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_TOS, 0
206RoutingPolicyRule.Priority, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_PRIORITY, 0
207RoutingPolicyRule.GoTo, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_GOTO, 0
208RoutingPolicyRule.Table, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_TABLE, 0
209RoutingPolicyRule.FirewallMark, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_FWMARK, 0
210RoutingPolicyRule.From, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_FROM, 0
211RoutingPolicyRule.To, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_TO, 0
212RoutingPolicyRule.IncomingInterface, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_IIF, 0
213RoutingPolicyRule.OutgoingInterface, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_OIF, 0
214RoutingPolicyRule.IPProtocol, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_IP_PROTOCOL, 0
215RoutingPolicyRule.SourcePort, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_SPORT, 0
216RoutingPolicyRule.DestinationPort, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_DPORT, 0
217RoutingPolicyRule.InvertRule, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_INVERT, 0
218RoutingPolicyRule.L3MasterDevice, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_L3MDEV, 0
219RoutingPolicyRule.Family, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_FAMILY, 0
220RoutingPolicyRule.User, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_UID_RANGE, 0
221RoutingPolicyRule.SuppressInterfaceGroup, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_SUPPRESS_IFGROUP, 0
222RoutingPolicyRule.SuppressPrefixLength, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_SUPPRESS_PREFIXLEN, 0
223RoutingPolicyRule.Type, config_parse_routing_policy_rule, ROUTING_POLICY_RULE_ACTION, 0
224Route.Gateway, config_parse_route_section, ROUTE_GATEWAY, 0
225Route.Destination, config_parse_route_section, ROUTE_DESTINATION, 0
226Route.Source, config_parse_route_section, ROUTE_DESTINATION, 0
227Route.Metric, config_parse_route_section, ROUTE_PRIORITY, 0
228Route.Scope, config_parse_route_section, ROUTE_SCOPE, 0
229Route.PreferredSource, config_parse_route_section, ROUTE_PREFERRED_SOURCE, 0
230Route.Table, config_parse_route_section, ROUTE_TABLE, 0
231Route.GatewayOnLink, config_parse_route_section, ROUTE_GATEWAY_ONLINK, 0
232Route.GatewayOnlink, config_parse_route_section, ROUTE_GATEWAY_ONLINK, 0
233Route.IPv6Preference, config_parse_route_section, ROUTE_PREFERENCE, 0
234Route.Protocol, config_parse_route_section, ROUTE_PROTOCOL, 0
235Route.Type, config_parse_route_section, ROUTE_TYPE, 0
236Route.MultiPathRoute, config_parse_route_section, ROUTE_MULTIPATH, 0
237Route.NextHop, config_parse_route_section, ROUTE_NEXTHOP, 0
238Route.MTUBytes, config_parse_route_section, ROUTE_METRIC_MTU, 0
239Route.TCPAdvertisedMaximumSegmentSize, config_parse_route_section, ROUTE_METRIC_ADVMSS, 0
240Route.HopLimit, config_parse_route_section, ROUTE_METRIC_HOPLIMIT, 0
241Route.InitialCongestionWindow, config_parse_route_section, ROUTE_METRIC_INITCWND, 0
242Route.TCPRetransmissionTimeoutSec, config_parse_route_section, ROUTE_METRIC_RTO_MIN, 0
243Route.InitialAdvertisedReceiveWindow, config_parse_route_section, ROUTE_METRIC_INITRWND, 0
244Route.QuickAck, config_parse_route_section, ROUTE_METRIC_QUICKACK, 0
245Route.TCPCongestionControlAlgorithm, config_parse_route_section, ROUTE_METRIC_CC_ALGO, 0
246Route.FastOpenNoCookie, config_parse_route_section, ROUTE_METRIC_FASTOPEN_NO_COOKIE, 0
247Route.TTLPropagate, config_parse_warn_compat, DISABLED_LEGACY, 0
248NextHop.Id, config_parse_nexthop_section, NEXTHOP_ID, 0
249NextHop.Gateway, config_parse_nexthop_section, NEXTHOP_GATEWAY, 0
250NextHop.Family, config_parse_nexthop_section, NEXTHOP_FAMILY, 0
251NextHop.OnLink, config_parse_nexthop_section, NEXTHOP_ONLINK, 0
252NextHop.Blackhole, config_parse_nexthop_section, NEXTHOP_BLACKHOLE, 0
253NextHop.Group, config_parse_nexthop_section, NEXTHOP_GROUP, 0
254DHCPv4.RequestAddress, config_parse_in_addr_non_null, AF_INET, offsetof(Network, dhcp_request_address)
255DHCPv4.ClientIdentifier, config_parse_dhcp_client_identifier, 0, offsetof(Network, dhcp_client_identifier)
256DHCPv4.UseDNS, config_parse_tristate, 0, offsetof(Network, dhcp_use_dns)
257DHCPv4.UseDNR, config_parse_tristate, 0, offsetof(Network, dhcp_use_dnr)
258DHCPv4.RoutesToDNS, config_parse_bool, 0, offsetof(Network, dhcp_routes_to_dns)
259DHCPv4.UseNTP, config_parse_tristate, 0, offsetof(Network, dhcp_use_ntp)
260DHCPv4.RoutesToNTP, config_parse_bool, 0, offsetof(Network, dhcp_routes_to_ntp)
261DHCPv4.UseSIP, config_parse_bool, 0, offsetof(Network, dhcp_use_sip)
262DHCPv4.UseCaptivePortal, config_parse_bool, 0, offsetof(Network, dhcp_use_captive_portal)
263DHCPv4.UseMTU, config_parse_bool, 0, offsetof(Network, dhcp_use_mtu)
264DHCPv4.UseHostname, config_parse_bool, 0, offsetof(Network, dhcp_use_hostname)
265DHCPv4.UseDomains, config_parse_use_domains, 0, offsetof(Network, dhcp_use_domains)
266DHCPv4.UseRoutes, config_parse_bool, 0, offsetof(Network, dhcp_use_routes)
267DHCPv4.UseGateway, config_parse_tristate, 0, offsetof(Network, dhcp_use_gateway)
268DHCPv4.QuickAck, config_parse_bool, 0, offsetof(Network, dhcp_quickack)
269DHCPv4.RequestOptions, config_parse_dhcp_request_options, AF_INET, 0
270DHCPv4.Anonymize, config_parse_bool, 0, offsetof(Network, dhcp_anonymize)
271DHCPv4.SendHostname, config_parse_dhcp_send_hostname, AF_INET, 0
272DHCPv4.BOOTP, config_parse_bool, 0, offsetof(Network, dhcp_use_bootp)
273DHCPv4.Hostname, config_parse_hostname, 0, offsetof(Network, dhcp_hostname)
274DHCPv4.Label, config_parse_dhcp_label, 0, offsetof(Network, dhcp_label)
275DHCPv4.RequestBroadcast, config_parse_tristate, 0, offsetof(Network, dhcp_broadcast)
276DHCPv4.VendorClassIdentifier, config_parse_string, CONFIG_PARSE_STRING_SAFE, offsetof(Network, dhcp_vendor_class_identifier)
277DHCPv4.MUDURL, config_parse_mud_url, 0, offsetof(Network, dhcp_mudurl)
278DHCPv4.MaxAttempts, config_parse_dhcp_max_attempts, 0, 0
279DHCPv4.UserClass, config_parse_dhcp_user_or_vendor_class, AF_INET, offsetof(Network, dhcp_user_class)
280DHCPv4.IAID, config_parse_iaid, AF_INET, 0
281DHCPv4.DUIDType, config_parse_network_duid_type, 0, 0
282DHCPv4.DUIDRawData, config_parse_network_duid_rawdata, 0, 0
283DHCPv4.RouteMetric, config_parse_dhcp_route_metric, AF_INET, 0
284DHCPv4.RouteTable, config_parse_dhcp_or_ra_route_table, AF_INET, 0
285DHCPv4.UseTimezone, config_parse_bool, 0, offsetof(Network, dhcp_use_timezone)
286DHCPv4.ListenPort, config_parse_uint16, 0, offsetof(Network, dhcp_client_port)
287DHCPv4.ServerPort, config_parse_uint16, 0, offsetof(Network, dhcp_port)
288DHCPv4.SendRelease, config_parse_bool, 0, offsetof(Network, dhcp_send_release)
289DHCPv4.SendDecline, config_parse_bool, 0, offsetof(Network, dhcp_send_decline)
290DHCPv4.DenyList, config_parse_in_addr_prefixes, AF_INET, offsetof(Network, dhcp_deny_listed_ip)
291DHCPv4.AllowList, config_parse_in_addr_prefixes, AF_INET, offsetof(Network, dhcp_allow_listed_ip)
292DHCPv4.IPServiceType, config_parse_dhcp_ip_service_type, 0, offsetof(Network, dhcp_ip_service_type)
293DHCPv4.SocketPriority, config_parse_dhcp_socket_priority, 0, 0
294DHCPv4.SendOption, config_parse_dhcp_send_option, AF_INET, offsetof(Network, dhcp_client_send_options)
295DHCPv4.SendVendorOption, config_parse_dhcp_send_option, 0, offsetof(Network, dhcp_client_send_vendor_options)
296DHCPv4.RouteMTUBytes, config_parse_mtu, AF_INET, offsetof(Network, dhcp_route_mtu)
297DHCPv4.InitialCongestionWindow, config_parse_tcp_window, 0, offsetof(Network, dhcp_initial_congestion_window)
298DHCPv4.InitialAdvertisedReceiveWindow, config_parse_tcp_window, 0, offsetof(Network, dhcp_advertised_receive_window)
299DHCPv4.FallbackLeaseLifetimeSec, config_parse_dhcp_fallback_lease_lifetime, 0, 0
300DHCPv4.Use6RD, config_parse_bool, 0, offsetof(Network, dhcp_use_6rd)
301DHCPv4.UnassignedSubnetPolicy, config_parse_dhcp_pd_prefix_route_type, 0, offsetof(Network, dhcp_6rd_prefix_route_type)
302DHCPv4.IPv6OnlyMode, config_parse_tristate, 0, offsetof(Network, dhcp_ipv6_only_mode)
303DHCPv4.NetLabel, config_parse_string, CONFIG_PARSE_STRING_SAFE, offsetof(Network, dhcp_netlabel)
304DHCPv4.NFTSet, config_parse_nft_set, NFT_SET_PARSE_NETWORK, offsetof(Network, dhcp_nft_set_context)
305DHCPv4.RapidCommit, config_parse_tristate, 0, offsetof(Network, dhcp_use_rapid_commit)
306DHCPv6.UseAddress, config_parse_bool, 0, offsetof(Network, dhcp6_use_address)
307DHCPv6.UseDelegatedPrefix, config_parse_bool, 0, offsetof(Network, dhcp6_use_pd_prefix)
308DHCPv6.UseDNS, config_parse_tristate, 0, offsetof(Network, dhcp6_use_dns)
309DHCPv6.UseDNR, config_parse_tristate, 0, offsetof(Network, dhcp6_use_dnr)
310DHCPv6.UseHostname, config_parse_bool, 0, offsetof(Network, dhcp6_use_hostname)
311DHCPv6.UseDomains, config_parse_use_domains, 0, offsetof(Network, dhcp6_use_domains)
312DHCPv6.UseNTP, config_parse_tristate, 0, offsetof(Network, dhcp6_use_ntp)
313DHCPv6.UseSIP, config_parse_bool, 0, offsetof(Network, dhcp6_use_sip)
314DHCPv6.UseCaptivePortal, config_parse_bool, 0, offsetof(Network, dhcp6_use_captive_portal)
315DHCPv6.MUDURL, config_parse_mud_url, 0, offsetof(Network, dhcp6_mudurl)
316DHCPv6.SendHostname, config_parse_dhcp_send_hostname, AF_INET6, 0
317DHCPv6.Hostname, config_parse_hostname, 0, offsetof(Network, dhcp6_hostname)
318DHCPv6.RequestOptions, config_parse_dhcp_request_options, AF_INET6, 0
319DHCPv6.UserClass, config_parse_dhcp_user_or_vendor_class, AF_INET6, offsetof(Network, dhcp6_user_class)
320DHCPv6.VendorClass, config_parse_dhcp_user_or_vendor_class, AF_INET6, offsetof(Network, dhcp6_vendor_class)
321DHCPv6.SendVendorOption, config_parse_dhcp_send_option, AF_INET6, offsetof(Network, dhcp6_client_send_vendor_options)
322DHCPv6.PrefixDelegationHint, config_parse_dhcp6_pd_prefix_hint, 0, 0
323DHCPv6.UnassignedSubnetPolicy, config_parse_dhcp_pd_prefix_route_type, 0, offsetof(Network, dhcp6_pd_prefix_route_type)
324DHCPv6.WithoutRA, config_parse_dhcp6_client_start_mode, 0, offsetof(Network, dhcp6_client_start_mode)
325DHCPv6.SendOption, config_parse_dhcp_send_option, AF_INET6, offsetof(Network, dhcp6_client_send_options)
326DHCPv6.IAID, config_parse_iaid, AF_INET6, 0
327DHCPv6.DUIDType, config_parse_duid_type, 0, offsetof(Network, dhcp6_duid)
328DHCPv6.DUIDRawData, config_parse_duid_rawdata, 0, offsetof(Network, dhcp6_duid)
329DHCPv6.RapidCommit, config_parse_bool, 0, offsetof(Network, dhcp6_use_rapid_commit)
330DHCPv6.NetLabel, config_parse_string, CONFIG_PARSE_STRING_SAFE, offsetof(Network, dhcp6_netlabel)
331DHCPv6.SendRelease, config_parse_bool, 0, offsetof(Network, dhcp6_send_release)
332DHCPv6.NFTSet, config_parse_nft_set, NFT_SET_PARSE_NETWORK, offsetof(Network, dhcp6_nft_set_context)
333IPv6AcceptRA.UseRedirect, config_parse_bool, 0, offsetof(Network, ndisc_use_redirect)
334IPv6AcceptRA.UseGateway, config_parse_bool, 0, offsetof(Network, ndisc_use_gateway)
335IPv6AcceptRA.UseRoutePrefix, config_parse_bool, 0, offsetof(Network, ndisc_use_route_prefix)
336IPv6AcceptRA.UseAutonomousPrefix, config_parse_bool, 0, offsetof(Network, ndisc_use_autonomous_prefix)
337IPv6AcceptRA.UseOnLinkPrefix, config_parse_bool, 0, offsetof(Network, ndisc_use_onlink_prefix)
338IPv6AcceptRA.UsePREF64, config_parse_bool, 0, offsetof(Network, ndisc_use_pref64)
339IPv6AcceptRA.UseDNS, config_parse_tristate, 0, offsetof(Network, ndisc_use_dns)
340IPv6AcceptRA.UseDNR, config_parse_tristate, 0, offsetof(Network, ndisc_use_dnr)
341IPv6AcceptRA.UseDomains, config_parse_use_domains, 0, offsetof(Network, ndisc_use_domains)
342IPv6AcceptRA.UseMTU, config_parse_bool, 0, offsetof(Network, ndisc_use_mtu)
343IPv6AcceptRA.UseHopLimit, config_parse_bool, 0, offsetof(Network, ndisc_use_hop_limit)
344IPv6AcceptRA.UseReachableTime, config_parse_bool, 0, offsetof(Network, ndisc_use_reachable_time)
345IPv6AcceptRA.UseRetransmissionTime, config_parse_bool, 0, offsetof(Network, ndisc_use_retransmission_time)
346IPv6AcceptRA.DHCPv6Client, config_parse_ndisc_start_dhcp6_client, 0, offsetof(Network, ndisc_start_dhcp6_client)
347IPv6AcceptRA.RouteTable, config_parse_dhcp_or_ra_route_table, AF_INET6, 0
348IPv6AcceptRA.RouteMetric, config_parse_ndisc_route_metric, 0, 0
349IPv6AcceptRA.QuickAck, config_parse_bool, 0, offsetof(Network, ndisc_quickack)
350IPv6AcceptRA.UseCaptivePortal, config_parse_bool, 0, offsetof(Network, ndisc_use_captive_portal)
351IPv6AcceptRA.RouterAllowList, config_parse_in_addr_prefixes, AF_INET6, offsetof(Network, ndisc_allow_listed_router)
352IPv6AcceptRA.RouterDenyList, config_parse_in_addr_prefixes, AF_INET6, offsetof(Network, ndisc_deny_listed_router)
353IPv6AcceptRA.PrefixAllowList, config_parse_in_addr_prefixes, AF_INET6, offsetof(Network, ndisc_allow_listed_prefix)
354IPv6AcceptRA.PrefixDenyList, config_parse_in_addr_prefixes, AF_INET6, offsetof(Network, ndisc_deny_listed_prefix)
355IPv6AcceptRA.RouteAllowList, config_parse_in_addr_prefixes, AF_INET6, offsetof(Network, ndisc_allow_listed_route_prefix)
356IPv6AcceptRA.RouteDenyList, config_parse_in_addr_prefixes, AF_INET6, offsetof(Network, ndisc_deny_listed_route_prefix)
357IPv6AcceptRA.Token, config_parse_address_generation_type, 0, offsetof(Network, ndisc_tokens)
358IPv6AcceptRA.NetLabel, config_parse_string, CONFIG_PARSE_STRING_SAFE, offsetof(Network, ndisc_netlabel)
359IPv6AcceptRA.NFTSet, config_parse_nft_set, NFT_SET_PARSE_NETWORK, offsetof(Network, ndisc_nft_set_context)
360DHCPServer.ServerAddress, config_parse_dhcp_server_address, 0, 0
361DHCPServer.UplinkInterface, config_parse_uplink, 0, 0
362DHCPServer.RelayTarget, config_parse_in_addr_non_null, AF_INET, offsetof(Network, dhcp_server_relay_target)
363DHCPServer.RelayAgentCircuitId, config_parse_dhcp_server_relay_agent_suboption, 0, offsetof(Network, dhcp_server_relay_agent_circuit_id)
364DHCPServer.RelayAgentRemoteId, config_parse_dhcp_server_relay_agent_suboption, 0, offsetof(Network, dhcp_server_relay_agent_remote_id)
365DHCPServer.MaxLeaseTimeSec, config_parse_sec, 0, offsetof(Network, dhcp_server_max_lease_time_usec)
366DHCPServer.DefaultLeaseTimeSec, config_parse_sec, 0, offsetof(Network, dhcp_server_default_lease_time_usec)
367DHCPServer.IPv6OnlyPreferredSec, config_parse_dhcp_server_ipv6_only_preferred, 0, offsetof(Network, dhcp_server_ipv6_only_preferred_usec)
368DHCPServer.EmitDNS, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_DNS].emit)
369DHCPServer.DNS, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_DNS])
370DHCPServer.EmitNTP, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_NTP].emit)
371DHCPServer.NTP, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_NTP])
372DHCPServer.EmitSIP, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_SIP].emit)
373DHCPServer.SIP, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_SIP])
374DHCPServer.EmitPOP3, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_POP3].emit)
375DHCPServer.POP3, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_POP3])
376DHCPServer.EmitSMTP, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_SMTP].emit)
377DHCPServer.SMTP, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_SMTP])
378DHCPServer.EmitLPR, config_parse_bool, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_LPR].emit)
379DHCPServer.LPR, config_parse_dhcp_server_emit, 0, offsetof(Network, dhcp_server_emit[SD_DHCP_LEASE_LPR])
380DHCPServer.EmitRouter, config_parse_bool, 0, offsetof(Network, dhcp_server_emit_router)
381DHCPServer.Router, config_parse_in_addr_non_null, AF_INET, offsetof(Network, dhcp_server_router)
382DHCPServer.EmitTimezone, config_parse_bool, 0, offsetof(Network, dhcp_server_emit_timezone)
383DHCPServer.Timezone, config_parse_timezone, 0, offsetof(Network, dhcp_server_timezone)
3eb7b881
GV
384DHCPServer.EmitDomain, config_parse_bool, 0, offsetof(Network, dhcp_server_emit_domain)
385DHCPServer.Domain, config_parse_dns_name, 0, offsetof(Network, dhcp_server_domain)
f7dffbf8
YW
386DHCPServer.PoolOffset, config_parse_uint32, 0, offsetof(Network, dhcp_server_pool_offset)
387DHCPServer.PoolSize, config_parse_uint32, 0, offsetof(Network, dhcp_server_pool_size)
388DHCPServer.SendVendorOption, config_parse_dhcp_send_option, 0, offsetof(Network, dhcp_server_send_vendor_options)
389DHCPServer.SendOption, config_parse_dhcp_send_option, 0, offsetof(Network, dhcp_server_send_options)
390DHCPServer.BindToInterface, config_parse_bool, 0, offsetof(Network, dhcp_server_bind_to_interface)
391DHCPServer.BootServerAddress, config_parse_in_addr_non_null, AF_INET, offsetof(Network, dhcp_server_boot_server_address)
392DHCPServer.BootServerName, config_parse_dns_name, 0, offsetof(Network, dhcp_server_boot_server_name)
393DHCPServer.BootFilename, config_parse_string, CONFIG_PARSE_STRING_SAFE_AND_ASCII, offsetof(Network, dhcp_server_boot_filename)
394DHCPServer.RapidCommit, config_parse_bool, 0, offsetof(Network, dhcp_server_rapid_commit)
395DHCPServer.PersistLeases, config_parse_dhcp_server_persist_leases, 0, offsetof(Network, dhcp_server_persist_leases)
396DHCPServerStaticLease.Address, config_parse_dhcp_static_lease_address, 0, 0
397DHCPServerStaticLease.MACAddress, config_parse_dhcp_static_lease_hwaddr, 0, 0
398Bridge.Cost, config_parse_uint32, 0, offsetof(Network, cost)
399Bridge.UseBPDU, config_parse_tristate, 0, offsetof(Network, use_bpdu)
400Bridge.HairPin, config_parse_tristate, 0, offsetof(Network, hairpin)
401Bridge.Isolated, config_parse_tristate, 0, offsetof(Network, isolated)
402Bridge.FastLeave, config_parse_tristate, 0, offsetof(Network, fast_leave)
403Bridge.AllowPortToBeRoot, config_parse_tristate, 0, offsetof(Network, allow_port_to_be_root)
404Bridge.UnicastFlood, config_parse_tristate, 0, offsetof(Network, unicast_flood)
405Bridge.MulticastFlood, config_parse_tristate, 0, offsetof(Network, multicast_flood)
406Bridge.MulticastToUnicast, config_parse_tristate, 0, offsetof(Network, multicast_to_unicast)
407Bridge.NeighborSuppression, config_parse_tristate, 0, offsetof(Network, neighbor_suppression)
408Bridge.Learning, config_parse_tristate, 0, offsetof(Network, learning)
409Bridge.ProxyARP, config_parse_tristate, 0, offsetof(Network, bridge_proxy_arp)
410Bridge.ProxyARPWiFi, config_parse_tristate, 0, offsetof(Network, bridge_proxy_arp_wifi)
411Bridge.Priority, config_parse_bridge_port_priority, 0, offsetof(Network, priority)
412Bridge.MulticastRouter, config_parse_multicast_router, 0, offsetof(Network, multicast_router)
413Bridge.Locked, config_parse_tristate, 0, offsetof(Network, bridge_locked)
414Bridge.MACAuthenticationBypass, config_parse_tristate, 0, offsetof(Network, bridge_mac_authentication_bypass)
415Bridge.VLANTunnel, config_parse_tristate, 0, offsetof(Network, bridge_vlan_tunnel)
416BridgeFDB.MACAddress, config_parse_fdb_hwaddr, 0, 0
417BridgeFDB.VLANId, config_parse_fdb_vlan_id, 0, 0
418BridgeFDB.Destination, config_parse_fdb_destination, 0, 0
419BridgeFDB.VNI, config_parse_fdb_vxlan_vni, 0, 0
420BridgeFDB.AssociatedWith, config_parse_fdb_ntf_flags, 0, 0
421BridgeFDB.OutgoingInterface, config_parse_fdb_interface, 0, 0
422BridgeMDB.MulticastGroupAddress, config_parse_mdb_group_address, 0, 0
423BridgeMDB.VLANId, config_parse_mdb_vlan_id, 0, 0
424BridgeVLAN.PVID, config_parse_bridge_vlan_id, 0, offsetof(Network, bridge_vlan_pvid)
425BridgeVLAN.VLAN, config_parse_bridge_vlan_id_range, 0, offsetof(Network, bridge_vlan_bitmap)
426BridgeVLAN.EgressUntagged, config_parse_bridge_vlan_id_range, 0, offsetof(Network, bridge_vlan_untagged_bitmap)
427DHCPPrefixDelegation.UplinkInterface, config_parse_uplink, 0, 0
428DHCPPrefixDelegation.SubnetId, config_parse_dhcp_pd_subnet_id, 0, offsetof(Network, dhcp_pd_subnet_id)
429DHCPPrefixDelegation.Announce, config_parse_bool, 0, offsetof(Network, dhcp_pd_announce)
430DHCPPrefixDelegation.Assign, config_parse_bool, 0, offsetof(Network, dhcp_pd_assign)
431DHCPPrefixDelegation.ManageTemporaryAddress, config_parse_bool, 0, offsetof(Network, dhcp_pd_manage_temporary_address)
432DHCPPrefixDelegation.Token, config_parse_address_generation_type, 0, offsetof(Network, dhcp_pd_tokens)
433DHCPPrefixDelegation.RouteMetric, config_parse_uint32, 0, offsetof(Network, dhcp_pd_route_metric)
434DHCPPrefixDelegation.NetLabel, config_parse_string, CONFIG_PARSE_STRING_SAFE, offsetof(Network, dhcp_pd_netlabel)
435DHCPPrefixDelegation.NFTSet, config_parse_nft_set, NFT_SET_PARSE_NETWORK, offsetof(Network, dhcp_pd_nft_set_context)
436IPv6SendRA.RouterLifetimeSec, config_parse_router_lifetime, 0, offsetof(Network, router_lifetime_usec)
437IPv6SendRA.ReachableTimeSec, config_parse_router_uint32_msec_usec, 0, offsetof(Network, router_reachable_usec)
438IPv6SendRA.RetransmitSec, config_parse_router_uint32_msec_usec, 0, offsetof(Network, router_retransmit_usec)
439IPv6SendRA.Managed, config_parse_bool, 0, offsetof(Network, router_managed)
440IPv6SendRA.OtherInformation, config_parse_bool, 0, offsetof(Network, router_other_information)
441IPv6SendRA.RouterPreference, config_parse_router_preference, 0, offsetof(Network, router_preference)
442IPv6SendRA.HopLimit, config_parse_uint8, 0, offsetof(Network, router_hop_limit)
443IPv6SendRA.EmitDNS, config_parse_bool, 0, offsetof(Network, router_emit_dns)
444IPv6SendRA.DNS, config_parse_radv_dns, 0, 0
445IPv6SendRA.EmitDomains, config_parse_bool, 0, offsetof(Network, router_emit_domains)
446IPv6SendRA.Domains, config_parse_radv_search_domains, 0, 0
447IPv6SendRA.DNSLifetimeSec, config_parse_sec, 0, offsetof(Network, router_dns_lifetime_usec)
448IPv6SendRA.UplinkInterface, config_parse_uplink, 0, 0
449IPv6SendRA.HomeAgent, config_parse_bool, 0, offsetof(Network, router_home_agent_information)
450IPv6SendRA.HomeAgentLifetimeSec, config_parse_router_home_agent_lifetime, 0, offsetof(Network, home_agent_lifetime_usec)
451IPv6SendRA.HomeAgentPreference, config_parse_uint16, 0, offsetof(Network, router_home_agent_preference)
452IPv6Prefix.Prefix, config_parse_prefix, 0, 0
453IPv6Prefix.OnLink, config_parse_prefix_boolean, ND_OPT_PI_FLAG_ONLINK, 0
454IPv6Prefix.AddressAutoconfiguration, config_parse_prefix_boolean, ND_OPT_PI_FLAG_AUTO, 0
455IPv6Prefix.ValidLifetimeSec, config_parse_prefix_lifetime, 0, 0
456IPv6Prefix.PreferredLifetimeSec, config_parse_prefix_lifetime, 0, 0
457IPv6Prefix.Assign, config_parse_prefix_boolean, 0, 0
458IPv6Prefix.RouteMetric, config_parse_prefix_metric, 0, 0
459IPv6Prefix.Token, config_parse_prefix_token, 0, 0
460IPv6RoutePrefix.Route, config_parse_route_prefix, 0, 0
461IPv6RoutePrefix.LifetimeSec, config_parse_route_prefix_lifetime, 0, 0
462IPv6RoutePrefix.Preference, config_parse_route_prefix_preference, 0, 0
463IPv6PREF64Prefix.Prefix, config_parse_pref64_prefix, 0, 0
464IPv6PREF64Prefix.LifetimeSec, config_parse_pref64_prefix_lifetime, 0, 0
465LLDP.MUDURL, config_parse_mud_url, 0, offsetof(Network, lldp_mudurl)
466CAN.BitRate, config_parse_can_bitrate, 0, offsetof(Network, can_bitrate)
467CAN.SamplePoint, config_parse_permille, 0, offsetof(Network, can_sample_point)
468CAN.TimeQuantaNSec, config_parse_can_time_quanta, 0, offsetof(Network, can_time_quanta_ns)
469CAN.PropagationSegment, config_parse_uint32, 0, offsetof(Network, can_propagation_segment)
470CAN.PhaseBufferSegment1, config_parse_uint32, 0, offsetof(Network, can_phase_buffer_segment_1)
471CAN.PhaseBufferSegment2, config_parse_uint32, 0, offsetof(Network, can_phase_buffer_segment_2)
472CAN.SyncJumpWidth, config_parse_uint32, 0, offsetof(Network, can_sync_jump_width)
473CAN.DataBitRate, config_parse_can_bitrate, 0, offsetof(Network, can_data_bitrate)
474CAN.DataSamplePoint, config_parse_permille, 0, offsetof(Network, can_data_sample_point)
475CAN.DataTimeQuantaNSec, config_parse_can_time_quanta, 0, offsetof(Network, can_data_time_quanta_ns)
476CAN.DataPropagationSegment, config_parse_uint32, 0, offsetof(Network, can_data_propagation_segment)
477CAN.DataPhaseBufferSegment1, config_parse_uint32, 0, offsetof(Network, can_data_phase_buffer_segment_1)
478CAN.DataPhaseBufferSegment2, config_parse_uint32, 0, offsetof(Network, can_data_phase_buffer_segment_2)
479CAN.DataSyncJumpWidth, config_parse_uint32, 0, offsetof(Network, can_data_sync_jump_width)
480CAN.RestartSec, config_parse_can_restart_usec, 0, offsetof(Network, can_restart_us)
481CAN.Loopback, config_parse_can_control_mode, CAN_CTRLMODE_LOOPBACK, 0
482CAN.ListenOnly, config_parse_can_control_mode, CAN_CTRLMODE_LISTENONLY, 0
483CAN.TripleSampling, config_parse_can_control_mode, CAN_CTRLMODE_3_SAMPLES, 0
484CAN.OneShot, config_parse_can_control_mode, CAN_CTRLMODE_ONE_SHOT, 0
485CAN.BusErrorReporting, config_parse_can_control_mode, CAN_CTRLMODE_BERR_REPORTING, 0
486CAN.FDMode, config_parse_can_control_mode, CAN_CTRLMODE_FD, 0
487CAN.PresumeACK, config_parse_can_control_mode, CAN_CTRLMODE_PRESUME_ACK, 0
488CAN.FDNonISO, config_parse_can_control_mode, CAN_CTRLMODE_FD_NON_ISO, 0
489CAN.ClassicDataLengthCode, config_parse_can_control_mode, CAN_CTRLMODE_CC_LEN8_DLC, 0
490CAN.Termination, config_parse_can_termination, 0, 0
491IPoIB.Mode, config_parse_ipoib_mode, 0, offsetof(Network, ipoib_mode)
492IPoIB.IgnoreUserspaceMulticastGroups, config_parse_tristate, 0, offsetof(Network, ipoib_umcast)
493QDisc.Parent, config_parse_qdisc_parent, _QDISC_KIND_INVALID, 0
494QDisc.Handle, config_parse_qdisc_handle, _QDISC_KIND_INVALID, 0
495BFIFO.Parent, config_parse_qdisc_parent, QDISC_KIND_BFIFO, 0
496BFIFO.Handle, config_parse_qdisc_handle, QDISC_KIND_BFIFO, 0
497BFIFO.LimitBytes, config_parse_bfifo_size, QDISC_KIND_BFIFO, 0
498CAKE.Parent, config_parse_qdisc_parent, QDISC_KIND_CAKE, 0
499CAKE.Handle, config_parse_qdisc_handle, QDISC_KIND_CAKE, 0
500CAKE.Bandwidth, config_parse_cake_bandwidth, QDISC_KIND_CAKE, 0
501CAKE.AutoRateIngress, config_parse_cake_tristate, QDISC_KIND_CAKE, 0
502CAKE.OverheadBytes, config_parse_cake_overhead, QDISC_KIND_CAKE, 0
503CAKE.MPUBytes, config_parse_cake_mpu, QDISC_KIND_CAKE, 0
504CAKE.CompensationMode, config_parse_cake_compensation_mode, QDISC_KIND_CAKE, 0
505CAKE.UseRawPacketSize, config_parse_cake_tristate, QDISC_KIND_CAKE, 0
506CAKE.FlowIsolationMode, config_parse_cake_flow_isolation_mode, QDISC_KIND_CAKE, 0
507CAKE.NAT, config_parse_cake_tristate, QDISC_KIND_CAKE, 0
508CAKE.PriorityQueueingPreset, config_parse_cake_priority_queueing_preset, QDISC_KIND_CAKE, 0
509CAKE.FirewallMark, config_parse_cake_fwmark, QDISC_KIND_CAKE, 0
510CAKE.Wash, config_parse_cake_tristate, QDISC_KIND_CAKE, 0
511CAKE.SplitGSO, config_parse_cake_tristate, QDISC_KIND_CAKE, 0
512CAKE.RTTSec, config_parse_cake_rtt, QDISC_KIND_CAKE, 0
513CAKE.AckFilter, config_parse_cake_ack_filter, QDISC_KIND_CAKE, 0
514ControlledDelay.Parent, config_parse_qdisc_parent, QDISC_KIND_CODEL, 0
515ControlledDelay.Handle, config_parse_qdisc_handle, QDISC_KIND_CODEL, 0
516ControlledDelay.PacketLimit, config_parse_codel_u32, QDISC_KIND_CODEL, 0
517ControlledDelay.TargetSec, config_parse_codel_usec, QDISC_KIND_CODEL, 0
518ControlledDelay.IntervalSec, config_parse_codel_usec, QDISC_KIND_CODEL, 0
519ControlledDelay.CEThresholdSec, config_parse_codel_usec, QDISC_KIND_CODEL, 0
520ControlledDelay.ECN, config_parse_codel_bool, QDISC_KIND_CODEL, 0
521DeficitRoundRobinScheduler.Parent, config_parse_qdisc_parent, QDISC_KIND_DRR, 0
522DeficitRoundRobinScheduler.Handle, config_parse_qdisc_handle, QDISC_KIND_DRR, 0
523DeficitRoundRobinSchedulerClass.Parent, config_parse_tclass_parent, TCLASS_KIND_DRR, 0
524DeficitRoundRobinSchedulerClass.ClassId, config_parse_tclass_classid, TCLASS_KIND_DRR, 0
525DeficitRoundRobinSchedulerClass.QuantumBytes, config_parse_drr_size, TCLASS_KIND_DRR, 0
526EnhancedTransmissionSelection.Parent, config_parse_qdisc_parent, QDISC_KIND_ETS, 0
527EnhancedTransmissionSelection.Handle, config_parse_qdisc_handle, QDISC_KIND_ETS, 0
528EnhancedTransmissionSelection.Bands, config_parse_ets_u8, QDISC_KIND_ETS, 0
529EnhancedTransmissionSelection.StrictBands, config_parse_ets_u8, QDISC_KIND_ETS, 0
530EnhancedTransmissionSelection.QuantumBytes, config_parse_ets_quanta, QDISC_KIND_ETS, 0
531EnhancedTransmissionSelection.PriorityMap, config_parse_ets_prio, QDISC_KIND_ETS, 0
532PFIFO.Parent, config_parse_qdisc_parent, QDISC_KIND_PFIFO, 0
533PFIFO.Handle, config_parse_qdisc_handle, QDISC_KIND_PFIFO, 0
534PFIFO.PacketLimit, config_parse_pfifo_size, QDISC_KIND_PFIFO, 0
535PFIFOFast.Parent, config_parse_qdisc_parent, QDISC_KIND_PFIFO_FAST, 0
536PFIFOFast.Handle, config_parse_qdisc_handle, QDISC_KIND_PFIFO_FAST, 0
537PFIFOHeadDrop.Parent, config_parse_qdisc_parent, QDISC_KIND_PFIFO_HEAD_DROP, 0
538PFIFOHeadDrop.Handle, config_parse_qdisc_handle, QDISC_KIND_PFIFO_HEAD_DROP, 0
539PFIFOHeadDrop.PacketLimit, config_parse_pfifo_size, QDISC_KIND_PFIFO_HEAD_DROP, 0
540QuickFairQueueing.Parent, config_parse_qdisc_parent, QDISC_KIND_QFQ, 0
541QuickFairQueueing.Handle, config_parse_qdisc_handle, QDISC_KIND_QFQ, 0
542QuickFairQueueingClass.Parent, config_parse_tclass_parent, TCLASS_KIND_QFQ, 0
543QuickFairQueueingClass.ClassId, config_parse_tclass_classid, TCLASS_KIND_QFQ, 0
544QuickFairQueueingClass.Weight, config_parse_qfq_weight, TCLASS_KIND_QFQ, 0
545QuickFairQueueingClass.MaxPacketBytes, config_parse_qfq_max_packet, TCLASS_KIND_QFQ, 0
546FairQueueing.Parent, config_parse_qdisc_parent, QDISC_KIND_FQ, 0
547FairQueueing.Handle, config_parse_qdisc_handle, QDISC_KIND_FQ, 0
548FairQueueing.PacketLimit, config_parse_fq_u32, QDISC_KIND_FQ, 0
549FairQueueing.FlowLimit, config_parse_fq_u32, QDISC_KIND_FQ, 0
550FairQueueing.QuantumBytes, config_parse_fq_size, QDISC_KIND_FQ, 0
551FairQueueing.InitialQuantumBytes, config_parse_fq_size, QDISC_KIND_FQ, 0
552FairQueueing.MaximumRate, config_parse_fq_max_rate, QDISC_KIND_FQ, 0
553FairQueueing.Buckets, config_parse_fq_u32, QDISC_KIND_FQ, 0
554FairQueueing.OrphanMask, config_parse_fq_u32, QDISC_KIND_FQ, 0
555FairQueueing.Pacing, config_parse_fq_bool, QDISC_KIND_FQ, 0
556FairQueueing.CEThresholdSec, config_parse_fq_usec, QDISC_KIND_FQ, 0
557FairQueueingControlledDelay.Parent, config_parse_qdisc_parent, QDISC_KIND_FQ_CODEL, 0
558FairQueueingControlledDelay.Handle, config_parse_qdisc_handle, QDISC_KIND_FQ_CODEL, 0
559FairQueueingControlledDelay.PacketLimit, config_parse_fq_codel_u32, QDISC_KIND_FQ_CODEL, 0
560FairQueueingControlledDelay.MemoryLimitBytes, config_parse_fq_codel_size, QDISC_KIND_FQ_CODEL, 0
561FairQueueingControlledDelay.Flows, config_parse_fq_codel_u32, QDISC_KIND_FQ_CODEL, 0
562FairQueueingControlledDelay.QuantumBytes, config_parse_fq_codel_size, QDISC_KIND_FQ_CODEL, 0
563FairQueueingControlledDelay.TargetSec, config_parse_fq_codel_usec, QDISC_KIND_FQ_CODEL, 0
564FairQueueingControlledDelay.IntervalSec, config_parse_fq_codel_usec, QDISC_KIND_FQ_CODEL, 0
565FairQueueingControlledDelay.CEThresholdSec, config_parse_fq_codel_usec, QDISC_KIND_FQ_CODEL, 0
566FairQueueingControlledDelay.ECN, config_parse_fq_codel_bool, QDISC_KIND_FQ_CODEL, 0
567FlowQueuePIE.Parent, config_parse_qdisc_parent, QDISC_KIND_FQ_PIE, 0
568FlowQueuePIE.Handle, config_parse_qdisc_handle, QDISC_KIND_FQ_PIE, 0
569FlowQueuePIE.PacketLimit, config_parse_fq_pie_packet_limit, QDISC_KIND_FQ_PIE, 0
570GenericRandomEarlyDetection.Parent, config_parse_qdisc_parent, QDISC_KIND_GRED, 0
571GenericRandomEarlyDetection.Handle, config_parse_qdisc_handle, QDISC_KIND_GRED, 0
572GenericRandomEarlyDetection.VirtualQueues, config_parse_gred_u32, QDISC_KIND_GRED, 0
573GenericRandomEarlyDetection.DefaultVirtualQueue, config_parse_gred_u32, QDISC_KIND_GRED, 0
574GenericRandomEarlyDetection.GenericRIO, config_parse_gred_bool, QDISC_KIND_GRED, 0
575HeavyHitterFilter.Parent, config_parse_qdisc_parent, QDISC_KIND_HHF, 0
576HeavyHitterFilter.Handle, config_parse_qdisc_handle, QDISC_KIND_HHF, 0
577HeavyHitterFilter.PacketLimit, config_parse_hhf_packet_limit, QDISC_KIND_HHF, 0
578HierarchyTokenBucket.Parent, config_parse_qdisc_parent, QDISC_KIND_HTB, 0
579HierarchyTokenBucket.Handle, config_parse_qdisc_handle, QDISC_KIND_HTB, 0
580HierarchyTokenBucket.DefaultClass, config_parse_htb_default_class, QDISC_KIND_HTB, 0
581HierarchyTokenBucket.RateToQuantum, config_parse_htb_u32, QDISC_KIND_HTB, 0
582HierarchyTokenBucketClass.Parent, config_parse_tclass_parent, TCLASS_KIND_HTB, 0
583HierarchyTokenBucketClass.ClassId, config_parse_tclass_classid, TCLASS_KIND_HTB, 0
584HierarchyTokenBucketClass.Priority, config_parse_htb_class_u32, TCLASS_KIND_HTB, 0
585HierarchyTokenBucketClass.QuantumBytes, config_parse_htb_class_size, TCLASS_KIND_HTB, 0
586HierarchyTokenBucketClass.MTUBytes, config_parse_htb_class_size, TCLASS_KIND_HTB, 0
587HierarchyTokenBucketClass.OverheadBytes, config_parse_htb_class_size, TCLASS_KIND_HTB, 0
588HierarchyTokenBucketClass.Rate, config_parse_htb_class_rate, TCLASS_KIND_HTB, 0
589HierarchyTokenBucketClass.CeilRate, config_parse_htb_class_rate, TCLASS_KIND_HTB, 0
590HierarchyTokenBucketClass.BufferBytes, config_parse_htb_class_size, TCLASS_KIND_HTB, 0
591HierarchyTokenBucketClass.CeilBufferBytes, config_parse_htb_class_size, TCLASS_KIND_HTB, 0
592ClassfulMultiQueueing.Parent, config_parse_qdisc_parent, QDISC_KIND_MQ, 0
593ClassfulMultiQueueing.Handle, config_parse_qdisc_handle, QDISC_KIND_MQ, 0
594BandMultiQueueing.Parent, config_parse_qdisc_parent, QDISC_KIND_MULTIQ, 0
595BandMultiQueueing.Handle, config_parse_qdisc_handle, QDISC_KIND_MULTIQ, 0
596NetworkEmulator.Parent, config_parse_qdisc_parent, QDISC_KIND_NETEM, 0
597NetworkEmulator.Handle, config_parse_qdisc_handle, QDISC_KIND_NETEM, 0
598NetworkEmulator.DelaySec, config_parse_netem_delay, QDISC_KIND_NETEM, 0
599NetworkEmulator.DelayJitterSec, config_parse_netem_delay, QDISC_KIND_NETEM, 0
600NetworkEmulator.LossRate, config_parse_netem_rate, QDISC_KIND_NETEM, 0
601NetworkEmulator.DuplicateRate, config_parse_netem_rate, QDISC_KIND_NETEM, 0
602NetworkEmulator.PacketLimit, config_parse_netem_packet_limit, QDISC_KIND_NETEM, 0
603PIE.Parent, config_parse_qdisc_parent, QDISC_KIND_PIE, 0
604PIE.Handle, config_parse_qdisc_handle, QDISC_KIND_PIE, 0
605PIE.PacketLimit, config_parse_pie_packet_limit, QDISC_KIND_PIE, 0
606StochasticFairBlue.Parent, config_parse_qdisc_parent, QDISC_KIND_SFB, 0
607StochasticFairBlue.Handle, config_parse_qdisc_handle, QDISC_KIND_SFB, 0
608StochasticFairBlue.PacketLimit, config_parse_sfb_u32, QDISC_KIND_SFB, 0
609StochasticFairnessQueueing.Parent, config_parse_qdisc_parent, QDISC_KIND_SFQ, 0
610StochasticFairnessQueueing.Handle, config_parse_qdisc_handle, QDISC_KIND_SFQ, 0
611StochasticFairnessQueueing.PerturbPeriodSec, config_parse_sfq_perturb_period, QDISC_KIND_SFQ, 0
612TokenBucketFilter.Parent, config_parse_qdisc_parent, QDISC_KIND_TBF, 0
613TokenBucketFilter.Handle, config_parse_qdisc_handle, QDISC_KIND_TBF, 0
614TokenBucketFilter.Rate, config_parse_tbf_rate, QDISC_KIND_TBF, 0
615TokenBucketFilter.BurstBytes, config_parse_tbf_size, QDISC_KIND_TBF, 0
616TokenBucketFilter.LimitBytes, config_parse_tbf_size, QDISC_KIND_TBF, 0
617TokenBucketFilter.MTUBytes, config_parse_tbf_size, QDISC_KIND_TBF, 0
618TokenBucketFilter.MPUBytes, config_parse_tbf_size, QDISC_KIND_TBF, 0
619TokenBucketFilter.PeakRate, config_parse_tbf_rate, QDISC_KIND_TBF, 0
620TokenBucketFilter.LatencySec, config_parse_tbf_latency, QDISC_KIND_TBF, 0
621TrivialLinkEqualizer.Parent, config_parse_qdisc_parent, QDISC_KIND_TEQL, 0
622TrivialLinkEqualizer.Handle, config_parse_qdisc_handle, QDISC_KIND_TEQL, 0
623TrivialLinkEqualizer.Id, config_parse_teql_id, QDISC_KIND_TEQL, 0
4cc7a82c 624/* backwards compatibility: do not add new entries to this section */
f7dffbf8
YW
625Network.IPv4LL, config_parse_ipv4ll, 0, offsetof(Network, link_local)
626Network.IPv6Token, config_parse_address_generation_type, 0, offsetof(Network, ndisc_tokens)
627Network.IPv6PrefixDelegation, config_parse_router_prefix_delegation, 0, offsetof(Network, router_prefix_delegation)
628Network.DHCPv6PrefixDelegation, config_parse_tristate, 0, offsetof(Network, dhcp_pd)
629IPv6PrefixDelegation.RouterLifetimeSec, config_parse_sec, 0, offsetof(Network, router_lifetime_usec)
630IPv6PrefixDelegation.Managed, config_parse_bool, 0, offsetof(Network, router_managed)
631IPv6PrefixDelegation.OtherInformation, config_parse_bool, 0, offsetof(Network, router_other_information)
632IPv6PrefixDelegation.RouterPreference, config_parse_router_preference, 0, offsetof(Network, router_preference)
633IPv6PrefixDelegation.EmitDNS, config_parse_bool, 0, offsetof(Network, router_emit_dns)
634IPv6PrefixDelegation.DNS, config_parse_radv_dns, 0, 0
635IPv6PrefixDelegation.EmitDomains, config_parse_bool, 0, offsetof(Network, router_emit_domains)
636IPv6PrefixDelegation.Domains, config_parse_radv_search_domains, 0, 0
637IPv6PrefixDelegation.DNSLifetimeSec, config_parse_sec, 0, offsetof(Network, router_dns_lifetime_usec)
638DHCPv4.BlackList, config_parse_in_addr_prefixes, AF_INET, offsetof(Network, dhcp_deny_listed_ip)
639DHCP.ClientIdentifier, config_parse_dhcp_client_identifier, 0, offsetof(Network, dhcp_client_identifier)
640DHCP.UseDNS, config_parse_tristate, 0, offsetof(Network, compat_dhcp_use_dns)
641DHCP.UseNTP, config_parse_tristate, 0, offsetof(Network, compat_dhcp_use_ntp)
642DHCP.UseMTU, config_parse_bool, 0, offsetof(Network, dhcp_use_mtu)
643DHCP.UseHostname, config_parse_bool, 0, offsetof(Network, dhcp_use_hostname)
644DHCP.UseDomains, config_parse_use_domains, 0, offsetof(Network, compat_dhcp_use_domains)
645DHCP.UseDomainName, config_parse_use_domains, 0, offsetof(Network, compat_dhcp_use_domains)
646DHCP.UseRoutes, config_parse_bool, 0, offsetof(Network, dhcp_use_routes)
647DHCP.Anonymize, config_parse_bool, 0, offsetof(Network, dhcp_anonymize)
648DHCP.SendHostname, config_parse_dhcp_send_hostname, AF_UNSPEC, 0
649DHCP.Hostname, config_parse_hostname, 0, offsetof(Network, dhcp_hostname)
650DHCP.RequestBroadcast, config_parse_tristate, 0, offsetof(Network, dhcp_broadcast)
651DHCP.CriticalConnection, config_parse_tristate, 0, offsetof(Network, dhcp_critical)
652DHCP.VendorClassIdentifier, config_parse_string, CONFIG_PARSE_STRING_SAFE, offsetof(Network, dhcp_vendor_class_identifier)
653DHCP.UserClass, config_parse_dhcp_user_or_vendor_class, AF_INET, offsetof(Network, dhcp_user_class)
654DHCP.IAID, config_parse_iaid, AF_INET, 0
655DHCP.DUIDType, config_parse_network_duid_type, 0, 0
656DHCP.DUIDRawData, config_parse_network_duid_rawdata, 0, 0
657DHCP.RouteMetric, config_parse_dhcp_route_metric, AF_UNSPEC, 0
658DHCP.RouteTable, config_parse_dhcp_or_ra_route_table, AF_INET, 0
659DHCP.UseTimezone, config_parse_bool, 0, offsetof(Network, dhcp_use_timezone)
660DHCP.ListenPort, config_parse_uint16, 0, offsetof(Network, dhcp_client_port)
661DHCP.RapidCommit, config_parse_bool, 0, offsetof(Network, dhcp6_use_rapid_commit)
662DHCP.ForceDHCPv6PDOtherInformation, config_parse_warn_compat, DISABLED_LEGACY, 0
663DHCPv4.UseDomainName, config_parse_use_domains, 0, offsetof(Network, dhcp_use_domains)
664DHCPv4.CriticalConnection, config_parse_tristate, 0, offsetof(Network, dhcp_critical)
665DHCPv6.RouteMetric, config_parse_ndisc_route_metric, AF_INET6, 0
666DHCPv6.ForceDHCPv6PDOtherInformation, config_parse_warn_compat, DISABLED_LEGACY, 0
667DHCPv6PrefixDelegation.SubnetId, config_parse_dhcp_pd_subnet_id, 0, offsetof(Network, dhcp_pd_subnet_id)
668DHCPv6PrefixDelegation.Announce, config_parse_bool, 0, offsetof(Network, dhcp_pd_announce)
669DHCPv6PrefixDelegation.Assign, config_parse_bool, 0, offsetof(Network, dhcp_pd_assign)
670DHCPv6PrefixDelegation.ManageTemporaryAddress, config_parse_bool, 0, offsetof(Network, dhcp_pd_manage_temporary_address)
671DHCPv6PrefixDelegation.Token, config_parse_address_generation_type, 0, offsetof(Network, dhcp_pd_tokens)
672DHCPv6PrefixDelegation.RouteMetric, config_parse_uint32, 0, offsetof(Network, dhcp_pd_route_metric)
673IPv6AcceptRA.DenyList, config_parse_in_addr_prefixes, AF_INET6, offsetof(Network, ndisc_deny_listed_prefix)
674IPv6AcceptRA.BlackList, config_parse_in_addr_prefixes, AF_INET6, offsetof(Network, ndisc_deny_listed_prefix)
675IPv6AcceptRA.UseICMP6RateLimit, config_parse_warn_compat, DISABLED_LEGACY, 0
676TrafficControlQueueingDiscipline.Parent, config_parse_qdisc_parent, _QDISC_KIND_INVALID, 0
677TrafficControlQueueingDiscipline.NetworkEmulatorDelaySec, config_parse_netem_delay, 0, 0
678TrafficControlQueueingDiscipline.NetworkEmulatorDelayJitterSec, config_parse_netem_delay, 0, 0
679TrafficControlQueueingDiscipline.NetworkEmulatorLossRate, config_parse_netem_rate, 0, 0
680TrafficControlQueueingDiscipline.NetworkEmulatorDuplicateRate, config_parse_netem_rate, 0, 0
681TrafficControlQueueingDiscipline.NetworkEmulatorPacketLimit, config_parse_netem_packet_limit, 0, 0
682FairQueueing.Quantum, config_parse_fq_size, QDISC_KIND_FQ, 0
683FairQueueing.InitialQuantum, config_parse_fq_size, QDISC_KIND_FQ, 0
684FairQueueingControlledDelay.MemoryLimit, config_parse_fq_codel_size, QDISC_KIND_FQ_CODEL, 0
685FairQueueingControlledDelay.Quantum, config_parse_fq_codel_size, QDISC_KIND_FQ_CODEL, 0
686TokenBucketFilter.Burst, config_parse_tbf_size, QDISC_KIND_TBF, 0
687TokenBucketFilter.LimitSize, config_parse_tbf_size, QDISC_KIND_TBF, 0