1 /*
2  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  *
8  * See the COPYRIGHT file distributed with this work for additional
9  * information regarding copyright ownership.
10  */
11 
12 #ifndef DNS_EDNS_H
13 #define DNS_EDNS_H 1
14 
15 /*%
16  * The maximum version on EDNS supported by this build.
17  */
18 #define DNS_EDNS_VERSION 0
19 #ifdef DRAFT_ANDREWS_EDNS1
20 #undef DNS_EDNS_VERSION
21 /*
22  * Warning: this currently disables sending COOKIE requests in resolver.c
23  */
24 #define DNS_EDNS_VERSION 1 /* draft-andrews-edns1 */
25 #endif			   /* ifdef DRAFT_ANDREWS_EDNS1 */
26 
27 #endif /* ifndef DNS_EDNS_H */
28