44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# test data for dns_name_fromwire_7
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# format:
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# <msgfile> <testname_offset> <downcase>
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# <dc_method> <exp_name> <exp_result>
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# where msgfile contains a DNS message in hex form
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# and where testname_offset is the byte offset in this message of
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# the start of a name
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# and where downcase is 1 or 0
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# and where dc_method is one of
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# DNS_COMPRESS_ALL
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# DNS_COMPRESS_GLOBAL14
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# DNS_COMPRESS_NONE
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# and where exp_name is the expected name after any decompression
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# or case conversion
44aae046c38e796e581110b7ecdf4478167d684dBob Halley#
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# and where exp_result may be one of
a4e2a43f7941500341f4e4ea93bf5538bc21a9f8Michael Graff# ISC_R_NOSPACE
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# DNS_R_BADLABELTYPE
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# DNS_R_DISALLOWED
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# DNS_R_BADPOINTER
a4e2a43f7941500341f4e4ea93bf5538bc21a9f8Michael Graff# ISC_R_UNEXPECTEDEND
44aae046c38e796e581110b7ecdf4478167d684dBob Halley# DNS_R_TOOMANYHOPS
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence#
a4e2a43f7941500341f4e4ea93bf5538bc21a9f8Michael Graffwire_test7.data 25 1 DNS_COMPRESS_ALL vix.com. ISC_R_UNEXPECTEDEND