1 /* A Bison parser, made by GNU Bison 2.3. */
3 /* Skeleton interface for Bison's Yacc-like parsers in C
5 Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
6 Free Software Foundation, Inc.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
23 /* As a special exception, you may create a larger work that contains
24 part or all of the Bison parser skeleton and distribute that work
25 under terms of your choice, so long as that work isn't itself a
26 parser generator using the skeleton or a modified version thereof
27 as a parser skeleton. Alternatively, if you modify or redistribute
28 the parser skeleton itself, you may (at your option) remove this
29 special exception, which will cause the skeleton and the resulting
30 Bison output files to be licensed under the GNU General Public
31 License without this special exception.
33 This special exception was added by the Free Software Foundation in
34 version 2.2 of Bison. */
39 /* Put the tokens into the symbol table, so that GDB and other debuggers
52 VAR_NUM_THREADS
= 268,
54 VAR_OUTGOING_RANGE
= 270,
65 VAR_MSG_CACHE_SIZE
= 281,
66 VAR_MSG_CACHE_SLABS
= 282,
67 VAR_NUM_QUERIES_PER_THREAD
= 283,
68 VAR_RRSET_CACHE_SIZE
= 284,
69 VAR_RRSET_CACHE_SLABS
= 285,
70 VAR_OUTGOING_NUM_TCP
= 286,
71 VAR_INFRA_HOST_TTL
= 287,
72 VAR_INFRA_LAME_TTL
= 288,
73 VAR_INFRA_CACHE_SLABS
= 289,
74 VAR_INFRA_CACHE_NUMHOSTS
= 290,
75 VAR_INFRA_CACHE_LAME_SIZE
= 291,
80 VAR_TARGET_FETCH_POLICY
= 296,
81 VAR_HARDEN_SHORT_BUFSIZE
= 297,
82 VAR_HARDEN_LARGE_QUERIES
= 298,
83 VAR_FORWARD_ZONE
= 299,
84 VAR_FORWARD_HOST
= 300,
85 VAR_FORWARD_ADDR
= 301,
86 VAR_DO_NOT_QUERY_ADDRESS
= 302,
87 VAR_HIDE_IDENTITY
= 303,
88 VAR_HIDE_VERSION
= 304,
91 VAR_HARDEN_GLUE
= 307,
92 VAR_MODULE_CONF
= 308,
93 VAR_TRUST_ANCHOR_FILE
= 309,
94 VAR_TRUST_ANCHOR
= 310,
95 VAR_VAL_OVERRIDE_DATE
= 311,
97 VAR_VAL_CLEAN_ADDITIONAL
= 313,
98 VAR_VAL_PERMISSIVE_MODE
= 314,
99 VAR_INCOMING_NUM_TCP
= 315,
100 VAR_MSG_BUFFER_SIZE
= 316,
101 VAR_KEY_CACHE_SIZE
= 317,
102 VAR_KEY_CACHE_SLABS
= 318,
103 VAR_TRUSTED_KEYS_FILE
= 319,
104 VAR_VAL_NSEC3_KEYSIZE_ITERATIONS
= 320,
105 VAR_USE_SYSLOG
= 321,
106 VAR_OUTGOING_INTERFACE
= 322,
107 VAR_ROOT_HINTS
= 323,
108 VAR_DO_NOT_QUERY_LOCALHOST
= 324,
109 VAR_CACHE_MAX_TTL
= 325,
110 VAR_HARDEN_DNSSEC_STRIPPED
= 326,
111 VAR_ACCESS_CONTROL
= 327,
112 VAR_LOCAL_ZONE
= 328,
113 VAR_LOCAL_DATA
= 329,
114 VAR_INTERFACE_AUTOMATIC
= 330,
115 VAR_STATISTICS_INTERVAL
= 331,
116 VAR_DO_DAEMONIZE
= 332,
117 VAR_USE_CAPS_FOR_ID
= 333,
118 VAR_STATISTICS_CUMULATIVE
= 334,
119 VAR_OUTGOING_PORT_PERMIT
= 335,
120 VAR_OUTGOING_PORT_AVOID
= 336,
121 VAR_DLV_ANCHOR_FILE
= 337,
122 VAR_DLV_ANCHOR
= 338,
123 VAR_NEG_CACHE_SIZE
= 339,
124 VAR_HARDEN_REFERRAL_PATH
= 340,
125 VAR_PRIVATE_ADDRESS
= 341,
126 VAR_PRIVATE_DOMAIN
= 342,
127 VAR_REMOTE_CONTROL
= 343,
128 VAR_CONTROL_ENABLE
= 344,
129 VAR_CONTROL_INTERFACE
= 345,
130 VAR_CONTROL_PORT
= 346,
131 VAR_SERVER_KEY_FILE
= 347,
132 VAR_SERVER_CERT_FILE
= 348,
133 VAR_CONTROL_KEY_FILE
= 349,
134 VAR_CONTROL_CERT_FILE
= 350,
135 VAR_EXTENDED_STATISTICS
= 351,
136 VAR_LOCAL_DATA_PTR
= 352,
137 VAR_JOSTLE_TIMEOUT
= 353,
138 VAR_STUB_PRIME
= 354,
139 VAR_UNWANTED_REPLY_THRESHOLD
= 355,
140 VAR_LOG_TIME_ASCII
= 356,
141 VAR_DOMAIN_INSECURE
= 357,
143 VAR_PYTHON_SCRIPT
= 359,
144 VAR_VAL_SIG_SKEW_MIN
= 360,
145 VAR_VAL_SIG_SKEW_MAX
= 361,
146 VAR_CACHE_MIN_TTL
= 362,
147 VAR_VAL_LOG_LEVEL
= 363,
148 VAR_AUTO_TRUST_ANCHOR_FILE
= 364,
149 VAR_KEEP_MISSING
= 365,
150 VAR_ADD_HOLDDOWN
= 366,
151 VAR_DEL_HOLDDOWN
= 367,
153 VAR_EDNS_BUFFER_SIZE
= 369,
155 VAR_PREFETCH_KEY
= 371,
157 VAR_SO_REUSEPORT
= 373,
158 VAR_HARDEN_BELOW_NXDOMAIN
= 374,
159 VAR_IGNORE_CD_FLAG
= 375,
160 VAR_LOG_QUERIES
= 376,
161 VAR_TCP_UPSTREAM
= 377,
162 VAR_SSL_UPSTREAM
= 378,
163 VAR_SSL_SERVICE_KEY
= 379,
164 VAR_SSL_SERVICE_PEM
= 380,
166 VAR_FORWARD_FIRST
= 382,
167 VAR_STUB_FIRST
= 383,
168 VAR_MINIMAL_RESPONSES
= 384,
169 VAR_RRSET_ROUNDROBIN
= 385,
170 VAR_MAX_UDP_SIZE
= 386,
171 VAR_DELAY_CLOSE
= 387,
172 VAR_UNBLOCK_LAN_ZONES
= 388,
173 VAR_DNS64_PREFIX
= 389,
174 VAR_DNS64_SYNTHALL
= 390,
176 VAR_DNSTAP_ENABLE
= 392,
177 VAR_DNSTAP_SOCKET_PATH
= 393,
178 VAR_DNSTAP_SEND_IDENTITY
= 394,
179 VAR_DNSTAP_SEND_VERSION
= 395,
180 VAR_DNSTAP_IDENTITY
= 396,
181 VAR_DNSTAP_VERSION
= 397,
182 VAR_DNSTAP_LOG_RESOLVER_QUERY_MESSAGES
= 398,
183 VAR_DNSTAP_LOG_RESOLVER_RESPONSE_MESSAGES
= 399,
184 VAR_DNSTAP_LOG_CLIENT_QUERY_MESSAGES
= 400,
185 VAR_DNSTAP_LOG_CLIENT_RESPONSE_MESSAGES
= 401,
186 VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES
= 402,
187 VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES
= 403
198 #define STRING_ARG 265
199 #define VAR_SERVER 266
200 #define VAR_VERBOSITY 267
201 #define VAR_NUM_THREADS 268
203 #define VAR_OUTGOING_RANGE 270
204 #define VAR_INTERFACE 271
205 #define VAR_DO_IP4 272
206 #define VAR_DO_IP6 273
207 #define VAR_DO_UDP 274
208 #define VAR_DO_TCP 275
209 #define VAR_CHROOT 276
210 #define VAR_USERNAME 277
211 #define VAR_DIRECTORY 278
212 #define VAR_LOGFILE 279
213 #define VAR_PIDFILE 280
214 #define VAR_MSG_CACHE_SIZE 281
215 #define VAR_MSG_CACHE_SLABS 282
216 #define VAR_NUM_QUERIES_PER_THREAD 283
217 #define VAR_RRSET_CACHE_SIZE 284
218 #define VAR_RRSET_CACHE_SLABS 285
219 #define VAR_OUTGOING_NUM_TCP 286
220 #define VAR_INFRA_HOST_TTL 287
221 #define VAR_INFRA_LAME_TTL 288
222 #define VAR_INFRA_CACHE_SLABS 289
223 #define VAR_INFRA_CACHE_NUMHOSTS 290
224 #define VAR_INFRA_CACHE_LAME_SIZE 291
226 #define VAR_STUB_ZONE 293
227 #define VAR_STUB_HOST 294
228 #define VAR_STUB_ADDR 295
229 #define VAR_TARGET_FETCH_POLICY 296
230 #define VAR_HARDEN_SHORT_BUFSIZE 297
231 #define VAR_HARDEN_LARGE_QUERIES 298
232 #define VAR_FORWARD_ZONE 299
233 #define VAR_FORWARD_HOST 300
234 #define VAR_FORWARD_ADDR 301
235 #define VAR_DO_NOT_QUERY_ADDRESS 302
236 #define VAR_HIDE_IDENTITY 303
237 #define VAR_HIDE_VERSION 304
238 #define VAR_IDENTITY 305
239 #define VAR_VERSION 306
240 #define VAR_HARDEN_GLUE 307
241 #define VAR_MODULE_CONF 308
242 #define VAR_TRUST_ANCHOR_FILE 309
243 #define VAR_TRUST_ANCHOR 310
244 #define VAR_VAL_OVERRIDE_DATE 311
245 #define VAR_BOGUS_TTL 312
246 #define VAR_VAL_CLEAN_ADDITIONAL 313
247 #define VAR_VAL_PERMISSIVE_MODE 314
248 #define VAR_INCOMING_NUM_TCP 315
249 #define VAR_MSG_BUFFER_SIZE 316
250 #define VAR_KEY_CACHE_SIZE 317
251 #define VAR_KEY_CACHE_SLABS 318
252 #define VAR_TRUSTED_KEYS_FILE 319
253 #define VAR_VAL_NSEC3_KEYSIZE_ITERATIONS 320
254 #define VAR_USE_SYSLOG 321
255 #define VAR_OUTGOING_INTERFACE 322
256 #define VAR_ROOT_HINTS 323
257 #define VAR_DO_NOT_QUERY_LOCALHOST 324
258 #define VAR_CACHE_MAX_TTL 325
259 #define VAR_HARDEN_DNSSEC_STRIPPED 326
260 #define VAR_ACCESS_CONTROL 327
261 #define VAR_LOCAL_ZONE 328
262 #define VAR_LOCAL_DATA 329
263 #define VAR_INTERFACE_AUTOMATIC 330
264 #define VAR_STATISTICS_INTERVAL 331
265 #define VAR_DO_DAEMONIZE 332
266 #define VAR_USE_CAPS_FOR_ID 333
267 #define VAR_STATISTICS_CUMULATIVE 334
268 #define VAR_OUTGOING_PORT_PERMIT 335
269 #define VAR_OUTGOING_PORT_AVOID 336
270 #define VAR_DLV_ANCHOR_FILE 337
271 #define VAR_DLV_ANCHOR 338
272 #define VAR_NEG_CACHE_SIZE 339
273 #define VAR_HARDEN_REFERRAL_PATH 340
274 #define VAR_PRIVATE_ADDRESS 341
275 #define VAR_PRIVATE_DOMAIN 342
276 #define VAR_REMOTE_CONTROL 343
277 #define VAR_CONTROL_ENABLE 344
278 #define VAR_CONTROL_INTERFACE 345
279 #define VAR_CONTROL_PORT 346
280 #define VAR_SERVER_KEY_FILE 347
281 #define VAR_SERVER_CERT_FILE 348
282 #define VAR_CONTROL_KEY_FILE 349
283 #define VAR_CONTROL_CERT_FILE 350
284 #define VAR_EXTENDED_STATISTICS 351
285 #define VAR_LOCAL_DATA_PTR 352
286 #define VAR_JOSTLE_TIMEOUT 353
287 #define VAR_STUB_PRIME 354
288 #define VAR_UNWANTED_REPLY_THRESHOLD 355
289 #define VAR_LOG_TIME_ASCII 356
290 #define VAR_DOMAIN_INSECURE 357
291 #define VAR_PYTHON 358
292 #define VAR_PYTHON_SCRIPT 359
293 #define VAR_VAL_SIG_SKEW_MIN 360
294 #define VAR_VAL_SIG_SKEW_MAX 361
295 #define VAR_CACHE_MIN_TTL 362
296 #define VAR_VAL_LOG_LEVEL 363
297 #define VAR_AUTO_TRUST_ANCHOR_FILE 364
298 #define VAR_KEEP_MISSING 365
299 #define VAR_ADD_HOLDDOWN 366
300 #define VAR_DEL_HOLDDOWN 367
301 #define VAR_SO_RCVBUF 368
302 #define VAR_EDNS_BUFFER_SIZE 369
303 #define VAR_PREFETCH 370
304 #define VAR_PREFETCH_KEY 371
305 #define VAR_SO_SNDBUF 372
306 #define VAR_SO_REUSEPORT 373
307 #define VAR_HARDEN_BELOW_NXDOMAIN 374
308 #define VAR_IGNORE_CD_FLAG 375
309 #define VAR_LOG_QUERIES 376
310 #define VAR_TCP_UPSTREAM 377
311 #define VAR_SSL_UPSTREAM 378
312 #define VAR_SSL_SERVICE_KEY 379
313 #define VAR_SSL_SERVICE_PEM 380
314 #define VAR_SSL_PORT 381
315 #define VAR_FORWARD_FIRST 382
316 #define VAR_STUB_FIRST 383
317 #define VAR_MINIMAL_RESPONSES 384
318 #define VAR_RRSET_ROUNDROBIN 385
319 #define VAR_MAX_UDP_SIZE 386
320 #define VAR_DELAY_CLOSE 387
321 #define VAR_UNBLOCK_LAN_ZONES 388
322 #define VAR_DNS64_PREFIX 389
323 #define VAR_DNS64_SYNTHALL 390
324 #define VAR_DNSTAP 391
325 #define VAR_DNSTAP_ENABLE 392
326 #define VAR_DNSTAP_SOCKET_PATH 393
327 #define VAR_DNSTAP_SEND_IDENTITY 394
328 #define VAR_DNSTAP_SEND_VERSION 395
329 #define VAR_DNSTAP_IDENTITY 396
330 #define VAR_DNSTAP_VERSION 397
331 #define VAR_DNSTAP_LOG_RESOLVER_QUERY_MESSAGES 398
332 #define VAR_DNSTAP_LOG_RESOLVER_RESPONSE_MESSAGES 399
333 #define VAR_DNSTAP_LOG_CLIENT_QUERY_MESSAGES 400
334 #define VAR_DNSTAP_LOG_CLIENT_RESPONSE_MESSAGES 401
335 #define VAR_DNSTAP_LOG_FORWARDER_QUERY_MESSAGES 402
336 #define VAR_DNSTAP_LOG_FORWARDER_RESPONSE_MESSAGES 403
341 #if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
342 typedef union YYSTYPE
343 #line 64 "./util/configparser.y"
347 /* Line 1529 of yacc.c. */
348 #line 349 "util/configparser.h"
350 # define yystype YYSTYPE /* obsolescent; will be withdrawn */
351 # define YYSTYPE_IS_DECLARED 1
352 # define YYSTYPE_IS_TRIVIAL 1
355 extern YYSTYPE yylval
;