- Add IPv4 DNS request test cases.

This commit is contained in:
basil00
2014-11-18 22:21:18 +08:00
parent 232459cc11
commit a3026de69c
2 changed files with 30 additions and 0 deletions
+13
View File
@@ -103,6 +103,19 @@ static unsigned char http_request[] =
0x0a
};
// IPV4 DNS REQUEST
static unsigned char dns_request[] =
{
0x45, 0x00, 0x00, 0x39, 0x20, 0x90, 0x00, 0x00,
0x49, 0x11, 0x00, 0x00, 0x0a, 0x00, 0x00, 0x01,
0x08, 0x08, 0x04, 0x04, 0xe0, 0x45, 0x00, 0x35,
0x00, 0x25, 0x00, 0x00, 0x17, 0x08, 0x01, 0x00,
0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
0x03, 0x63, 0x6f, 0x6d, 0x00, 0x00, 0x01, 0x00,
0x01
};
// IPV6 TCP SYN
static unsigned char ipv6_tcp_syn[] =
{