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