[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OPT == type 41?



note that bind8.2.2, the first implementation which even knows the OPT RTYPE,
no longer treats (rtype<128) specially in any way.  unless there are known
defects in other (or older) implementations that would cause a meta-RR having
a type less than 128 to be a problem, i think we should just leave this alone.

/* Exclusively a QTYPE? (not also an RTYPE) */
#define	ns_t_qt_p(t) (ns_t_xfr_p(t) || (t) == ns_t_any || \
		      (t) == ns_t_mailb || (t) == ns_t_maila)
/* Some kind of meta-RR? (not a QTYPE, but also not an RTYPE) */
#define	ns_t_mrr_p(t) ((t) == ns_t_tsig || (t) == ns_t_opt)
/* Exclusively an RTYPE? (not also a QTYPE or a meta-RR) */
#define ns_t_rr_p(t) (!ns_t_qt_p(t) && !ns_t_mrr_p(t))
#define ns_t_xfr_p(t) ((t) == ns_t_axfr || (t) == ns_t_ixfr)