Branch data Line data Source code
1 : : %{
2 : : #if __GNUC__ >= 7
3 : : _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
4 : : #endif
5 : : #include <stddef.h>
6 : : #include "conf-parser.h"
7 : : #include "network-internal.h"
8 : : #include "networkd-conf.h"
9 : : #include "networkd-dhcp-common.h"
10 : : #include "networkd-dhcp-server.h"
11 : : #include "networkd-dhcp4.h"
12 : : #include "networkd-ipv4ll.h"
13 : : #include "networkd-ndisc.h"
14 : : #include "networkd-network.h"
15 : : #include "vlan-util.h"
16 : : %}
17 : : struct ConfigPerfItem;
18 : : %null_strings
19 : : %language=ANSI-C
20 : : %define slot-name section_and_lvalue
21 : : %define hash-function-name network_network_gperf_hash
22 : : %define lookup-function-name network_network_gperf_lookup
23 : : %readonly-tables
24 : : %omit-struct-type
25 : : %struct-type
26 : : %includes
27 : : %%
28 : : Match.MACAddress, config_parse_hwaddrs, 0, offsetof(Network, match_mac)
29 : : Match.Path, config_parse_match_strv, 0, offsetof(Network, match_path)
30 : : Match.Driver, config_parse_match_strv, 0, offsetof(Network, match_driver)
31 : : Match.Type, config_parse_match_strv, 0, offsetof(Network, match_type)
32 : : Match.Name, config_parse_match_ifnames, 0, offsetof(Network, match_name)
33 : 92 : Match.Property, config_parse_match_property, 0, offsetof(Network, match_property)
34 : : Match.Host, config_parse_net_condition, CONDITION_HOST, offsetof(Network, conditions)
35 : : Match.Virtualization, config_parse_net_condition, CONDITION_VIRTUALIZATION, offsetof(Network, conditions)
36 : : Match.KernelCommandLine, config_parse_net_condition, CONDITION_KERNEL_COMMAND_LINE, offsetof(Network, conditions)
37 : : Match.KernelVersion, config_parse_net_condition, CONDITION_KERNEL_VERSION, offsetof(Network, conditions)
38 : : Match.Architecture, config_parse_net_condition, CONDITION_ARCHITECTURE, offsetof(Network, conditions)
39 : : Link.MACAddress, config_parse_hwaddr, 0, offsetof(Network, mac)
40 : : Link.MTUBytes, config_parse_mtu, AF_UNSPEC, offsetof(Network, mtu)
41 : : Link.ARP, config_parse_tristate, 0, offsetof(Network, arp)
42 : : Link.Multicast, config_parse_tristate, 0, offsetof(Network, multicast)
43 : : Link.AllMulticast, config_parse_tristate, 0, offsetof(Network, allmulticast)
44 : : Link.Unmanaged, config_parse_bool, 0, offsetof(Network, unmanaged)
45 : : Link.RequiredForOnline, config_parse_required_for_online, 0, 0
46 : : Network.Description, config_parse_string, 0, offsetof(Network, description)
47 : : Network.Bridge, config_parse_ifname, 0, offsetof(Network, bridge_name)
48 : : Network.Bond, config_parse_ifname, 0, offsetof(Network, bond_name)
49 : : Network.VLAN, config_parse_stacked_netdev, NETDEV_KIND_VLAN, offsetof(Network, stacked_netdev_names)
50 : : Network.MACVLAN, config_parse_stacked_netdev, NETDEV_KIND_MACVLAN, offsetof(Network, stacked_netdev_names)
51 : : Network.MACVTAP, config_parse_stacked_netdev, NETDEV_KIND_MACVTAP, offsetof(Network, stacked_netdev_names)
52 : : Network.IPVLAN, config_parse_stacked_netdev, NETDEV_KIND_IPVLAN, offsetof(Network, stacked_netdev_names)
53 : : Network.IPVTAP, config_parse_stacked_netdev, NETDEV_KIND_IPVTAP, offsetof(Network, stacked_netdev_names)
54 : : Network.VXLAN, config_parse_stacked_netdev, NETDEV_KIND_VXLAN, offsetof(Network, stacked_netdev_names)
55 : : Network.L2TP, config_parse_stacked_netdev, NETDEV_KIND_L2TP, offsetof(Network, stacked_netdev_names)
56 : : Network.MACsec, config_parse_stacked_netdev, NETDEV_KIND_MACSEC, offsetof(Network, stacked_netdev_names)
57 : : Network.Tunnel, config_parse_stacked_netdev, _NETDEV_KIND_TUNNEL, offsetof(Network, stacked_netdev_names)
58 : : Network.Xfrm, config_parse_stacked_netdev, NETDEV_KIND_XFRM, offsetof(Network, stacked_netdev_names)
59 : : Network.VRF, config_parse_ifname, 0, offsetof(Network, vrf_name)
60 : : Network.DHCP, config_parse_dhcp, 0, offsetof(Network, dhcp)
61 : : Network.DHCPServer, config_parse_bool, 0, offsetof(Network, dhcp_server)
62 : : Network.LinkLocalAddressing, config_parse_link_local_address_family, 0, offsetof(Network, link_local)
63 : : Network.IPv4LLRoute, config_parse_bool, 0, offsetof(Network, ipv4ll_route)
64 : 92 : Network.DefaultRouteOnDevice, config_parse_bool, 0, offsetof(Network, default_route_on_device)
65 : : Network.IPv6Token, config_parse_ipv6token, 0, offsetof(Network, ipv6_token)
66 [ + + + + : 92 : Network.LLDP, config_parse_lldp_mode, 0, offsetof(Network, lldp_mode)
- - ]
67 : : Network.EmitLLDP, config_parse_lldp_emit, 0, offsetof(Network, lldp_emit)
68 : 24 : Network.Address, config_parse_address, 0, 0
69 : 24 : Network.Gateway, config_parse_gateway, 0, 0
70 : : Network.Domains, config_parse_domains, 0, 0
71 : 48 : Network.DNS, config_parse_dns, 0, 0
72 : : Network.DNSDefaultRoute, config_parse_tristate, 0, offsetof(Network, dns_default_route)
73 : : Network.LLMNR, config_parse_resolve_support, 0, offsetof(Network, llmnr)
74 : 48 : Network.MulticastDNS, config_parse_resolve_support, 0, offsetof(Network, mdns)
75 : : Network.DNSOverTLS, config_parse_dns_over_tls_mode, 0, offsetof(Network, dns_over_tls_mode)
76 : 80 : Network.DNSSEC, config_parse_dnssec_mode, 0, offsetof(Network, dnssec_mode)
77 : : Network.DNSSECNegativeTrustAnchors, config_parse_dnssec_negative_trust_anchors, 0, 0
78 : : Network.NTP, config_parse_ntp, 0, offsetof(Network, ntp)
79 : : Network.IPForward, config_parse_address_family_with_kernel, 0, offsetof(Network, ip_forward)
80 : : Network.IPMasquerade, config_parse_bool, 0, offsetof(Network, ip_masquerade)
81 : 80 : Network.IPv6PrivacyExtensions, config_parse_ipv6_privacy_extensions, 0, offsetof(Network, ipv6_privacy_extensions)
82 : : Network.IPv6AcceptRA, config_parse_tristate, 0, offsetof(Network, ipv6_accept_ra)
83 : 92 : Network.IPv6AcceptRouterAdvertisements, config_parse_tristate, 0, offsetof(Network, ipv6_accept_ra)
84 : : Network.IPv6DuplicateAddressDetection, config_parse_int, 0, offsetof(Network, ipv6_dad_transmits)
85 : 92 : Network.IPv6HopLimit, config_parse_int, 0, offsetof(Network, ipv6_hop_limit)
86 : : Network.IPv6ProxyNDP, config_parse_tristate, 0, offsetof(Network, ipv6_proxy_ndp)
87 : 92 : Network.IPv6MTUBytes, config_parse_mtu, AF_INET6, offsetof(Network, ipv6_mtu)
88 : : Network.ActiveSlave, config_parse_bool, 0, offsetof(Network, active_slave)
89 : : Network.PrimarySlave, config_parse_bool, 0, offsetof(Network, primary_slave)
90 : 92 : Network.IPv4ProxyARP, config_parse_tristate, 0, offsetof(Network, proxy_arp)
91 : : Network.ProxyARP, config_parse_tristate, 0, offsetof(Network, proxy_arp)
92 : 92 : Network.IPv6ProxyNDPAddress, config_parse_ipv6_proxy_ndp_address, 0, 0
93 : : Network.BindCarrier, config_parse_strv, 0, offsetof(Network, bind_carrier)
94 : : Network.ConfigureWithoutCarrier, config_parse_bool, 0, offsetof(Network, configure_without_carrier)
95 : : Network.IgnoreCarrierLoss, config_parse_bool, 0, offsetof(Network, ignore_carrier_loss)
96 : : Network.KeepConfiguration, config_parse_keep_configuration, 0, offsetof(Network, keep_configuration)
97 : 92 : Address.Address, config_parse_address, 0, 0
98 : 92 : Address.Peer, config_parse_address, 0, 0
99 : : Address.Broadcast, config_parse_broadcast, 0, 0
100 : 92 : Address.Label, config_parse_label, 0, 0
101 : : Address.PreferredLifetime, config_parse_lifetime, 0, 0
102 : : Address.HomeAddress, config_parse_address_flags, 0, 0
103 : : Address.DuplicateAddressDetection, config_parse_address_flags, 0, 0
104 : 92 : Address.ManageTemporaryAddress, config_parse_address_flags, 0, 0
105 : : Address.PrefixRoute, config_parse_address_flags, 0, 0
106 : : Address.AutoJoin, config_parse_address_flags, 0, 0
107 : : Address.Scope, config_parse_address_scope, 0, 0
108 : : IPv6AddressLabel.Prefix, config_parse_address_label_prefix, 0, 0
109 : : IPv6AddressLabel.Label, config_parse_address_label, 0, 0
110 : : Neighbor.Address, config_parse_neighbor_address, 0, 0
111 : : Neighbor.LinkLayerAddress, config_parse_neighbor_lladdr, 0, 0
112 : : Neighbor.MACAddress, config_parse_neighbor_hwaddr, 0, 0 /* deprecated */
113 : : RoutingPolicyRule.TypeOfService, config_parse_routing_policy_rule_tos, 0, 0
114 : : RoutingPolicyRule.Priority, config_parse_routing_policy_rule_priority, 0, 0
115 : : RoutingPolicyRule.Table, config_parse_routing_policy_rule_table, 0, 0
116 : : RoutingPolicyRule.FirewallMark, config_parse_routing_policy_rule_fwmark_mask, 0, 0
117 : : RoutingPolicyRule.From, config_parse_routing_policy_rule_prefix, 0, 0
118 : : RoutingPolicyRule.To, config_parse_routing_policy_rule_prefix, 0, 0
119 : : RoutingPolicyRule.IncomingInterface, config_parse_routing_policy_rule_device, 0, 0
120 : : RoutingPolicyRule.OutgoingInterface, config_parse_routing_policy_rule_device, 0, 0
121 : : RoutingPolicyRule.IPProtocol, config_parse_routing_policy_rule_ip_protocol, 0, 0
122 : : RoutingPolicyRule.SourcePort, config_parse_routing_policy_rule_port_range, 0, 0
123 : : RoutingPolicyRule.DestinationPort, config_parse_routing_policy_rule_port_range, 0, 0
124 : : RoutingPolicyRule.InvertRule, config_parse_routing_policy_rule_invert, 0, 0
125 : : RoutingPolicyRule.Family, config_parse_routing_policy_rule_family, 0, 0
126 : : Route.Gateway, config_parse_gateway, 0, 0
127 : : Route.Destination, config_parse_destination, 0, 0
128 : : Route.Source, config_parse_destination, 0, 0
129 : : Route.Metric, config_parse_route_priority, 0, 0
130 : : Route.Scope, config_parse_route_scope, 0, 0
131 : : Route.PreferredSource, config_parse_preferred_src, 0, 0
132 : : Route.Table, config_parse_route_table, 0, 0
133 : : Route.MTUBytes, config_parse_route_mtu, AF_UNSPEC, 0
134 : : Route.GatewayOnLink, config_parse_gateway_onlink, 0, 0
135 : : Route.GatewayOnlink, config_parse_gateway_onlink, 0, 0
136 : : Route.IPv6Preference, config_parse_ipv6_route_preference, 0, 0
137 : : Route.Protocol, config_parse_route_protocol, 0, 0
138 : : Route.Type, config_parse_route_type, 0, 0
139 : : Route.InitialCongestionWindow, config_parse_tcp_window, 0, 0
140 : : Route.InitialAdvertisedReceiveWindow, config_parse_tcp_window, 0, 0
141 : : Route.QuickAck, config_parse_quickack, 0, 0
142 : : Route.FastOpenNoCookie, config_parse_fast_open_no_cookie, 0, 0
143 : : Route.TTLPropagate, config_parse_route_ttl_propagate, 0, 0
144 : : DHCPv4.ClientIdentifier, config_parse_dhcp_client_identifier, 0, offsetof(Network, dhcp_client_identifier)
145 : : DHCPv4.UseDNS, config_parse_bool, 0, offsetof(Network, dhcp_use_dns)
146 : : DHCPv4.RoutesToDNS, config_parse_bool, 0, offsetof(Network, dhcp_routes_to_dns)
147 : : DHCPv4.UseNTP, config_parse_bool, 0, offsetof(Network, dhcp_use_ntp)
148 : : DHCPv4.UseMTU, config_parse_bool, 0, offsetof(Network, dhcp_use_mtu)
149 : : DHCPv4.UseHostname, config_parse_bool, 0, offsetof(Network, dhcp_use_hostname)
150 : : DHCPv4.UseDomains, config_parse_dhcp_use_domains, 0, offsetof(Network, dhcp_use_domains)
151 : : DHCPv4.UseRoutes, config_parse_bool, 0, offsetof(Network, dhcp_use_routes)
152 : : DHCPv4.Anonymize, config_parse_bool, 0, offsetof(Network, dhcp_anonymize)
153 : : DHCPv4.SendHostname, config_parse_bool, 0, offsetof(Network, dhcp_send_hostname)
154 : : DHCPv4.Hostname, config_parse_hostname, 0, offsetof(Network, dhcp_hostname)
155 : : DHCPv4.RequestBroadcast, config_parse_bool, 0, offsetof(Network, dhcp_broadcast)
156 : : DHCPv4.VendorClassIdentifier, config_parse_string, 0, offsetof(Network, dhcp_vendor_class_identifier)
157 : : DHCPv4.MaxAttempts, config_parse_dhcp_max_attempts, 0, 0
158 : : DHCPv4.UserClass, config_parse_dhcp_user_class, 0, offsetof(Network, dhcp_user_class)
159 : : DHCPv4.DUIDType, config_parse_duid_type, 0, offsetof(Network, duid)
160 : : DHCPv4.DUIDRawData, config_parse_duid_rawdata, 0, offsetof(Network, duid)
161 : : DHCPv4.RouteMetric, config_parse_unsigned, 0, offsetof(Network, dhcp_route_metric)
162 : : DHCPv4.RouteTable, config_parse_section_route_table, 0, 0
163 : : DHCPv4.UseTimezone, config_parse_bool, 0, offsetof(Network, dhcp_use_timezone)
164 : : DHCPv4.IAID, config_parse_iaid, 0, 0
165 : : DHCPv4.ListenPort, config_parse_uint16, 0, offsetof(Network, dhcp_client_port)
166 : : DHCPv4.SendRelease, config_parse_bool, 0, offsetof(Network, dhcp_send_release)
167 : : DHCPv4.BlackList, config_parse_dhcp_black_listed_ip_address, 0, 0
168 : : DHCPv6.UseDNS, config_parse_bool, 0, offsetof(Network, dhcp6_use_dns)
169 : : DHCPv6.UseNTP, config_parse_bool, 0, offsetof(Network, dhcp6_use_ntp)
170 : : DHCPv6.RapidCommit, config_parse_bool, 0, offsetof(Network, rapid_commit)
171 : : DHCPv6.ForceDHCPv6PDOtherInformation, config_parse_bool, 0, offsetof(Network, dhcp6_force_pd_other_information)
172 : : IPv6AcceptRA.UseAutonomousPrefix, config_parse_bool, 0, offsetof(Network, ipv6_accept_ra_use_autonomous_prefix)
173 : : IPv6AcceptRA.UseOnLinkPrefix, config_parse_bool, 0, offsetof(Network, ipv6_accept_ra_use_onlink_prefix)
174 : : IPv6AcceptRA.UseDNS, config_parse_bool, 0, offsetof(Network, ipv6_accept_ra_use_dns)
175 : : IPv6AcceptRA.UseDomains, config_parse_dhcp_use_domains, 0, offsetof(Network, ipv6_accept_ra_use_domains)
176 : : IPv6AcceptRA.RouteTable, config_parse_section_route_table, 0, 0
177 : : IPv6AcceptRA.BlackList, config_parse_ndisc_black_listed_prefix, 0, 0
178 : : DHCPServer.MaxLeaseTimeSec, config_parse_sec, 0, offsetof(Network, dhcp_server_max_lease_time_usec)
179 : : DHCPServer.DefaultLeaseTimeSec, config_parse_sec, 0, offsetof(Network, dhcp_server_default_lease_time_usec)
180 : : DHCPServer.EmitDNS, config_parse_bool, 0, offsetof(Network, dhcp_server_emit_dns)
181 : : DHCPServer.DNS, config_parse_dhcp_server_dns, 0, 0
182 : : DHCPServer.EmitNTP, config_parse_bool, 0, offsetof(Network, dhcp_server_emit_ntp)
183 : : DHCPServer.NTP, config_parse_dhcp_server_ntp, 0, 0
184 : : DHCPServer.EmitRouter, config_parse_bool, 0, offsetof(Network, dhcp_server_emit_router)
185 : : DHCPServer.EmitTimezone, config_parse_bool, 0, offsetof(Network, dhcp_server_emit_timezone)
186 : : DHCPServer.Timezone, config_parse_timezone, 0, offsetof(Network, dhcp_server_timezone)
187 : : DHCPServer.PoolOffset, config_parse_uint32, 0, offsetof(Network, dhcp_server_pool_offset)
188 : : DHCPServer.PoolSize, config_parse_uint32, 0, offsetof(Network, dhcp_server_pool_size)
189 : : Bridge.Cost, config_parse_uint32, 0, offsetof(Network, cost)
190 : : Bridge.UseBPDU, config_parse_tristate, 0, offsetof(Network, use_bpdu)
191 : : Bridge.HairPin, config_parse_tristate, 0, offsetof(Network, hairpin)
192 : : Bridge.FastLeave, config_parse_tristate, 0, offsetof(Network, fast_leave)
193 : : Bridge.AllowPortToBeRoot, config_parse_tristate, 0, offsetof(Network, allow_port_to_be_root)
194 : : Bridge.UnicastFlood, config_parse_tristate, 0, offsetof(Network, unicast_flood)
195 : : Bridge.MulticastFlood, config_parse_tristate, 0, offsetof(Network, multicast_flood)
196 : : Bridge.MulticastToUnicast, config_parse_tristate, 0, offsetof(Network, multicast_to_unicast)
197 : : Bridge.NeighborSuppression, config_parse_tristate, 0, offsetof(Network, neighbor_suppression)
198 : : Bridge.Learning, config_parse_tristate, 0, offsetof(Network, learning)
199 : : Bridge.ProxyARP, config_parse_tristate, 0, offsetof(Network, bridge_proxy_arp)
200 : : Bridge.ProxyARPWiFi, config_parse_tristate, 0, offsetof(Network, bridge_proxy_arp_wifi)
201 : : Bridge.Priority, config_parse_bridge_port_priority, 0, offsetof(Network, priority)
202 : : Bridge.MulticastRouter, config_parse_multicast_router, 0, offsetof(Network, multicast_router)
203 : : BridgeFDB.MACAddress, config_parse_fdb_hwaddr, 0, 0
204 : : BridgeFDB.VLANId, config_parse_fdb_vlan_id, 0, 0
205 : : BridgeFDB.Destination, config_parse_fdb_destination, 0, 0
206 : : BridgeFDB.VNI, config_parse_fdb_vxlan_vni, 0, 0
207 : : BridgeFDB.AssociatedWith, config_parse_fdb_ntf_flags, 0, 0
208 : : BridgeVLAN.PVID, config_parse_brvlan_pvid, 0, 0
209 : : BridgeVLAN.VLAN, config_parse_brvlan_vlan, 0, 0
210 : : BridgeVLAN.EgressUntagged, config_parse_brvlan_untagged, 0, 0
211 : : Network.IPv6PrefixDelegation, config_parse_router_prefix_delegation, 0, 0
212 : : IPv6PrefixDelegation.RouterLifetimeSec, config_parse_sec, 0, offsetof(Network, router_lifetime_usec)
213 : : IPv6PrefixDelegation.Managed, config_parse_bool, 0, offsetof(Network, router_managed)
214 : : IPv6PrefixDelegation.OtherInformation, config_parse_bool, 0, offsetof(Network, router_other_information)
215 : : IPv6PrefixDelegation.RouterPreference, config_parse_router_preference, 0, 0
216 : : IPv6PrefixDelegation.EmitDNS, config_parse_bool, 0, offsetof(Network, router_emit_dns)
217 : : IPv6PrefixDelegation.DNS, config_parse_radv_dns, 0, 0
218 : : IPv6PrefixDelegation.EmitDomains, config_parse_bool, 0, offsetof(Network, router_emit_domains)
219 : : IPv6PrefixDelegation.Domains, config_parse_radv_search_domains, 0, 0
220 : : IPv6PrefixDelegation.DNSLifetimeSec, config_parse_sec, 0, offsetof(Network, router_dns_lifetime_usec)
221 : : IPv6Prefix.Prefix, config_parse_prefix, 0, 0
222 : : IPv6Prefix.OnLink, config_parse_prefix_flags, 0, 0
223 : : IPv6Prefix.AddressAutoconfiguration, config_parse_prefix_flags, 0, 0
224 : : IPv6Prefix.ValidLifetimeSec, config_parse_prefix_lifetime, 0, 0
225 : : IPv6Prefix.PreferredLifetimeSec, config_parse_prefix_lifetime, 0, 0
226 : : CAN.BitRate, config_parse_si_size, 0, offsetof(Network, can_bitrate)
227 : : CAN.SamplePoint, config_parse_permille, 0, offsetof(Network, can_sample_point)
228 : : CAN.RestartSec, config_parse_sec, 0, offsetof(Network, can_restart_us)
229 : : CAN.TripleSampling, config_parse_tristate, 0, offsetof(Network, can_triple_sampling)
230 : : /* backwards compatibility: do not add new entries to this section */
231 : : Network.IPv4LL, config_parse_ipv4ll, 0, offsetof(Network, link_local)
232 : : DHCP.ClientIdentifier, config_parse_dhcp_client_identifier, 0, offsetof(Network, dhcp_client_identifier)
233 : : DHCP.UseDNS, config_parse_dhcp_use_dns, 0, 0
234 : : DHCP.UseNTP, config_parse_dhcp_use_ntp, 0, 0
235 : : DHCP.UseMTU, config_parse_bool, 0, offsetof(Network, dhcp_use_mtu)
236 : : DHCP.UseHostname, config_parse_bool, 0, offsetof(Network, dhcp_use_hostname)
237 : : DHCP.UseDomains, config_parse_dhcp_use_domains, 0, offsetof(Network, dhcp_use_domains)
238 [ + - + - ]: 92 : DHCP.UseDomainName, config_parse_dhcp_use_domains, 0, offsetof(Network, dhcp_use_domains)
239 : : DHCP.UseRoutes, config_parse_bool, 0, offsetof(Network, dhcp_use_routes)
240 : 92 : DHCP.Anonymize, config_parse_bool, 0, offsetof(Network, dhcp_anonymize)
241 : : DHCP.SendHostname, config_parse_bool, 0, offsetof(Network, dhcp_send_hostname)
242 [ + - ]: 92 : DHCP.Hostname, config_parse_hostname, 0, offsetof(Network, dhcp_hostname)
243 : : DHCP.RequestBroadcast, config_parse_bool, 0, offsetof(Network, dhcp_broadcast)
244 : 92 : DHCP.CriticalConnection, config_parse_tristate, 0, offsetof(Network, dhcp_critical)
245 : : DHCP.VendorClassIdentifier, config_parse_string, 0, offsetof(Network, dhcp_vendor_class_identifier)
246 [ + - + - : 92 : DHCP.UserClass, config_parse_dhcp_user_class, 0, offsetof(Network, dhcp_user_class)
+ - ]
247 : 92 : DHCP.DUIDType, config_parse_duid_type, 0, offsetof(Network, duid)
248 : : DHCP.DUIDRawData, config_parse_duid_rawdata, 0, offsetof(Network, duid)
249 : : DHCP.RouteMetric, config_parse_unsigned, 0, offsetof(Network, dhcp_route_metric)
250 : 0 : DHCP.RouteTable, config_parse_section_route_table, 0, 0
251 : : DHCP.UseTimezone, config_parse_bool, 0, offsetof(Network, dhcp_use_timezone)
252 : : DHCP.IAID, config_parse_iaid, 0, 0
253 : : DHCP.ListenPort, config_parse_uint16, 0, offsetof(Network, dhcp_client_port)
254 : : DHCP.RapidCommit, config_parse_bool, 0, offsetof(Network, rapid_commit)
255 : : DHCP.ForceDHCPv6PDOtherInformation, config_parse_bool, 0, offsetof(Network, dhcp6_force_pd_other_information)
256 : : DHCPv4.UseDomainName, config_parse_dhcp_use_domains, 0, offsetof(Network, dhcp_use_domains)
257 : : DHCPv4.CriticalConnection, config_parse_tristate, 0, offsetof(Network, dhcp_critical)
|