1 #include "nx_api.h"
2 #if defined(NX_TAHI_ENABLE) && defined(FEATURE_NX_IPV6)
3 
4 #include "netx_tahi.h"
5 
6 #if 0
7 static char pkt1[] = {
8 0x33, 0x33, 0x00, 0x00, 0x00, 0x02, 0x00, 0x11,
9 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
10 0x00, 0x00, 0x00, 0x10, 0x3a, 0xff, 0xfe, 0x80,
11 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
12 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0xff, 0x02,
13 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
14 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x85, 0x00,
15 0xad, 0xf9, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01,
16 0x00, 0x11, 0x22, 0x33, 0x44, 0x56 };
17 
18 static char pkt2[] = {
19 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x11,
20 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
21 0x00, 0x00, 0x00, 0x20, 0x3a, 0xff, 0xfe, 0x80,
22 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
23 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0xfe, 0x80,
24 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
25 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0x87, 0x00,
26 0xa9, 0xec, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80,
27 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
28 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0x01, 0x01,
29 0x00, 0x11, 0x22, 0x33, 0x44, 0x56 };
30 
31 static char pkt3[] = {
32 0x33, 0x33, 0x00, 0x00, 0x00, 0x02, 0x00, 0x11,
33 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
34 0x00, 0x00, 0x00, 0x10, 0x3a, 0xff, 0xfe, 0x80,
35 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
36 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0xff, 0x02,
37 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
38 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x85, 0x00,
39 0xad, 0xf9, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01,
40 0x00, 0x11, 0x22, 0x33, 0x44, 0x56 };
41 
42 static char pkt4[] = {
43 0x00, 0x00, 0x00, 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, 0xfe, 0x80,
48 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
49 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0x87, 0x00,
50 0xa9, 0xec, 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 static char pkt5[] = {
56 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x11,
57 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
58 0x00, 0x00, 0x00, 0x20, 0x3a, 0xff, 0xfe, 0x80,
59 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
60 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0xfe, 0x80,
61 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
62 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0x87, 0x00,
63 0xa9, 0xec, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80,
64 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
65 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0x01, 0x01,
66 0x00, 0x11, 0x22, 0x33, 0x44, 0x56 };
67 #endif
68 
69 static char pkt6[] = {
70 0x33, 0x33, 0xff, 0x33, 0x44, 0x56, 0x00, 0x11,
71 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
72 0x00, 0x00, 0x00, 0x18, 0x3a, 0xff, 0x00, 0x00,
73 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
74 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x02,
75 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
76 0x00, 0x01, 0xff, 0x33, 0x44, 0x56, 0x87, 0x00,
77 0xd0, 0x03, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80,
78 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
79 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56 };
80 
81 static char pkt7[] = {
82 0x33, 0x33, 0xff, 0x33, 0x44, 0x56, 0x00, 0x00,
83 0x00, 0x00, 0x01, 0x00, 0x86, 0xdd, 0x60, 0x00,
84 0x00, 0x00, 0x00, 0x18, 0x3a, 0xff, 0x00, 0x00,
85 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
86 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x02,
87 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
88 0x00, 0x01, 0xff, 0x33, 0x44, 0x56, 0x87, 0x00,
89 0xd0, 0x03, 0xff, 0xff, 0xff, 0xff, 0xfe, 0x80,
90 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
91 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56 };
92 
93 static char pkt8[] = {
94 0x33, 0x33, 0xff, 0x33, 0x44, 0x56, 0x00, 0x00,
95 0x00, 0x00, 0x01, 0x00, 0x86, 0xdd, 0x60, 0x00,
96 0x00, 0x00, 0x00, 0x20, 0x3a, 0xff, 0xfe, 0x80,
97 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
98 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0xff, 0x02,
99 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
100 0x00, 0x01, 0xff, 0x33, 0x44, 0x56, 0x87, 0x00,
101 0xcd, 0x79, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80,
102 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
103 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0x01, 0x01,
104 0x00, 0x00, 0x00, 0x00, 0x01, 0x00 };
105 
106 static char pkt9[] = {
107 0x00, 0x11, 0x22, 0x33, 0x44, 0x56, 0x00, 0x00,
108 0x00, 0x00, 0x01, 0x00, 0x86, 0xdd, 0x60, 0x00,
109 0x00, 0x00, 0x00, 0x20, 0x3a, 0xff, 0xfe, 0x80,
110 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
111 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0xfe, 0x80,
112 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
113 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0x87, 0x00,
114 0xa9, 0xec, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80,
115 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
116 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0x01, 0x01,
117 0x00, 0x00, 0x00, 0x00, 0x01, 0x00 };
118 
119 static char pkt10[] = {
120 0x33, 0x33, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
121 0x00, 0x00, 0x01, 0x00, 0x86, 0xdd, 0x60, 0x00,
122 0x00, 0x00, 0x00, 0x38, 0x3a, 0xff, 0xfe, 0x80,
123 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
124 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0xff, 0x02,
125 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
126 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x86, 0x00,
127 0x2d, 0xd8, 0x40, 0x00, 0x07, 0x0d, 0x00, 0x00,
128 0x75, 0x35, 0x00, 0x00, 0x03, 0xed, 0x01, 0x01,
129 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x03, 0x04,
130 0x40, 0xc0, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00,
131 0x00, 0x14, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xfe,
132 0x05, 0x01, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00,
133 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
134 
135 static char pkt11[] = {
136 0x33, 0x33, 0xff, 0x33, 0x44, 0x56, 0x00, 0x00,
137 0x00, 0x00, 0x01, 0x00, 0x86, 0xdd, 0x60, 0x00,
138 0x00, 0x00, 0x00, 0x18, 0x3a, 0xff, 0x00, 0x00,
139 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
140 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x02,
141 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
142 0x00, 0x01, 0xff, 0x33, 0x44, 0x56, 0x87, 0x00,
143 0x88, 0x85, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xfe,
144 0x05, 0x01, 0xff, 0xff, 0x01, 0x00, 0x02, 0x11,
145 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56 };
146 
147 TAHI_TEST_SEQ tahi_03_014[] = {
148     {TITLE, "03-014", 6, 0},
149 
150     {CHECK, &pkt6[0], sizeof(pkt6), 130},
151 
152     {INJECT, &pkt7[0], sizeof(pkt7), 0},
153     {N_CHECK, (char *)RS, 0, 13},
154 
155     {INJECT, &pkt8[0], sizeof(pkt8), 0},
156     {N_CHECK, (char *)NA, 0, 5},
157 
158     {INJECT, &pkt9[0], sizeof(pkt9), 0},
159     {N_CHECK, (char *)NA, 0, 5},
160 
161     {INJECT, &pkt10[0], sizeof(pkt10), 0},
162     {WAIT, NX_NULL, 0, 5},
163 
164     {INJECT, &pkt11[0], sizeof(pkt11), 0},
165     {N_CHECK, (char *)NA, 0, 5},
166 
167     {CLEANUP, NX_NULL, 0, 0},
168     {DUMP, NX_NULL, 0, 0}
169 };
170 
171 int tahi_03_014_size = sizeof(tahi_03_014) / sizeof(TAHI_TEST_SEQ);
172 
173 #endif /* NX_TAHI_ENABLE */
174