dns_name_fromwire_5_data revision 4efa04801e191cf1b22027079854daba74792184
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# test data for dns_name_fromwire_5
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# <msgfile> <testname_offset> <downcase>
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# <dc_method> <exp_name> <exp_result>
027e89d47af308db4b41761ca9f847c026b63ec8Andreas Gustafsson# where msgfile contains a DNS message in hex form
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# and where testname_offset is the byte offset in this message of
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# the start of a name
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# and where downcase is 1 or 0
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# and where dc_method is one of
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# DNS_COMPRESS_ALL
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# DNS_COMPRESS_GLOBAL14
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# DNS_COMPRESS_NONE
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# and where exp_name is the expected name after any decompression
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# or case conversion
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# and where exp_result may be one of
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# ISC_R_NOSPACE
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# DNS_R_BADLABELTYPE
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# DNS_R_DISALLOWED
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# DNS_R_BADPOINTER
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# ISC_R_UNEXPECTEDEND
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# DNS_R_TOOMANYHOPS
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Lucewire_test5.data 25 1 DNS_COMPRESS_NONE vix.com. DNS_R_DISALLOWED