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 0x33, 0x33, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 32 0x00, 0x00, 0x01, 0x00, 0x86, 0xdd, 0x60, 0x00, 33 0x00, 0x00, 0x00, 0x28, 0x3a, 0xff, 0xfe, 0x80, 34 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 35 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0xff, 0x02, 36 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 37 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x88, 0x00, 38 0x52, 0x96, 0x20, 0x00, 0x00, 0x00, 0xfe, 0x80, 39 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 40 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0x02, 0x01, 41 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x01, 0x00, 42 0x00, 0x00, 0x00, 0x00, 0x01, 0x00 }; 43 44 static char pkt4[] = { 45 0x33, 0x33, 0xff, 0x00, 0x01, 0x00, 0x00, 0x11, 46 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00, 47 0x00, 0x00, 0x00, 0x20, 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, 0x01, 0xff, 0x00, 0x01, 0x00, 0x87, 0x00, 52 0xab, 0x68, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80, 53 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 54 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0x01, 0x01, 55 0x00, 0x11, 0x22, 0x33, 0x44, 0x56 }; 56 57 #if 0 58 static char pkt5[] = { 59 0x33, 0x33, 0xff, 0x00, 0x01, 0x00, 0x00, 0x11, 60 0x22, 0x33, 0x44, 0x56, 0x86, 0xdd, 0x60, 0x00, 61 0x00, 0x00, 0x00, 0x20, 0x3a, 0xff, 0xfe, 0x80, 62 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x11, 63 0x22, 0xff, 0xfe, 0x33, 0x44, 0x56, 0xff, 0x02, 64 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 65 0x00, 0x01, 0xff, 0x00, 0x01, 0x00, 0x87, 0x00, 66 0xab, 0x68, 0x00, 0x00, 0x00, 0x00, 0xfe, 0x80, 67 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 68 0x00, 0xff, 0xfe, 0x00, 0x01, 0x00, 0x01, 0x01, 69 0x00, 0x11, 0x22, 0x33, 0x44, 0x56 }; 70 #endif 71 72 TAHI_TEST_SEQ tahi_02_051[] = { 73 {TITLE, "02-051", 6, 0}, 74 {WAIT, NX_NULL, 0, 5}, 75 76 {INJECT, &pkt1[0], sizeof(pkt1), 0}, 77 {CHECK, &pkt2[0], sizeof(pkt2), 2}, 78 {INJECT, &pkt3[0], sizeof(pkt3), 0}, 79 {CHECK, &pkt4[0], sizeof(pkt4), 2}, 80 {WAIT, NX_NULL, 0, 4}, 81 82 {CLEANUP, NX_NULL, 0, 0}, 83 {DUMP, NX_NULL, 0, 0} 84 }; 85 86 int tahi_02_051_size = sizeof(tahi_02_051) / sizeof(TAHI_TEST_SEQ); 87 88 #endif /* NX_TAHI_ENABLE */ 89