/*
* Copyright (C) 2004, 2007, 2008, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2003 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$ */
/* reviewed: Wed Mar 15 18:21:15 PST 2000 by brister */
/* RFC 3845 */
#ifndef RDATA_GENERIC_NSEC_47_C
#define RDATA_GENERIC_NSEC_47_C
/*
* The attributes do not include DNS_RDATATYPEATTR_SINGLETON
*/
static inline isc_result_t
int octet;
int window;
/*
* Next domain.
*/
ISC_FALSE));
do {
break;
} while (1);
/*
* Find if we have a type in this window.
*/
break;
if (octet < 0)
continue;
}
return (ISC_R_SUCCESS);
}
static inline isc_result_t
unsigned int i, j, k;
i += 2;
for (j = 0; j < len; j++) {
continue;
for (k = 0; k < 8; k++) {
continue;
if (dns_rdatatype_isknown(t)) {
} else {
}
}
}
}
return (ISC_R_SUCCESS);
}
static /* inline */ isc_result_t
unsigned int len;
unsigned int i;
/*
* Check for overflow.
*/
i += 2;
/*
* Check that bitmap windows are in the correct order.
*/
/*
* Check for legal lengths.
*/
/*
* Check for overflow.
*/
/*
* The last octet of the bitmap must be non zero.
*/
lastwindow = window;
}
return (DNS_R_EXTRADATA);
if (first)
return (ISC_R_SUCCESS);
}
static inline isc_result_t
}
static inline int
}
static inline isc_result_t
/*
* Perform sanity check.
*/
i += 2;
lastwindow = window;
}
}
static inline isc_result_t
goto cleanup;
return (ISC_R_SUCCESS);
return (ISC_R_NOMEMORY);
}
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);
}
static inline isc_boolean_t
return (ISC_TRUE);
}
static inline isc_boolean_t
return (ISC_TRUE);
}
#endif /* RDATA_GENERIC_NSEC_47_C */