1 #include "nx_api.h"
2 #if defined(NX_TAHI_ENABLE) && defined(FEATURE_NX_IPV6)
3 
4 #include "netx_tahi.h"
5 
6 static char pkt1[] = {
7 0x00, 0x11, 0x22, 0x33, 0x44, 0x56, 0x00, 0x00,
8 0x00, 0x00, 0x01, 0x00, 0x86, 0xdd, 0x60, 0x00,
9 0x00, 0x00, 0x00, 0x10, 0x3a, 0x40, 0xfe, 0x80,
10 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
11 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0xfe, 0x80,
12 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
13 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0x80, 0x00,
14 0x7a, 0xf3, 0x00, 0x00, 0x00, 0x00, 0x01, 0x23,
15 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef };
16 
17 static char pkt2[] = {
18 0x33, 0x33, 0xff, 0x00, 0x01, 0x00, 0x00, 0x11,
19 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
20 0x00, 0x00, 0x00, 0x20, 0x3a, 0xff, 0xfe, 0x80,
21 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
22 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0xff, 0x02,
23 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
24 0x00, 0x01, 0xff, 0x00, 0x01, 0x00, 0x87, 0x00,
25 0xab, 0x68, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80,
26 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
27 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0x01, 0x01,
28 0x00, 0x11, 0x22, 0x33, 0x44, 0x56 };
29 
30 static char pkt3[] = {
31 0x00, 0x11, 0x22, 0x33, 0x44, 0x56, 0x00, 0x00,
32 0x00, 0x00, 0x01, 0x00, 0x86, 0xdd, 0x60, 0x00,
33 0x00, 0x00, 0x00, 0x18, 0x3a, 0xff, 0xfe, 0x80,
34 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
35 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0xfe, 0x80,
36 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
37 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0x88, 0x00,
38 0xb0, 0x8f, 0x60, 0x00, 0x00, 0x00, 0xfe, 0x80,
39 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
40 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00 };
41 
42 static char pkt4[] = {
43 0x33, 0x33, 0xff, 0x00, 0x01, 0x00, 0x00, 0x11,
44 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
45 0x00, 0x00, 0x00, 0x20, 0x3a, 0xff, 0xfe, 0x80,
46 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
47 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0xff, 0x02,
48 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
49 0x00, 0x01, 0xff, 0x00, 0x01, 0x00, 0x87, 0x00,
50 0xab, 0x68, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80,
51 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
52 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0x01, 0x01,
53 0x00, 0x11, 0x22, 0x33, 0x44, 0x56 };
54 
55 #if 0
56 static char pkt5[] = {
57 0x33, 0x33, 0xff, 0x00, 0x01, 0x00, 0x00, 0x11,
58 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
59 0x00, 0x00, 0x00, 0x20, 0x3a, 0xff, 0xfe, 0x80,
60 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
61 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0xff, 0x02,
62 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
63 0x00, 0x01, 0xff, 0x00, 0x01, 0x00, 0x87, 0x00,
64 0xab, 0x68, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80,
65 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
66 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0x01, 0x01,
67 0x00, 0x11, 0x22, 0x33, 0x44, 0x56 };
68 #endif
69 
70 TAHI_TEST_SEQ tahi_02_064[] = {
71     {TITLE, "02-064", 6, 0},
72     {WAIT, NX_NULL, 0, 5},
73 
74     {INJECT, &pkt1[0], sizeof(pkt1), 0},
75     {CHECK, &pkt2[0], sizeof(pkt2), 2},
76     {INJECT, &pkt3[0], sizeof(pkt3), 0},
77     {CHECK, &pkt4[0], sizeof(pkt4), 2},
78     {WAIT, NX_NULL, 0, 4},
79 
80     {CLEANUP, NX_NULL, 0, 0},
81     {DUMP, NX_NULL, 0, 0}
82 };
83 
84 int tahi_02_064_size = sizeof(tahi_02_064) / sizeof(TAHI_TEST_SEQ);
85 
86 #endif /* NX_TAHI_ENABLE */
87