• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * DO NOT EDIT!
3  * Automatically generated from dhcpcd-embedded.conf
4  * Ths allows us to simply generate DHCP structure without any C programming.
5  */
6 
7 /*
8  * dhcpcd - DHCP client daemon
9  * Copyright (c) 2006-2015 Roy Marples <roy@marples.name>
10  * All rights reserved
11 
12  * Redistribution and use in source and binary forms, with or without
13  * modification, are permitted provided that the following conditions
14  * are met:
15  * 1. Redistributions of source code must retain the above copyright
16  *    notice, this list of conditions and the following disclaimer.
17  * 2. Redistributions in binary form must reproduce the above copyright
18  *    notice, this list of conditions and the following disclaimer in the
19  *    documentation and/or other materials provided with the distribution.
20  *
21  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
22  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
25  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31  * SUCH DAMAGE.
32  */
33 
34 #include <unistd.h>
35 
36 const char * const dhcpcd_embedded_conf[] = {
37 "define 1 request ipaddress subnet_mask",
38 "define 121 rfc3442 classless_static_routes",
39 "define 249 rfc3442 ms_classless_static_routes",
40 "define 33 request array ipaddress static_routes",
41 "define 3 request array ipaddress routers",
42 "define 2 uint32 time_offset",
43 "define 4 array ipaddress time_servers",
44 "define 5 array ipaddress ien116_name_servers",
45 "define 6 array ipaddress domain_name_servers",
46 "define 7 array ipaddress log_servers",
47 "define 8 array ipaddress cookie_servers",
48 "define 9 array ipaddress lpr_servers",
49 "define 10 array ipaddress impress_servers",
50 "define 11 array ipaddress resource_location_servers",
51 "define 12 dname host_name",
52 "define 13 uint16 boot_size",
53 "define 14 string merit_dump",
54 "define 15 array dname domain_name",
55 "define 16 ipaddress swap_server",
56 "define 17 string root_path",
57 "define 18 string extensions_path",
58 "define 19 byte ip_forwarding",
59 "define 20 byte non_local_source_routing",
60 "define 21 array ipaddress policy_filter",
61 "define 22 int16 max_dgram_reassembly",
62 "define 23 uint16 default_ip_ttl",
63 "define 24 uint32 path_mtu_aging_timeout",
64 "define 25 array uint16 path_mtu_plateau_table",
65 "define 26 uint16 interface_mtu",
66 "define 27 byte all_subnets_local",
67 "define 28 request ipaddress broadcast_address",
68 "define 29 byte perform_mask_discovery",
69 "define 30 byte mask_supplier",
70 "define 31 byte router_discovery",
71 "define 32 ipaddress router_solicitation_address",
72 "define 34 byte trailer_encapsulation",
73 "define 35 uint32 arp_cache_timeout",
74 "define 36 uint16 ieee802_3_encapsulation",
75 "define 37 byte default_tcp_ttl",
76 "define 38 uint32 tcp_keepalive_interval",
77 "define 39 byte tcp_keepalive_garbage",
78 "define 40 string nis_domain",
79 "define 41 array ipaddress nis_servers",
80 "define 42 array ipaddress ntp_servers",
81 "define 43 string vendor_encapsulated_options",
82 "define 44 array ipaddress netbios_name_servers",
83 "define 45 ipaddress netbios_dd_server",
84 "define 46 byte netbios_node_type",
85 "define 47 string netbios_scope",
86 "define 48 array ipaddress font_servers",
87 "define 49 array ipaddress x_display_manager",
88 "define 50 ipaddress dhcp_requested_address",
89 "define 51 request uint32 dhcp_lease_time",
90 "define 52 byte dhcp_option_overload",
91 "define 53 byte dhcp_message_type",
92 "define 54 ipaddress dhcp_server_identifier",
93 "define 55 array byte dhcp_parameter_request_list",
94 "define 56 string dhcp_message",
95 "define 57 uint16 dhcp_max_message_size",
96 "define 58 request uint32 dhcp_renewal_time",
97 "define 59 request uint32 dhcp_rebinding_time",
98 "define 60 binhex vendor_class_identifier",
99 "define 61 binhex dhcp_client_identifier",
100 "define 64 string nisplus_domain",
101 "define 65 array ipaddress nisplus_servers",
102 "define 66 dname tftp_server_name",
103 "define 67 string bootfile_name",
104 "define 68 array ipaddress mobile_ip_home_agent",
105 "define 69 array ipaddress smtp_server",
106 "define 70 array ipaddress pop_server",
107 "define 71 array ipaddress nntp_server",
108 "define 72 array ipaddress www_server",
109 "define 73 array ipaddress finger_server",
110 "define 74 array ipaddress irc_server",
111 "define 75 array ipaddress streettalk_server",
112 "define 76 array ipaddress streettalk_directory_assistance_server",
113 "define 77 binhex user_class",
114 "define 78 embed slp_agent",
115 "embed byte mandatory",
116 "embed array ipaddress address",
117 "define 79 embed slp_service",
118 "embed byte mandatory",
119 "embed ascii scope_list",
120 "define 80 norequest flag rapid_commit",
121 "define 81 embed fqdn",
122 "embed byte flags",
123 "embed byte rcode1",
124 "embed byte rcode2",
125 "embed domain fqdn",
126 "define 85 array ipaddress nds_servers",
127 "define 86 raw nds_tree_name",
128 "define 87 raw nds_context",
129 "define 88 array domain bcms_controller_names",
130 "define 89 array ipaddress bcms_controller_address",
131 "define 90 embed auth",
132 "embed byte protocol",
133 "embed byte algorithm",
134 "embed byte rdm",
135 "embed binhex:8 replay",
136 "embed binhex information",
137 "define 91 uint32 client_last_transaction_time",
138 "define 92 array ipaddress associated_ip",
139 "define 98 string uap_servers",
140 "define 99 encap geoconf_civic",
141 "embed byte what",
142 "embed uint16 country_code",
143 "define 100 string posix_timezone",
144 "define 101 string tzdb_timezone",
145 "define 116 byte auto_configure",
146 "define 117 array uint16 name_service_search",
147 "define 118 ipaddress subnet_selection",
148 "define 119 array domain domain_search",
149 "define 120 rfc3361 sip_server",
150 "define 122 encap tsp",
151 "encap 1 ipaddress dhcp_server",
152 "encap 2 ipaddress dhcp_secondary_server",
153 "encap 3 rfc3361 provisioning_server",
154 "encap 4 embed as_req_as_rep_backoff",
155 "embed uint32 nominal",
156 "embed uint32 maximum",
157 "embed uint32 retry",
158 "encap 5 embed ap_req_ap_rep_backoff",
159 "embed uint32 nominal",
160 "embed uint32 maximum",
161 "embed uint32 retry",
162 "encap 6 domain kerberos_realm",
163 "encap 7 byte ticket_granting_server_utilization",
164 "encap 8 byte provisioning_timer",
165 "define 123 binhex geoconf",
166 "define 124 binhex vivco",
167 "define 125 embed vivso",
168 "embed uint32 enterprise_number",
169 "define 136 array ipaddress pana_agent",
170 "define 137 domain lost_server",
171 "define 138 array ipaddress capwap_ac",
172 "define 139 encap mos_ip",
173 "encap 1 array ipaddress is",
174 "encap 2 array ipaddress cs",
175 "encap 3 array ipaddress es",
176 "define 140 encap mos_domain",
177 "encap 1 domain is",
178 "encap 2 domain cs",
179 "encap 3 domain es",
180 "define 141 array domain sip_ua_cs_list",
181 "define 142 array ipaddress andsf",
182 "define 143 array ip6address andsf6",
183 "define 144 binhex geoloc",
184 "define 145 array byte forcerenew_nonce_capable",
185 "define 146 embed rdnss_selection",
186 "embed byte prf",
187 "embed ipaddress primary",
188 "embed ipaddress secondary",
189 "embed array domain domains",
190 "define 150 array ipaddress tftp_servers",
191 "define 208 binhex pxelinux_magic",
192 "define 209 string config_file",
193 "define 210 string path_prefix",
194 "define 211 uint32 reboot_time",
195 "define 212 rfc5969 sixrd",
196 "define 213 domain access_domain",
197 "define 221 encap vss",
198 "encap 0 string nvt",
199 "encap 1 binhex vpn_id",
200 "encap 255 flag global",
201 "define 252 string wpad_url",
202 "define6 1 binhex client_id",
203 "define6 2 binhex server_id",
204 "define6 3 norequest index embed ia_na",
205 "embed binhex:4 iaid",
206 "embed uint32 t1",
207 "embed uint32 t2",
208 "encap 5 option",
209 "encap 13 option",
210 "define6 4 norequest index embed ia_ta",
211 "embed uint32 iaid",
212 "encap 5 option",
213 "encap 13 option",
214 "define6 5 norequest index embed ia_addr",
215 "embed ip6address ia_addr",
216 "embed uint32 pltime",
217 "embed uint32 vltime",
218 "encap 13 option",
219 "define6 6 array uint16 option_request",
220 "define6 7 byte preference",
221 "define6 8 uint16 elased_time",
222 "define6 9 binhex dhcp_relay_msg",
223 "define6 11 embed auth",
224 "embed byte protocol",
225 "embed byte algorithm",
226 "embed byte rdm",
227 "embed binhex:8 replay",
228 "embed binhex information",
229 "define6 12 ip6address unicast",
230 "define6 13 norequest embed status_code",
231 "embed uint16 status_code",
232 "embed string message",
233 "define6 14 norequest flag rapid_commit",
234 "define6 15 binhex user_class",
235 "define6 16 binhex vivco",
236 "define6 17 embed vivso",
237 "embed uint32 enterprise_number",
238 "define6 18 binhex interface_id",
239 "define6 19 byte reconfigure_msg",
240 "define6 20 flag reconfigure_accept",
241 "define6 21 array domain sip_servers_names",
242 "define6 22 array ip6address sip_servers_addresses",
243 "define6 23 array ip6address name_servers",
244 "define6 24 array domain domain_search",
245 "define6 25 norequest index embed ia_pd",
246 "embed binhex:4 iaid",
247 "embed uint32 t1",
248 "embed uint32 t2",
249 "encap 26 option",
250 "define6 26 index embed prefix",
251 "embed uint32 pltime",
252 "embed uint32 vltime",
253 "embed byte length",
254 "embed ip6address prefix",
255 "encap 13 option",
256 "encap 67 option",
257 "define6 27 array ip6address nis_servers",
258 "define6 28 array ip6address nisp_servers",
259 "define6 29 string nis_domain_name",
260 "define6 30 string nisp_domain_name",
261 "define6 31 array ip6address sntp_servers",
262 "define6 32 uint32 info_refresh_time",
263 "define6 33 array domain bcms_server_d",
264 "define6 34 array ip6address bcms_server_a",
265 "define6 36 encap geoconf_civic",
266 "embed byte what",
267 "embed uint16 country_code",
268 "define6 37 embed remote_id",
269 "embed uint32 enterprise_number",
270 "embed binhex remote_id",
271 "define6 38 binhex subscriber_id",
272 "define6 39 embed fqdn",
273 "embed byte flags",
274 "embed domain fqdn",
275 "define6 40 array ip6address pana_agent",
276 "define6 41 string posix_timezone",
277 "define6 42 string tzdb_timezone",
278 "define6 43 array uint16 ero",
279 "define6 49 domain mip6_hnidf",
280 "define6 50 encap mip6_vdinf",
281 "encap 71 option",
282 "encap 72 option",
283 "encap 73 option",
284 "define6 51 domain lost_server",
285 "define6 52 array ip6address capwap_ac",
286 "define6 53 binhex relay_id",
287 "define6 54 encap mos_ip",
288 "encap 1 array ip6address is",
289 "encap 2 array ip6address cs",
290 "encap 3 array ip6address es",
291 "define6 55  encap mos_domain",
292 "encap 1 domain is",
293 "encap 2 domain cs",
294 "encap 3 domain es",
295 "define6 56 encap ntp_server",
296 "encap 1 ip6address addr",
297 "encap 2 ip6address mcast_addr",
298 "encap 3 ip6address fqdn",
299 "define6 57 domain access_domain",
300 "define6 58 array domain sip_ua_cs_list",
301 "define6 59 string bootfile_url",
302 "define6 60 binhex bootfile_param",
303 "define6 61 array uint16 architecture_types",
304 "define6 62 embed nii",
305 "embed byte type",
306 "embed byte major",
307 "embed byte minor",
308 "define6 63 binhex geoloc",
309 "define6 64 domain aftr_name",
310 "define6 67 embed pd_exclude",
311 "embed byte prefix_len",
312 "embed binhex subnetID",
313 "define6 69 encap mip6_idinf",
314 "encap 71 option",
315 "encap 72 option",
316 "encap 73 option",
317 "define6 70 encap mip6_udinf",
318 "encap 71 option",
319 "encap 72 option",
320 "encap 73 option",
321 "define6 71 embed mip6_hnp",
322 "embed byte prefix_len",
323 "embed ip6address prefix",
324 "define6 72 ip6address mip6_haa",
325 "define6 73 domain mip6_haf",
326 "define6 74 embed rdnss_selection",
327 "embed ip6address server",
328 "embed byte prf",
329 "embed array domain domains",
330 "define6 75 string krb_principal_name",
331 "define6 76 string krb_realm_name",
332 "define6 78 embed krb_kdc",
333 "embed uint16 priority",
334 "embed uint16 weight",
335 "embed byte transport_type",
336 "embed uint16 port",
337 "embed ip6address address",
338 "embed string realm_name",
339 "define6 80 ip6address link_address",
340 "define6 82 request uint32 sol_max_rt",
341 "define6 83 request uint32 inf_max_rt",
342 NULL
343 };
344