Home
last modified time | relevance | path

Searched refs:msg (Results 1 – 25 of 69) sorted by relevance

123

/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_ip_fragmentation_timeout_check_test.c40 static CHAR msg[2][600]; variable
74 memset(msg[0], '0', sizeof(msg[0])); in test_application_define()
75 memset(msg[1], '1', sizeof(msg[1])); in test_application_define()
194 status = nx_packet_data_append(my_packet, msg[0], sizeof(msg[0]), &pool_0, NX_NO_WAIT); in thread_0_entry()
219 status = nx_packet_data_append(my_packet, msg[1], sizeof(msg[1]), &pool_0, NX_NO_WAIT); in thread_0_entry()
267 if(len != sizeof(msg[0])) in thread_0_entry()
271 if(memcmp(rcv_buffer, msg[0], len)) in thread_0_entry()
Dnetx_ip_fragmentation_timeout_check_test2.c46 static CHAR msg[2][600]; variable
80 memset(msg[0], '0', sizeof(msg[0])); in test_application_define()
81 memset(msg[1], '1', sizeof(msg[1])); in test_application_define()
200 status = nx_packet_data_append(my_packet, msg[0], sizeof(msg[0]), &pool_0, NX_NO_WAIT); in thread_0_entry()
225 status = nx_packet_data_append(my_packet, msg[1], sizeof(msg[1]), &pool_0, NX_NO_WAIT); in thread_0_entry()
276 if(len != sizeof(msg[0])) in thread_0_entry()
280 if(memcmp(rcv_buffer, msg[0], len)) in thread_0_entry()
Dnetx_ramdriver_callback_test.c111 CHAR msg[20]; in ntest_0_entry() local
146 memcpy(msg, "1234567890", 10); in ntest_0_entry()
149 status += nx_packet_data_append(send_packet, msg, 10, &pool_0, NX_NO_WAIT); in ntest_0_entry()
186 if(memcmp(msg, recv_packet -> nx_packet_prepend_ptr, 10)) in ntest_0_entry()
205 memcpy(msg, "abcdefghij", 10); in ntest_0_entry()
208 status += nx_packet_data_append(send_packet, msg, 10, &pool_0, NX_NO_WAIT); in ntest_0_entry()
243 memcpy(msg, "ABCDEFGHIJ", 10); in ntest_0_entry()
246 status += nx_packet_data_append(send_packet, msg, 10, &pool_0, NX_NO_WAIT); in ntest_0_entry()
272 if(memcmp(msg, recv_packet -> nx_packet_prepend_ptr, 10)) in ntest_0_entry()
293 if(memcmp(msg, recv_packet -> nx_packet_prepend_ptr, 10)) in ntest_0_entry()
Dnetx_icmp_ping_fragment_test.c28 static CHAR msg[256]; variable
123 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 5), msg, sizeof(msg), &my_packet, NX_IP_PERIODIC_… in ntest_0_entry()
145 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 5), msg, sizeof(msg), &my_packet, NX_IP_PERIODIC_… in ntest_0_entry()
166 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 5), msg, sizeof(msg), &my_packet, NX_IP_PERIODIC_… in ntest_0_entry()
Dnetx_icmp_ping_multicast_test.c25 static CHAR msg[300]; variable
136 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 255), msg, sizeof(msg), &my_packet, NX_IP_PERIODI… in ntest_0_entry()
160 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 255), msg, sizeof(msg), &my_packet, NX_IP_PERIODI… in ntest_0_entry()
Dnetx_udp_checksum_zero_test.c29 static UCHAR msg[] = {0xF6, 0xBC}; variable
162 status += nx_packet_data_append(my_packet, msg, sizeof(msg), &pool_0, NX_WAIT_FOREVER); in thread_0_entry()
238 if ((my_packet -> nx_packet_length != sizeof(msg)) || in thread_1_entry()
239 (memcmp(my_packet -> nx_packet_prepend_ptr, msg, sizeof(msg)) != 0)) in thread_1_entry()
Dnetx_ip_fragmentation_time_exceeded_message_test.c44 static CHAR msg[600]; variable
76 memset(msg, '1', sizeof(msg)); in test_application_define()
176 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 6), msg, 600, &my_packet, (NX_IP_TIME_TO_LIVE + 1… in thread_0_entry()
214 …status = nx_icmp_ping(&ip_1, IP_ADDRESS(1, 2, 3, 6), msg, 600, &my_packet, (NX_IP_TIME_TO_LIVE + 1… in thread_1_entry()
Dnetx_tcp_overlapping_packet_test_13.c125 char *msg = MSG; in thread_0_entry() local
180 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
184 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
188 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[80], 20); in thread_0_entry()
192 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[45], 35); in thread_0_entry()
196 memcpy(my_packet5 -> nx_packet_prepend_ptr, &msg[20], 25); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_15.c135 char *msg = MSG; in thread_0_entry() local
194 status = nx_packet_data_append(my_packet1, &msg[0], 3, &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
195 status += nx_packet_data_append(my_packet2, &msg[23], 3, &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
196 status += nx_packet_data_append(my_packet3, &msg[0], 15, &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
197 status += nx_packet_data_append(my_packet4, &msg[19], 4, &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
198 status += nx_packet_data_append(my_packet5, &msg[13], 8, &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_7.c123 char *msg = MSG; in thread_0_entry() local
179 memcpy(my_packet0 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
183 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
187 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
191 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[60], 20); in thread_0_entry()
195 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test.c136 char *msg = MSG; in thread_0_entry() local
193 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 38); in thread_0_entry()
197 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[38], 38); in thread_0_entry()
201 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[76], 38); in thread_0_entry()
205 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[76], 10); in thread_0_entry()
209 memcpy(my_packet23 -> nx_packet_prepend_ptr, &msg[38], 76); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_5.c132 char *msg = MSG; in thread_0_entry() local
188 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
192 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
196 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[80], 20); in thread_0_entry()
200 memcpy(my_packet123 -> nx_packet_prepend_ptr, &msg[20], 40); in thread_0_entry()
204 memcpy(my_packet23 -> nx_packet_prepend_ptr, &msg[60], 30); in thread_0_entry()
Dnetx_tcp_new_reno_algorithm_test5.c37 static CHAR msg[3000]; variable
176 for (i = 0; i < sizeof(msg); i ++) in thread_0_entry()
177 msg[i] = (CHAR)rand(); in thread_0_entry()
194 memcpy(my_packet[i] -> nx_packet_prepend_ptr, &msg[i*(window_size>>2)], (window_size>>2)); in thread_0_entry()
311 if(memcmp(rcv_buffer, msg, recv_length)) in thread_1_entry()
Dnetx_tcp_overlapping_packet_test_10.c124 char *msg = MSG; in thread_0_entry() local
177 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
181 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[60], 20); in thread_0_entry()
185 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
189 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[20], 26); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_11.c121 CHAR *msg = MSG; in thread_0_entry() local
176 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[60], 20); in thread_0_entry()
180 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
184 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
188 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[0], 30); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_2.c134 char *msg = MSG; in thread_0_entry() local
189 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 38); in thread_0_entry()
193 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[38], 38); in thread_0_entry()
197 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[76], 38); in thread_0_entry()
201 memcpy(my_packet23 -> nx_packet_prepend_ptr, &msg[37], 76); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_3.c135 char *msg = MSG; in thread_0_entry() local
190 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 38); in thread_0_entry()
194 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[38], 38); in thread_0_entry()
198 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[76], 38); in thread_0_entry()
202 memcpy(my_packet23 -> nx_packet_prepend_ptr, &msg[37], 77); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_6.c122 char *msg = MSG; in thread_0_entry() local
175 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
179 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
183 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
187 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_8.c122 char *msg = MSG; in thread_0_entry() local
175 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
179 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
183 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
187 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[0], 60); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_9.c124 char *msg = MSG; in thread_0_entry() local
176 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
180 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
184 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
188 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[25], 6); in thread_0_entry()
Dnetx_tcp_fast_retransmit_test.c123 char *msg = MSG; in thread_0_entry() local
171 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
175 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
179 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
183 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[60], 20); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_12.c127 char *msg = MSG; in thread_0_entry() local
180 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
184 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
188 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
192 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[30], 20); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_4.c123 char *msg = MSG; in thread_0_entry() local
176 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
180 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
184 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
188 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
/NetX-Duo-v6.2.1/crypto_libraries/src/
Dnx_crypto_method_self_test_ecdsa.c110 UCHAR *msg; in _nx_crypto_method_self_test_ecdsa() local
123 msg = msg_p256_sha256; in _nx_crypto_method_self_test_ecdsa()
254 msg, in _nx_crypto_method_self_test_ecdsa()
276 msg, in _nx_crypto_method_self_test_ecdsa()
Dnx_crypto_method_self_test_pkcs1.c71 static UCHAR msg[] = { variable
185 plain_text = msg; in _nx_crypto_method_self_test_pkcs1()
186 input_length = sizeof(msg); in _nx_crypto_method_self_test_pkcs1()

123