ptr_12.c revision 67a1122d50d24747976844db61a2c994a9b8b1e4
/*
* Copyright (C) 1998-2001, 2004, 2007, 2009, 2015-2017 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id: ptr_12.c,v 1.45 2009/12/04 22:06:37 tbox Exp $ */
/* Reviewed: Thu Mar 16 14:05:12 PST 2000 by explorer */
#ifndef RDATA_GENERIC_PTR_12_C
#define RDATA_GENERIC_PTR_12_C
#define RRTYPE_PTR_ATTRIBUTES (0)
static inline isc_result_t
ISC_FALSE));
if (rdclass == dns_rdataclass_in &&
(options & DNS_RDATA_CHECKNAMES) != 0 &&
(options & DNS_RDATA_CHECKREVERSE) != 0) {
}
return (ISC_R_SUCCESS);
}
static inline isc_result_t
}
static inline isc_result_t
}
static inline isc_result_t
}
static inline int
}
static inline isc_result_t
}
static inline isc_result_t
return (ISC_R_SUCCESS);
}
static inline void
return;
}
static inline isc_result_t
return (ISC_R_SUCCESS);
}
static inline isc_result_t
isc_region_t r;
dns_rdata_toregion(rdata, &r);
dns_name_fromregion(&name, &r);
}
static inline isc_boolean_t
return (ISC_TRUE);
}
static unsigned char ip6_arpa_data[] = "\003IP6\004ARPA";
static const dns_name_t ip6_arpa =
static unsigned char ip6_int_data[] = "\003IP6\003INT";
static const dns_name_t ip6_int =
static unsigned char in_addr_arpa_data[] = "\007IN-ADDR\004ARPA";
static const dns_name_t in_addr_arpa =
static inline isc_boolean_t
return (ISC_TRUE);
if (dns_name_isdnssd(owner))
return (ISC_TRUE);
return (ISC_FALSE);
}
}
return (ISC_TRUE);
}
static inline int
}
#endif /* RDATA_GENERIC_PTR_12_C */