summaryrefslogtreecommitdiffstats
path: root/src/lib/dns/tests/testdata/rdata_in_a_fromWire
blob: 12f508b421501fd0da13e8dd8aaf140b7ce220d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# various kinds of IN/A RDATA stored in an input buffer
#
# valid RDATA for 192.0.2.1
#
# 0  1  2  3  4  5 (bytes)
 00 04 c0 00 02 01
#
# short length
# 6  7  8  9 10 11 (bytes)
 00 03 c0 00 02 01
#
# length too long
#12 13 14 15 16 17 18
 00 05 c0 00 02 01 00
#
# short buffer (this can be tested only at the end of the buffer)
#19 20 21 22 23
 00 04 c0 00 02