1897 lines
66 KiB
C
1897 lines
66 KiB
C
/* $NetBSD: rdatastruct.h,v 1.3 2005/12/22 00:19:00 christos Exp */
|
|
|
|
/*
|
|
* Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2003 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/***************
|
|
***************
|
|
*************** THIS FILE IS AUTOMATICALLY GENERATED BY gen.c.
|
|
*************** DO NOT EDIT!
|
|
***************
|
|
***************/
|
|
|
|
/*! \file */
|
|
|
|
/*
|
|
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* Id: rdatastructpre.h,v 1.14 2004/03/05 05:10:04 marka Exp */
|
|
|
|
#ifndef DNS_RDATASTRUCT_H
|
|
#define DNS_RDATASTRUCT_H 1
|
|
|
|
#include <isc/lang.h>
|
|
#include <isc/sockaddr.h>
|
|
|
|
#include <dns/name.h>
|
|
#include <dns/types.h>
|
|
|
|
ISC_LANG_BEGINDECLS
|
|
|
|
typedef struct dns_rdatacommon {
|
|
dns_rdataclass_t rdclass;
|
|
dns_rdatatype_t rdtype;
|
|
ISC_LINK(struct dns_rdatacommon) link;
|
|
} dns_rdatacommon_t;
|
|
|
|
#define DNS_RDATACOMMON_INIT(_data, _rdtype, _rdclass) \
|
|
do { \
|
|
(_data)->common.rdtype = (_rdtype); \
|
|
(_data)->common.rdclass = (_rdclass); \
|
|
ISC_LINK_INIT(&(_data)->common, link); \
|
|
} while (0)
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef IN_1_A_1_H
|
|
#define IN_1_A_1_H 1
|
|
|
|
/* Id: a_1.h,v 1.24.18.2 2005/04/29 00:16:41 marka Exp */
|
|
|
|
typedef struct dns_rdata_in_a {
|
|
dns_rdatacommon_t common;
|
|
struct in_addr in_addr;
|
|
} dns_rdata_in_a_t;
|
|
|
|
#endif /* IN_1_A_1_H */
|
|
/*
|
|
* Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* Id: a_1.h,v 1.2.2.2 2005/06/05 00:02:22 marka Exp */
|
|
|
|
/* by Bjorn.Victor@it.uu.se, 2005-05-07 */
|
|
/* Based on generic/mx_15.h */
|
|
|
|
#ifndef CH_3_A_1_H
|
|
#define CH_3_A_1_H 1
|
|
|
|
typedef isc_uint16_t ch_addr_t;
|
|
|
|
typedef struct dns_rdata_ch_a {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t ch_addr_dom; /* ch-addr domain for back mapping */
|
|
ch_addr_t ch_addr; /* chaos address (16 bit) network order */
|
|
} dns_rdata_ch_a_t;
|
|
|
|
#endif /* CH_3_A_1_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef HS_4_A_1_H
|
|
#define HS_4_A_1_H 1
|
|
|
|
/* Id: a_1.h,v 1.8.18.2 2005/04/29 00:16:41 marka Exp */
|
|
|
|
typedef struct dns_rdata_hs_a {
|
|
dns_rdatacommon_t common;
|
|
struct in_addr in_addr;
|
|
} dns_rdata_hs_a_t;
|
|
|
|
#endif /* HS_4_A_1_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_NS_2_H
|
|
#define GENERIC_NS_2_H 1
|
|
|
|
/* Id: ns_2.h,v 1.23.18.2 2005/04/29 00:16:37 marka Exp */
|
|
|
|
typedef struct dns_rdata_ns {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t name;
|
|
} dns_rdata_ns_t;
|
|
|
|
|
|
#endif /* GENERIC_NS_2_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_MD_3_H
|
|
#define GENERIC_MD_3_H 1
|
|
|
|
/* Id: md_3.h,v 1.24.18.2 2005/04/29 00:16:35 marka Exp */
|
|
|
|
typedef struct dns_rdata_md {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t md;
|
|
} dns_rdata_md_t;
|
|
|
|
|
|
#endif /* GENERIC_MD_3_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_MF_4_H
|
|
#define GENERIC_MF_4_H 1
|
|
|
|
/* Id: mf_4.h,v 1.22.18.2 2005/04/29 00:16:35 marka Exp */
|
|
|
|
typedef struct dns_rdata_mf {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t mf;
|
|
} dns_rdata_mf_t;
|
|
|
|
#endif /* GENERIC_MF_4_H */
|
|
/*
|
|
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* Id: cname_5.h,v 1.24 2004/03/05 05:10:10 marka Exp */
|
|
|
|
#ifndef GENERIC_CNAME_5_H
|
|
#define GENERIC_CNAME_5_H 1
|
|
|
|
typedef struct dns_rdata_cname {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t cname;
|
|
} dns_rdata_cname_t;
|
|
|
|
#endif /* GENERIC_CNAME_5_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_SOA_6_H
|
|
#define GENERIC_SOA_6_H 1
|
|
|
|
/* Id: soa_6.h,v 1.28.18.2 2005/04/29 00:16:40 marka Exp */
|
|
|
|
typedef struct dns_rdata_soa {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t origin;
|
|
dns_name_t contact;
|
|
isc_uint32_t serial; /*%< host order */
|
|
isc_uint32_t refresh; /*%< host order */
|
|
isc_uint32_t retry; /*%< host order */
|
|
isc_uint32_t expire; /*%< host order */
|
|
isc_uint32_t minimum; /*%< host order */
|
|
} dns_rdata_soa_t;
|
|
|
|
|
|
#endif /* GENERIC_SOA_6_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_MB_7_H
|
|
#define GENERIC_MB_7_H 1
|
|
|
|
/* Id: mb_7.h,v 1.23.18.2 2005/04/29 00:16:34 marka Exp */
|
|
|
|
typedef struct dns_rdata_mb {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t mb;
|
|
} dns_rdata_mb_t;
|
|
|
|
#endif /* GENERIC_MB_7_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_MG_8_H
|
|
#define GENERIC_MG_8_H 1
|
|
|
|
/* Id: mg_8.h,v 1.22.18.2 2005/04/29 00:16:35 marka Exp */
|
|
|
|
typedef struct dns_rdata_mg {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t mg;
|
|
} dns_rdata_mg_t;
|
|
|
|
#endif /* GENERIC_MG_8_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_MR_9_H
|
|
#define GENERIC_MR_9_H 1
|
|
|
|
/* Id: mr_9.h,v 1.22.18.2 2005/04/29 00:16:36 marka Exp */
|
|
|
|
typedef struct dns_rdata_mr {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t mr;
|
|
} dns_rdata_mr_t;
|
|
|
|
#endif /* GENERIC_MR_9_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_NULL_10_H
|
|
#define GENERIC_NULL_10_H 1
|
|
|
|
/* Id: null_10.h,v 1.21.18.2 2005/04/29 00:16:37 marka Exp */
|
|
|
|
typedef struct dns_rdata_null {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint16_t length;
|
|
unsigned char *data;
|
|
} dns_rdata_null_t;
|
|
|
|
|
|
#endif /* GENERIC_NULL_10_H */
|
|
/*
|
|
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef IN_1_WKS_11_H
|
|
#define IN_1_WKS_11_H 1
|
|
|
|
/* Id: wks_11.h,v 1.20 2004/03/05 05:10:25 marka Exp */
|
|
|
|
typedef struct dns_rdata_in_wks {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
struct in_addr in_addr;
|
|
isc_uint16_t protocol;
|
|
unsigned char *map;
|
|
isc_uint16_t map_len;
|
|
} dns_rdata_in_wks_t;
|
|
|
|
#endif /* IN_1_WKS_11_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_PTR_12_H
|
|
#define GENERIC_PTR_12_H 1
|
|
|
|
/* Id: ptr_12.h,v 1.23.18.2 2005/04/29 00:16:39 marka Exp */
|
|
|
|
typedef struct dns_rdata_ptr {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t ptr;
|
|
} dns_rdata_ptr_t;
|
|
|
|
#endif /* GENERIC_PTR_12_H */
|
|
/*
|
|
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_HINFO_13_H
|
|
#define GENERIC_HINFO_13_H 1
|
|
|
|
/* Id: hinfo_13.h,v 1.23 2004/03/05 05:10:12 marka Exp */
|
|
|
|
typedef struct dns_rdata_hinfo {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
char *cpu;
|
|
char *os;
|
|
isc_uint8_t cpu_len;
|
|
isc_uint8_t os_len;
|
|
} dns_rdata_hinfo_t;
|
|
|
|
#endif /* GENERIC_HINFO_13_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_MINFO_14_H
|
|
#define GENERIC_MINFO_14_H 1
|
|
|
|
/* Id: minfo_14.h,v 1.23.18.2 2005/04/29 00:16:35 marka Exp */
|
|
|
|
typedef struct dns_rdata_minfo {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t rmailbox;
|
|
dns_name_t emailbox;
|
|
} dns_rdata_minfo_t;
|
|
|
|
#endif /* GENERIC_MINFO_14_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_MX_15_H
|
|
#define GENERIC_MX_15_H 1
|
|
|
|
/* Id: mx_15.h,v 1.25.18.2 2005/04/29 00:16:36 marka Exp */
|
|
|
|
typedef struct dns_rdata_mx {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint16_t pref;
|
|
dns_name_t mx;
|
|
} dns_rdata_mx_t;
|
|
|
|
#endif /* GENERIC_MX_15_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_TXT_16_H
|
|
#define GENERIC_TXT_16_H 1
|
|
|
|
/* Id: txt_16.h,v 1.24.18.2 2005/04/29 00:16:40 marka Exp */
|
|
|
|
typedef struct dns_rdata_txt_string {
|
|
isc_uint8_t length;
|
|
unsigned char *data;
|
|
} dns_rdata_txt_string_t;
|
|
|
|
typedef struct dns_rdata_txt {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
unsigned char *txt;
|
|
isc_uint16_t txt_len;
|
|
/* private */
|
|
isc_uint16_t offset;
|
|
} dns_rdata_txt_t;
|
|
|
|
/*
|
|
* ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
|
|
* via rdatastructpre.h and rdatastructsuf.h.
|
|
*/
|
|
|
|
isc_result_t
|
|
dns_rdata_txt_first(dns_rdata_txt_t *);
|
|
|
|
isc_result_t
|
|
dns_rdata_txt_next(dns_rdata_txt_t *);
|
|
|
|
isc_result_t
|
|
dns_rdata_txt_current(dns_rdata_txt_t *, dns_rdata_txt_string_t *);
|
|
|
|
#endif /* GENERIC_TXT_16_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_RP_17_H
|
|
#define GENERIC_RP_17_H 1
|
|
|
|
/* Id: rp_17.h,v 1.17.18.2 2005/04/29 00:16:39 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC1183 */
|
|
|
|
typedef struct dns_rdata_rp {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t mail;
|
|
dns_name_t text;
|
|
} dns_rdata_rp_t;
|
|
|
|
|
|
#endif /* GENERIC_RP_17_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_AFSDB_18_H
|
|
#define GENERIC_AFSDB_18_H 1
|
|
|
|
/* Id: afsdb_18.h,v 1.16.18.2 2005/04/29 00:16:30 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC1183 */
|
|
|
|
typedef struct dns_rdata_afsdb {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint16_t subtype;
|
|
dns_name_t server;
|
|
} dns_rdata_afsdb_t;
|
|
|
|
#endif /* GENERIC_AFSDB_18_H */
|
|
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_X25_19_H
|
|
#define GENERIC_X25_19_H 1
|
|
|
|
/* Id: x25_19.h,v 1.14.18.2 2005/04/29 00:16:40 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC1183 */
|
|
|
|
typedef struct dns_rdata_x25 {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
unsigned char *x25;
|
|
isc_uint8_t x25_len;
|
|
} dns_rdata_x25_t;
|
|
|
|
#endif /* GENERIC_X25_19_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_ISDN_20_H
|
|
#define GENERIC_ISDN_20_H 1
|
|
|
|
/* Id: isdn_20.h,v 1.14.18.2 2005/04/29 00:16:33 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC1183 */
|
|
|
|
typedef struct dns_rdata_isdn {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
char *isdn;
|
|
char *subaddress;
|
|
isc_uint8_t isdn_len;
|
|
isc_uint8_t subaddress_len;
|
|
} dns_rdata_isdn_t;
|
|
|
|
#endif /* GENERIC_ISDN_20_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_RT_21_H
|
|
#define GENERIC_RT_21_H 1
|
|
|
|
/* Id: rt_21.h,v 1.17.18.2 2005/04/29 00:16:40 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC1183 */
|
|
|
|
typedef struct dns_rdata_rt {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint16_t preference;
|
|
dns_name_t host;
|
|
} dns_rdata_rt_t;
|
|
|
|
#endif /* GENERIC_RT_21_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef IN_1_NSAP_22_H
|
|
#define IN_1_NSAP_22_H 1
|
|
|
|
/* Id: nsap_22.h,v 1.14.18.2 2005/04/29 00:16:43 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC1706 */
|
|
|
|
typedef struct dns_rdata_in_nsap {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
unsigned char *nsap;
|
|
isc_uint16_t nsap_len;
|
|
} dns_rdata_in_nsap_t;
|
|
|
|
#endif /* IN_1_NSAP_22_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef IN_1_NSAP_PTR_23_H
|
|
#define IN_1_NSAP_PTR_23_H 1
|
|
|
|
/* Id: nsap-ptr_23.h,v 1.15.18.2 2005/04/29 00:16:43 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC1348. Obsoleted in RFC 1706 - use PTR instead. */
|
|
|
|
typedef struct dns_rdata_in_nsap_ptr {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t owner;
|
|
} dns_rdata_in_nsap_ptr_t;
|
|
|
|
#endif /* IN_1_NSAP_PTR_23_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_SIG_24_H
|
|
#define GENERIC_SIG_24_H 1
|
|
|
|
/* Id: sig_24.h,v 1.22.18.2 2005/04/29 00:16:40 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC2535 */
|
|
|
|
typedef struct dns_rdata_sig_t {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t * mctx;
|
|
dns_rdatatype_t covered;
|
|
dns_secalg_t algorithm;
|
|
isc_uint8_t labels;
|
|
isc_uint32_t originalttl;
|
|
isc_uint32_t timeexpire;
|
|
isc_uint32_t timesigned;
|
|
isc_uint16_t keyid;
|
|
dns_name_t signer;
|
|
isc_uint16_t siglen;
|
|
unsigned char * signature;
|
|
} dns_rdata_sig_t;
|
|
|
|
|
|
#endif /* GENERIC_SIG_24_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_KEY_25_H
|
|
#define GENERIC_KEY_25_H 1
|
|
|
|
/* Id: key_25.h,v 1.15.18.2 2005/04/29 00:16:33 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC2535 */
|
|
|
|
typedef struct dns_rdata_key_t {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t * mctx;
|
|
isc_uint16_t flags;
|
|
isc_uint8_t protocol;
|
|
isc_uint8_t algorithm;
|
|
isc_uint16_t datalen;
|
|
unsigned char * data;
|
|
} dns_rdata_key_t;
|
|
|
|
|
|
#endif /* GENERIC_KEY_25_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef IN_1_PX_26_H
|
|
#define IN_1_PX_26_H 1
|
|
|
|
/* Id: px_26.h,v 1.15.18.2 2005/04/29 00:16:43 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC2163 */
|
|
|
|
typedef struct dns_rdata_in_px {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint16_t preference;
|
|
dns_name_t map822;
|
|
dns_name_t mapx400;
|
|
} dns_rdata_in_px_t;
|
|
|
|
#endif /* IN_1_PX_26_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_GPOS_27_H
|
|
#define GENERIC_GPOS_27_H 1
|
|
|
|
/* Id: gpos_27.h,v 1.13.18.2 2005/04/29 00:16:32 marka Exp */
|
|
|
|
/*!
|
|
* \brief per RFC1712 */
|
|
|
|
typedef struct dns_rdata_gpos {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
char *longitude;
|
|
char *latitude;
|
|
char *altitude;
|
|
isc_uint8_t long_len;
|
|
isc_uint8_t lat_len;
|
|
isc_uint8_t alt_len;
|
|
} dns_rdata_gpos_t;
|
|
|
|
#endif /* GENERIC_GPOS_27_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef IN_1_AAAA_28_H
|
|
#define IN_1_AAAA_28_H 1
|
|
|
|
/* Id: aaaa_28.h,v 1.17.18.2 2005/04/29 00:16:42 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC1886 */
|
|
|
|
typedef struct dns_rdata_in_aaaa {
|
|
dns_rdatacommon_t common;
|
|
struct in6_addr in6_addr;
|
|
} dns_rdata_in_aaaa_t;
|
|
|
|
#endif /* IN_1_AAAA_28_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_LOC_29_H
|
|
#define GENERIC_LOC_29_H 1
|
|
|
|
/* Id: loc_29.h,v 1.15.18.2 2005/04/29 00:16:34 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC1876 */
|
|
|
|
typedef struct dns_rdata_loc_0 {
|
|
isc_uint8_t version; /* must be first and zero */
|
|
isc_uint8_t size;
|
|
isc_uint8_t horizontal;
|
|
isc_uint8_t vertical;
|
|
isc_uint32_t latitude;
|
|
isc_uint32_t longitude;
|
|
isc_uint32_t altitude;
|
|
} dns_rdata_loc_0_t;
|
|
|
|
typedef struct dns_rdata_loc {
|
|
dns_rdatacommon_t common;
|
|
union {
|
|
dns_rdata_loc_0_t v0;
|
|
} v;
|
|
} dns_rdata_loc_t;
|
|
|
|
#endif /* GENERIC_LOC_29_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2002 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_NXT_30_H
|
|
#define GENERIC_NXT_30_H 1
|
|
|
|
/* Id: nxt_30.h,v 1.21.18.2 2005/04/29 00:16:38 marka Exp */
|
|
|
|
/*!
|
|
* \brief RFC2535 */
|
|
|
|
typedef struct dns_rdata_nxt {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t next;
|
|
unsigned char *typebits;
|
|
isc_uint16_t len;
|
|
} dns_rdata_nxt_t;
|
|
|
|
#endif /* GENERIC_NXT_30_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef IN_1_SRV_33_H
|
|
#define IN_1_SRV_33_H 1
|
|
|
|
/* Id: srv_33.h,v 1.15.18.2 2005/04/29 00:16:43 marka Exp */
|
|
|
|
/* Reviewed: Fri Mar 17 13:01:00 PST 2000 by bwelling */
|
|
|
|
/*!
|
|
* \brief Per RFC2782 */
|
|
|
|
typedef struct dns_rdata_in_srv {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint16_t priority;
|
|
isc_uint16_t weight;
|
|
isc_uint16_t port;
|
|
dns_name_t target;
|
|
} dns_rdata_in_srv_t;
|
|
|
|
#endif /* IN_1_SRV_33_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef IN_1_NAPTR_35_H
|
|
#define IN_1_NAPTR_35_H 1
|
|
|
|
/* Id: naptr_35.h,v 1.19.18.2 2005/04/29 00:16:42 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC2915 */
|
|
|
|
typedef struct dns_rdata_in_naptr {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint16_t order;
|
|
isc_uint16_t preference;
|
|
char *flags;
|
|
isc_uint8_t flags_len;
|
|
char *service;
|
|
isc_uint8_t service_len;
|
|
char *regexp;
|
|
isc_uint8_t regexp_len;
|
|
dns_name_t replacement;
|
|
} dns_rdata_in_naptr_t;
|
|
|
|
#endif /* IN_1_NAPTR_35_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef IN_1_KX_36_H
|
|
#define IN_1_KX_36_H 1
|
|
|
|
/* Id: kx_36.h,v 1.16.18.2 2005/04/29 00:16:42 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC2230 */
|
|
|
|
typedef struct dns_rdata_in_kx {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint16_t preference;
|
|
dns_name_t exchange;
|
|
} dns_rdata_in_kx_t;
|
|
|
|
#endif /* IN_1_KX_36_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* Id: cert_37.h,v 1.16.18.2 2005/04/29 00:16:31 marka Exp */
|
|
|
|
#ifndef GENERIC_CERT_37_H
|
|
#define GENERIC_CERT_37_H 1
|
|
|
|
/*% RFC2538 */
|
|
typedef struct dns_rdata_cert {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint16_t type;
|
|
isc_uint16_t key_tag;
|
|
isc_uint8_t algorithm;
|
|
isc_uint16_t length;
|
|
unsigned char *certificate;
|
|
} dns_rdata_cert_t;
|
|
|
|
#endif /* GENERIC_CERT_37_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef IN_1_A6_38_H
|
|
#define IN_1_A6_38_H 1
|
|
|
|
/* Id: a6_38.h,v 1.20.18.2 2005/04/29 00:16:41 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC2874 */
|
|
|
|
typedef struct dns_rdata_in_a6 {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t prefix;
|
|
isc_uint8_t prefixlen;
|
|
struct in6_addr in6_addr;
|
|
} dns_rdata_in_a6_t;
|
|
|
|
#endif /* IN_1_A6_38_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_DNAME_39_H
|
|
#define GENERIC_DNAME_39_H 1
|
|
|
|
/* Id: dname_39.h,v 1.17.18.2 2005/04/29 00:16:31 marka Exp */
|
|
|
|
/*!
|
|
* \brief per RFC2672 */
|
|
|
|
typedef struct dns_rdata_dname {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t dname;
|
|
} dns_rdata_dname_t;
|
|
|
|
#endif /* GENERIC_DNAME_39_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_OPT_41_H
|
|
#define GENERIC_OPT_41_H 1
|
|
|
|
/* Id: opt_41.h,v 1.14.18.2 2005/04/29 00:16:38 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC2671 */
|
|
|
|
typedef struct dns_rdata_opt_opcode {
|
|
isc_uint16_t opcode;
|
|
isc_uint16_t length;
|
|
unsigned char *data;
|
|
} dns_rdata_opt_opcode_t;
|
|
|
|
typedef struct dns_rdata_opt {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
unsigned char *options;
|
|
isc_uint16_t length;
|
|
/* private */
|
|
isc_uint16_t offset;
|
|
} dns_rdata_opt_t;
|
|
|
|
/*
|
|
* ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
|
|
* via rdatastructpre.h and rdatastructsuf.h.
|
|
*/
|
|
|
|
isc_result_t
|
|
dns_rdata_opt_first(dns_rdata_opt_t *);
|
|
|
|
isc_result_t
|
|
dns_rdata_opt_next(dns_rdata_opt_t *);
|
|
|
|
isc_result_t
|
|
dns_rdata_opt_current(dns_rdata_opt_t *, dns_rdata_opt_opcode_t *);
|
|
|
|
#endif /* GENERIC_OPT_41_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 2002 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef IN_1_APL_42_H
|
|
#define IN_1_APL_42_H 1
|
|
|
|
/* Id: apl_42.h,v 1.2.18.2 2005/04/29 00:16:42 marka Exp */
|
|
|
|
typedef struct dns_rdata_apl_ent {
|
|
isc_boolean_t negative;
|
|
isc_uint16_t family;
|
|
isc_uint8_t prefix;
|
|
isc_uint8_t length;
|
|
unsigned char *data;
|
|
} dns_rdata_apl_ent_t;
|
|
|
|
typedef struct dns_rdata_in_apl {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
/* type & class specific elements */
|
|
unsigned char *apl;
|
|
isc_uint16_t apl_len;
|
|
/* private */
|
|
isc_uint16_t offset;
|
|
} dns_rdata_in_apl_t;
|
|
|
|
/*
|
|
* ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
|
|
* via rdatastructpre.h and rdatastructsuf.h.
|
|
*/
|
|
|
|
isc_result_t
|
|
dns_rdata_apl_first(dns_rdata_in_apl_t *);
|
|
|
|
isc_result_t
|
|
dns_rdata_apl_next(dns_rdata_in_apl_t *);
|
|
|
|
isc_result_t
|
|
dns_rdata_apl_current(dns_rdata_in_apl_t *, dns_rdata_apl_ent_t *);
|
|
|
|
#endif /* IN_1_APL_42_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 2002 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* Id: ds_43.h,v 1.3.20.2 2005/04/29 00:16:32 marka Exp */
|
|
|
|
#ifndef GENERIC_DS_43_H
|
|
#define GENERIC_DS_43_H 1
|
|
|
|
/*!
|
|
* \brief per draft-ietf-dnsext-delegation-signer-05.txt */
|
|
typedef struct dns_rdata_ds {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint16_t key_tag;
|
|
isc_uint8_t algorithm;
|
|
isc_uint8_t digest_type;
|
|
isc_uint16_t length;
|
|
unsigned char *digest;
|
|
} dns_rdata_ds_t;
|
|
|
|
#endif /* GENERIC_DS_43_H */
|
|
/*
|
|
* Copyright (C) 2004-2006 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 2003 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* Id: sshfp_44.h,v 1.2.18.3 2006/03/10 04:04:32 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC 4255 */
|
|
|
|
#ifndef GENERIC_SSHFP_44_H
|
|
#define GENERIC_SSHFP_44_H 1
|
|
|
|
typedef struct dns_rdata_sshfp {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint8_t algorithm;
|
|
isc_uint8_t digest_type;
|
|
isc_uint16_t length;
|
|
unsigned char *digest;
|
|
} dns_rdata_sshfp_t;
|
|
|
|
#endif /* GENERIC_SSHFP_44_H */
|
|
/*
|
|
* Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* Id: ipseckey_45.h,v 1.2.2.1 2005/07/07 03:17:36 marka Exp */
|
|
|
|
#ifndef GENERIC_IPSECKEY_45_H
|
|
#define GENERIC_IPSECKEY_45_H 1
|
|
|
|
typedef struct dns_rdata_ipseckey {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint8_t precedence;
|
|
isc_uint8_t gateway_type;
|
|
isc_uint8_t algorithm;
|
|
struct in_addr in_addr; /* gateway type 1 */
|
|
struct in6_addr in6_addr; /* gateway type 2 */
|
|
dns_name_t gateway; /* gateway type 3 */
|
|
unsigned char *key;
|
|
isc_uint16_t keylength;
|
|
} dns_rdata_ipseckey_t;
|
|
|
|
#endif /* GENERIC_IPSECKEY_45_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 2003 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_DNSSIG_46_H
|
|
#define GENERIC_DNSSIG_46_H 1
|
|
|
|
/* Id: rrsig_46.h,v 1.3.20.2 2005/04/29 00:16:39 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per RFC2535 */
|
|
typedef struct dns_rdata_rrsig {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t * mctx;
|
|
dns_rdatatype_t covered;
|
|
dns_secalg_t algorithm;
|
|
isc_uint8_t labels;
|
|
isc_uint32_t originalttl;
|
|
isc_uint32_t timeexpire;
|
|
isc_uint32_t timesigned;
|
|
isc_uint16_t keyid;
|
|
dns_name_t signer;
|
|
isc_uint16_t siglen;
|
|
unsigned char * signature;
|
|
} dns_rdata_rrsig_t;
|
|
|
|
|
|
#endif /* GENERIC_DNSSIG_46_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 2003 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_NSEC_47_H
|
|
#define GENERIC_NSEC_47_H 1
|
|
|
|
/* Id: nsec_47.h,v 1.4.20.2 2005/04/29 00:16:37 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per draft-ietf-dnsext-nsec-rdata-01.txt */
|
|
|
|
typedef struct dns_rdata_nsec {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
dns_name_t next;
|
|
unsigned char *typebits;
|
|
isc_uint16_t len;
|
|
} dns_rdata_nsec_t;
|
|
|
|
#endif /* GENERIC_NSEC_47_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 2003 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_DNSKEY_48_H
|
|
#define GENERIC_DNSKEY_48_H 1
|
|
|
|
/* Id: dnskey_48.h,v 1.3.20.2 2005/04/29 00:16:32 marka Exp */
|
|
|
|
/*!
|
|
* \brief per RFC2535 */
|
|
|
|
typedef struct dns_rdata_dnskey {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t * mctx;
|
|
isc_uint16_t flags;
|
|
isc_uint8_t protocol;
|
|
isc_uint8_t algorithm;
|
|
isc_uint16_t datalen;
|
|
unsigned char * data;
|
|
} dns_rdata_dnskey_t;
|
|
|
|
|
|
#endif /* GENERIC_DNSKEY_48_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1998-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_SPF_99_H
|
|
#define GENERIC_SPF_99_H 1
|
|
|
|
/* Id: spf_99.h,v 1.1.2.2 2005/07/16 00:40:54 marka Exp */
|
|
|
|
typedef struct dns_rdata_spf_string {
|
|
isc_uint8_t length;
|
|
unsigned char *data;
|
|
} dns_rdata_spf_string_t;
|
|
|
|
typedef struct dns_rdata_spf {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
unsigned char *txt;
|
|
isc_uint16_t txt_len;
|
|
/* private */
|
|
isc_uint16_t offset;
|
|
} dns_rdata_spf_t;
|
|
|
|
/*
|
|
* ISC_LANG_BEGINDECLS and ISC_LANG_ENDDECLS are already done
|
|
* via rdatastructpre.h and rdatastructsuf.h.
|
|
*/
|
|
|
|
isc_result_t
|
|
dns_rdata_spf_first(dns_rdata_spf_t *);
|
|
|
|
isc_result_t
|
|
dns_rdata_spf_next(dns_rdata_spf_t *);
|
|
|
|
isc_result_t
|
|
dns_rdata_spf_current(dns_rdata_spf_t *, dns_rdata_spf_string_t *);
|
|
|
|
#endif /* GENERIC_SPF_99_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* */
|
|
#ifndef GENERIC_UNSPEC_103_H
|
|
#define GENERIC_UNSPEC_103_H 1
|
|
|
|
/* Id: unspec_103.h,v 1.13.18.2 2005/04/29 00:16:40 marka Exp */
|
|
|
|
typedef struct dns_rdata_unspec_t {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
unsigned char *data;
|
|
isc_uint16_t datalen;
|
|
} dns_rdata_unspec_t;
|
|
|
|
#endif /* GENERIC_UNSPEC_103_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001, 2003 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
#ifndef GENERIC_TKEY_249_H
|
|
#define GENERIC_TKEY_249_H 1
|
|
|
|
/* Id: tkey_249.h,v 1.20.18.2 2005/04/29 00:16:40 marka Exp */
|
|
|
|
/*!
|
|
* \brief Per draft-ietf-dnsind-tkey-00.txt */
|
|
|
|
typedef struct dns_rdata_tkey {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t * mctx;
|
|
dns_name_t algorithm;
|
|
isc_uint32_t inception;
|
|
isc_uint32_t expire;
|
|
isc_uint16_t mode;
|
|
isc_uint16_t error;
|
|
isc_uint16_t keylen;
|
|
unsigned char * key;
|
|
isc_uint16_t otherlen;
|
|
unsigned char * other;
|
|
} dns_rdata_tkey_t;
|
|
|
|
|
|
#endif /* GENERIC_TKEY_249_H */
|
|
/*
|
|
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* Id: tsig_250.h,v 1.21.18.2 2005/04/29 00:16:29 marka Exp */
|
|
|
|
#ifndef ANY_255_TSIG_250_H
|
|
#define ANY_255_TSIG_250_H 1
|
|
|
|
/*% RFC2845 */
|
|
typedef struct dns_rdata_any_tsig {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t * mctx;
|
|
dns_name_t algorithm;
|
|
isc_uint64_t timesigned;
|
|
isc_uint16_t fudge;
|
|
isc_uint16_t siglen;
|
|
unsigned char * signature;
|
|
isc_uint16_t originalid;
|
|
isc_uint16_t error;
|
|
isc_uint16_t otherlen;
|
|
unsigned char * other;
|
|
} dns_rdata_any_tsig_t;
|
|
|
|
#endif /* ANY_255_TSIG_250_H */
|
|
/*
|
|
* Copyright (C) 2004, 2006 Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* Id: dlv_32769.h,v 1.2.2.2 2006/02/19 06:50:47 marka Exp */
|
|
|
|
/* draft-ietf-dnsext-delegation-signer-05.txt */
|
|
#ifndef GENERIC_DLV_32769_H
|
|
#define GENERIC_DLV_32769_H 1
|
|
|
|
typedef struct dns_rdata_dlv {
|
|
dns_rdatacommon_t common;
|
|
isc_mem_t *mctx;
|
|
isc_uint16_t key_tag;
|
|
isc_uint8_t algorithm;
|
|
isc_uint8_t digest_type;
|
|
isc_uint16_t length;
|
|
unsigned char *digest;
|
|
} dns_rdata_dlv_t;
|
|
|
|
#endif /* GENERIC_DLV_32769_H */
|
|
/*
|
|
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2001 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* Id: rdatastructsuf.h,v 1.8 2004/03/05 05:10:04 marka Exp */
|
|
|
|
ISC_LANG_ENDDECLS
|
|
|
|
#endif /* DNS_RDATASTRUCT_H */
|