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-2013 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 *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 string host_name", |
---|
52 | "define 13 uint16 boot_size", |
---|
53 | "define 14 string merit_dump", |
---|
54 | "define 15 string 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 string 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 string user_class", |
---|
114 | "define 80 norequest flag rapid_commit", |
---|
115 | "define 81 embed fqdn", |
---|
116 | "embed byte flags", |
---|
117 | "embed byte rcode1", |
---|
118 | "embed byte rcode2", |
---|
119 | "embed domain fqdn", |
---|
120 | "define 85 array ipaddress nds_servers", |
---|
121 | "define 86 string nds_tree_name", |
---|
122 | "define 87 string nds_context", |
---|
123 | "define 88 domain bcms_controller_names", |
---|
124 | "define 89 array ipaddress bcms_controller_address", |
---|
125 | "define 90 embed auth", |
---|
126 | "embed byte protocol", |
---|
127 | "embed byte algorithm", |
---|
128 | "embed byte rdm", |
---|
129 | "embed binhex:8 replay", |
---|
130 | "embed binhex information", |
---|
131 | "define 91 uint32 client_last_transaction_time", |
---|
132 | "define 92 array ipaddress associated_ip", |
---|
133 | "define 98 string uap_servers", |
---|
134 | "define 100 string posix_timezone", |
---|
135 | "define 101 string tzdb_timezone", |
---|
136 | "define 118 ipaddress subnet_selection", |
---|
137 | "define 119 domain domain_search", |
---|
138 | "define 120 rfc3361 sip_server", |
---|
139 | "define 122 encap tsp", |
---|
140 | "encap 1 ipaddress dhcp_server", |
---|
141 | "encap 2 ipaddress dhcp_secondary_server", |
---|
142 | "encap 3 rfc3361 provisioning_server", |
---|
143 | "encap 4 embed as_req_as_rep_backoff", |
---|
144 | "embed uint32 nominal", |
---|
145 | "embed uint32 maximum", |
---|
146 | "embed uint32 retry", |
---|
147 | "encap 5 embed ap_req_ap_rep_backoff", |
---|
148 | "embed uint32 nominal", |
---|
149 | "embed uint32 maximum", |
---|
150 | "embed uint32 retry", |
---|
151 | "encap 6 domain kerberos_realm", |
---|
152 | "encap 7 byte ticket_granting_server_utilization", |
---|
153 | "encap 8 byte provisioning_timer", |
---|
154 | "define 124 binhex vivco", |
---|
155 | "define 125 embed vivso", |
---|
156 | "embed uint32 enterprise_number", |
---|
157 | "define 212 rfc5969 sixrd", |
---|
158 | "define6 1 binhex client_id", |
---|
159 | "define6 2 binhex server_id", |
---|
160 | "define6 3 norequest index embed ia_na", |
---|
161 | "embed binhex:4 iaid", |
---|
162 | "embed uint32 t1", |
---|
163 | "embed uint32 t2", |
---|
164 | "encap 5 option", |
---|
165 | "encap 13 option", |
---|
166 | "define6 4 norequest index embed ia_ta", |
---|
167 | "embed uint32 iaid", |
---|
168 | "encap 5 option", |
---|
169 | "encap 13 option", |
---|
170 | "define6 5 norequest index embed ia_addr", |
---|
171 | "embed ip6address ia_addr", |
---|
172 | "embed uint32 pltime", |
---|
173 | "embed uint32 vltime", |
---|
174 | "encap 13 option", |
---|
175 | "define6 6 array uint16 option_request", |
---|
176 | "define6 7 byte preference", |
---|
177 | "define6 8 uint16 elased_time", |
---|
178 | "define6 9 binhex dhcp_relay_msg", |
---|
179 | "define6 11 embed auth", |
---|
180 | "embed byte protocol", |
---|
181 | "embed byte algorithm", |
---|
182 | "embed byte rdm", |
---|
183 | "embed binhex:8 replay", |
---|
184 | "embed binhex information", |
---|
185 | "define6 12 ip6address unicast", |
---|
186 | "define6 13 norequest embed status_code", |
---|
187 | "embed uint16 status_code", |
---|
188 | "embed string message", |
---|
189 | "define6 14 norequest flag rapid_commit", |
---|
190 | "define6 15 binhex user_class", |
---|
191 | "define6 16 binhex vivco", |
---|
192 | "define6 17 embed vivso", |
---|
193 | "embed uint32 enterprise_number", |
---|
194 | "define6 18 binhex interface_id", |
---|
195 | "define6 19 byte reconfigure_msg", |
---|
196 | "define6 20 flag reconfigure_accept", |
---|
197 | "define6 21 domain sip_servers_names", |
---|
198 | "define6 22 array ip6address sip_servers_addresses", |
---|
199 | "define6 23 array ip6address name_servers", |
---|
200 | "define6 24 domain domain_search", |
---|
201 | "define6 25 norequest index embed ia_pd", |
---|
202 | "embed binhex:4 iaid", |
---|
203 | "embed uint32 t1", |
---|
204 | "embed uint32 t2", |
---|
205 | "encap 26 option", |
---|
206 | "define6 26 index embed prefix", |
---|
207 | "embed uint32 pltime", |
---|
208 | "embed uint32 vltime", |
---|
209 | "embed ip6address prefix", |
---|
210 | "encap 13 option", |
---|
211 | "define6 27 array ip6address nis_servers", |
---|
212 | "define6 28 array ip6address nisp_servers", |
---|
213 | "define6 29 domain nis_domain_name", |
---|
214 | "define6 30 domain nisp_domain_name", |
---|
215 | "define6 31 array ip6address sntp_servers", |
---|
216 | "define6 32 uint32 info_refresh_time", |
---|
217 | "define6 33 domain bcms_server_d", |
---|
218 | "define6 34 array ip6address bcms_server_a", |
---|
219 | "define6 39 embed fqdn", |
---|
220 | "embed byte flags", |
---|
221 | "embed domain fqdn", |
---|
222 | "define6 41 string posix_timezone", |
---|
223 | "define6 42 string tzdb_timezone", |
---|
224 | "define6 56 encap ntp_server", |
---|
225 | "encap 1 ip6address addr", |
---|
226 | "encap 2 ip6address mcast_addr", |
---|
227 | "encap 3 ip6address fqdn", |
---|
228 | NULL |
---|
229 | }; |
---|