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, 0xff, 0x33, 0x44, 0x56, 0x00, 0x11,
9 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
10 0x00, 0x00, 0x00, 0x18, 0x3a, 0xff, 0x00, 0x00,
11 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
12 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x02,
13 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
14 0x00, 0x01, 0xff, 0x33, 0x44, 0x56, 0x87, 0x00,
15 0xd0, 0x03, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80,
16 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
17 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56 };
18 
19 static char pkt2[] = {
20 0x33, 0x33, 0xff, 0x33, 0x44, 0x56, 0x00, 0x11,
21 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
22 0x00, 0x00, 0x00, 0x18, 0x3a, 0xff, 0x00, 0x00,
23 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
24 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x02,
25 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
26 0x00, 0x01, 0xff, 0x33, 0x44, 0x56, 0x87, 0x00,
27 0xd0, 0x03, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80,
28 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
29 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56 };
30 
31 static char pkt3[] = {
32 0x33, 0x33, 0xff, 0x33, 0x44, 0x56, 0x00, 0x11,
33 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
34 0x00, 0x00, 0x00, 0x18, 0x3a, 0xff, 0x00, 0x00,
35 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
36 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x02,
37 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
38 0x00, 0x01, 0xff, 0x33, 0x44, 0x56, 0x87, 0x00,
39 0xd0, 0x03, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80,
40 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
41 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56 };
42 #endif
43 
44 static char pkt4[] = {
45 0x33, 0x33, 0x00, 0x00, 0x00, 0x02, 0x00, 0x11,
46 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
47 0x00, 0x00, 0x00, 0x10, 0x3a, 0xff, 0xfe, 0x80,
48 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
49 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0xff, 0x02,
50 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
51 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x85, 0x00,
52 0xad, 0xf9, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01,
53 0x00, 0x11, 0x22, 0x33, 0x44, 0x56 };
54 
55 static char pkt5[] = {
56 0x33, 0x33, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00,
57 0x00, 0x00, 0xa0, 0xa0, 0x86, 0xdd, 0x60, 0x00,
58 0x00, 0x00, 0x00, 0x38, 0x3a, 0x02, 0xfe, 0x80,
59 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00,
60 0x00, 0xff, 0xfe, 0x00, 0xa0, 0xa0, 0xff, 0x02,
61 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
62 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x86, 0x00,
63 0xa0, 0x49, 0x40, 0x00, 0x07, 0x08, 0x00, 0x00,
64 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01,
65 0x00, 0x00, 0x00, 0x00, 0xa0, 0xa0, 0x03, 0x04,
66 0x40, 0xc0, 0x00, 0x27, 0x8d, 0x00, 0x00, 0x09,
67 0x3a, 0x80, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xfe,
68 0x05, 0x01, 0xff, 0xff, 0x01, 0x00, 0x00, 0x00,
69 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
70 
71 static char pkt6[] = {
72 0x33, 0x33, 0x00, 0x00, 0x00, 0x02, 0x00, 0x11,
73 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00,
74 0x00, 0x00, 0x00, 0x10, 0x3a, 0xff, 0xfe, 0x80,
75 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11,
76 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0xff, 0x02,
77 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
78 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x85, 0x00,
79 0xad, 0xf9, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01,
80 0x00, 0x11, 0x22, 0x33, 0x44, 0x56 };
81 
82 TAHI_TEST_SEQ tahi_02_132[] = {
83     {TITLE, "02-132", 6, 0},
84 
85     {CHECK, &pkt4[0], sizeof(pkt4), 300},
86     {INJECT, &pkt5[0], sizeof(pkt5), 0},
87     {CHECK, &pkt6[0], sizeof(pkt6), 5},
88     {WAIT, NX_NULL, 0, 3},
89 
90     {CLEANUP, NX_NULL, 0, 0},
91     {DUMP, NX_NULL, 0, 0}
92 };
93 
94 int tahi_02_132_size = sizeof(tahi_02_132) / sizeof(TAHI_TEST_SEQ);
95 
96 #endif /* NX_TAHI_ENABLE */
97