Browse Source

missing test data

git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1037 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
b2bbb740e4
1 changed files with 16 additions and 0 deletions
  1. 16 0
      src/lib/dns/cpp/tests/testdata/rdata_opt_fromWire

+ 16 - 0
src/lib/dns/cpp/tests/testdata/rdata_opt_fromWire

@@ -0,0 +1,16 @@
+#
+# various kinds of OPT RDATA stored in an input buffer
+#
+# empty RDATA (which is okay)
+#
+# 0  1 (bytes)
+ 00 00
+#
+# an OPT RR containing an NSID Option
+#      code=3 len=3 ID value (opaque)
+# 2  3  4  5  6  7  8  9 10
+ 00 0X 00 03 00 03 00 01 02
+#
+# short buffer (this can be tested only at the end of the buffer)
+# 1  2  3  4  5
+ 00 04 c0 00 02