printmsg.c revision ca41b452ede6feaa9d8739ec3cae19389a7b0d03
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews * Copyright (C) 1998, 1999, 2000 Internet Software Consortium.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews * Permission to use, copy, modify, and distribute this software for any
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews * purpose with or without fee is hereby granted, provided that the above
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews * copyright notice and this permission notice appear in all copies.
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrewsstatic char *opcodetext[] = {
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED3",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED6",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED7",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED8",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED9",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED10",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED11",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED12",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED13",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED14",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED15"
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrewsstatic char *rcodetext[] = {
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED11",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED12",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED13",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED14",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews "RESERVED15",
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrewsprintsection(dns_message_t *msg, dns_section_t sectionid, char *section_name)
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews char t[4096];
3b83676e079a799f97ad8b76c057e6ecb0426b1dMark Andrews result = dns_message_firstname(msg, sectionid);
&target);
return (result);
#ifdef USEINITALWS
if (first) {
return (result);
return (DNS_R_SUCCESS);
return (result);
return (result);
return (result);
return (result);
return (result);
return (result);