ptr_12.c revision 0c27b3fe77ac1d5094ba3521e8142d9e7973133f
/*
* Copyright (C) 1998-2001, 2004, 2007, 2009, 2015, 2016 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 =
{
{(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 */