xref: /netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/nsec_47.h (revision 2718af68c3efc72c9769069b5c7f9ed36f6b9def)
1 /*	$NetBSD: nsec_47.h,v 1.5 2021/02/19 16:42:17 christos Exp $	*/
2 
3 /*
4  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
5  *
6  * This Source Code Form is subject to the terms of the Mozilla Public
7  * License, v. 2.0. If a copy of the MPL was not distributed with this
8  * file, you can obtain one at https://mozilla.org/MPL/2.0/.
9  *
10  * See the COPYRIGHT file distributed with this work for additional
11  * information regarding copyright ownership.
12  */
13 
14 #ifndef GENERIC_NSEC_47_H
15 #define GENERIC_NSEC_47_H 1
16 
17 /*!
18  * \brief Per RFC 3845 */
19 
20 typedef struct dns_rdata_nsec {
21 	dns_rdatacommon_t common;
22 	isc_mem_t *mctx;
23 	dns_name_t next;
24 	unsigned char *typebits;
25 	uint16_t len;
26 } dns_rdata_nsec_t;
27 
28 #endif /* GENERIC_NSEC_47_H */
29