ptr_12.c revision 5855fd79e375c74fc9df57ce0b4c4ef1b9fcdc3e
/*
* Copyright (C) 2004, 2007, 2009, 2015 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2001 Internet Software Consortium.
*
* 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: 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 =
{
{(void *)-1, (void *)-1},
};
static unsigned char ip6_int_data[] = "\003IP6\003INT";
static const dns_name_t ip6_int =
{
{(void *)-1, (void *)-1},
};
static unsigned char in_addr_arpa_data[] = "\007IN-ADDR\004ARPA";
static const dns_name_t in_addr_arpa =
{
{(void *)-1, (void *)-1},
};
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 */