opt_41.c revision 6e49e91bd08778d7eae45a2229dcf41ed97cc636
/*
* Copyright (C) 1998, 1999, 2000 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 INTERNET SOFTWARE CONSORTIUM DISCLAIMS
* ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
* CONSORTIUM 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: opt_41.c,v 1.9 2000/04/27 00:02:35 tale Exp $ */
/* Reviewed: Thu Mar 16 14:06:44 PST 2000 by gson */
/* RFC 2671 */
#ifndef RDATA_GENERIC_OPT_41_C
#define RDATA_GENERIC_OPT_41_C
#define RRTYPE_OPT_ATTRIBUTES (DNS_RDATATYPEATTR_SINGLETON | DNS_RDATATYPEATTR_META | DNS_RDATATYPEATTR_NOTQUESTION)
static inline isc_result_t
{
/*
* OPT records do not have a text format.
*/
return (ISC_R_NOTIMPLEMENTED);
}
static inline isc_result_t
{
/*
* OPT records do not have a text format.
*/
return (ISC_R_NOTIMPLEMENTED);
}
static inline isc_result_t
{
unsigned int total;
total = 0;
return (ISC_R_UNEXPECTEDEND);
total += 4;
return (ISC_R_UNEXPECTEDEND);
}
return (ISC_R_NOSPACE);
return (ISC_R_SUCCESS);
}
static inline isc_result_t
}
static inline int
}
static inline isc_result_t
{
return (ISC_R_NOTIMPLEMENTED);
}
static inline isc_result_t
return (ISC_R_NOTIMPLEMENTED);
}
static inline void
freestruct_opt(void *source) {
}
static inline isc_result_t
void *arg)
{
return (ISC_R_SUCCESS);
}
static inline isc_result_t
/*
* OPT records are not digested.
*/
return (ISC_R_NOTIMPLEMENTED);
}
#endif /* RDATA_GENERIC_OPT_41_C */