/NetX-Duo-v6.4.1/common/src/ |
D | nx_tcp_server_socket_accept.c | 113 if (socket_ptr -> nx_tcp_socket_tx_sequence == 0) in _nx_tcp_server_socket_accept() 115 … socket_ptr -> nx_tcp_socket_tx_sequence = (((ULONG)NX_RAND()) << NX_SHIFT_BY_16) & 0xFFFFFFFF; in _nx_tcp_server_socket_accept() 116 socket_ptr -> nx_tcp_socket_tx_sequence |= (ULONG)NX_RAND(); in _nx_tcp_server_socket_accept() 120 …socket_ptr -> nx_tcp_socket_tx_sequence = socket_ptr -> nx_tcp_socket_tx_sequence + ((ULONG)(((UL… in _nx_tcp_server_socket_accept() 148 socket_ptr -> nx_tcp_socket_tx_sequence++; in _nx_tcp_server_socket_accept() 172 _nx_tcp_packet_send_syn(socket_ptr, (socket_ptr -> nx_tcp_socket_tx_sequence - 1)); in _nx_tcp_server_socket_accept()
|
D | nx_tcp_socket_disconnect.c | 176 socket_ptr -> nx_tcp_socket_tx_sequence++; in _nx_tcp_socket_disconnect() 179 _nx_tcp_packet_send_fin(socket_ptr, (socket_ptr -> nx_tcp_socket_tx_sequence - 1)); in _nx_tcp_socket_disconnect() 200 socket_ptr -> nx_tcp_socket_tx_sequence++; in _nx_tcp_socket_disconnect() 203 _nx_tcp_packet_send_fin(socket_ptr, (socket_ptr -> nx_tcp_socket_tx_sequence - 1)); in _nx_tcp_socket_disconnect() 230 tcp_header.nx_tcp_acknowledgment_number = socket_ptr -> nx_tcp_socket_tx_sequence; in _nx_tcp_socket_disconnect() 269 socket_ptr -> nx_tcp_socket_tx_sequence++; in _nx_tcp_socket_disconnect() 272 _nx_tcp_packet_send_fin(socket_ptr, (socket_ptr -> nx_tcp_socket_tx_sequence - 1)); in _nx_tcp_socket_disconnect() 302 socket_ptr -> nx_tcp_socket_tx_sequence++; in _nx_tcp_socket_disconnect() 305 _nx_tcp_packet_send_fin(socket_ptr, (socket_ptr -> nx_tcp_socket_tx_sequence - 1)); in _nx_tcp_socket_disconnect()
|
D | nx_tcp_socket_state_syn_sent.c | 99 … (tcp_header_ptr -> nx_tcp_acknowledgment_number == socket_ptr -> nx_tcp_socket_tx_sequence)) in _nx_tcp_socket_state_syn_sent() 121 … (tcp_header_ptr -> nx_tcp_acknowledgment_number == socket_ptr -> nx_tcp_socket_tx_sequence)) in _nx_tcp_socket_state_syn_sent() 183 _nx_tcp_packet_send_ack(socket_ptr, socket_ptr -> nx_tcp_socket_tx_sequence); in _nx_tcp_socket_state_syn_sent() 282 _nx_tcp_packet_send_syn(socket_ptr, (socket_ptr -> nx_tcp_socket_tx_sequence - 1)); in _nx_tcp_socket_state_syn_sent() 286 … (tcp_header_ptr -> nx_tcp_acknowledgment_number != socket_ptr -> nx_tcp_socket_tx_sequence)) in _nx_tcp_socket_state_syn_sent()
|
D | nx_tcp_fast_periodic_processing.c | 115 _nx_tcp_packet_send_ack(socket_ptr, socket_ptr -> nx_tcp_socket_tx_sequence); in _nx_tcp_fast_periodic_processing() 164 _nx_tcp_packet_send_syn(socket_ptr, (socket_ptr -> nx_tcp_socket_tx_sequence - 1)); in _nx_tcp_fast_periodic_processing() 173 … socket_ptr -> nx_tcp_socket_tx_sequence_recover = socket_ptr -> nx_tcp_socket_tx_sequence - 1; in _nx_tcp_fast_periodic_processing() 198 _nx_tcp_packet_send_fin(socket_ptr, (socket_ptr -> nx_tcp_socket_tx_sequence - 1)); in _nx_tcp_fast_periodic_processing()
|
D | nxd_tcp_client_socket_connect.c | 430 if (socket_ptr -> nx_tcp_socket_tx_sequence == 0) in _nxd_tcp_client_socket_connect() 432 … socket_ptr -> nx_tcp_socket_tx_sequence = (((ULONG)NX_RAND()) << NX_SHIFT_BY_16) & 0xFFFFFFFF; in _nxd_tcp_client_socket_connect() 433 socket_ptr -> nx_tcp_socket_tx_sequence |= (ULONG)NX_RAND(); in _nxd_tcp_client_socket_connect() 437 …socket_ptr -> nx_tcp_socket_tx_sequence = socket_ptr -> nx_tcp_socket_tx_sequence + ((ULONG)(((UL… in _nxd_tcp_client_socket_connect() 449 socket_ptr -> nx_tcp_socket_tx_sequence++; in _nxd_tcp_client_socket_connect() 492 _nx_tcp_packet_send_syn(socket_ptr, (socket_ptr -> nx_tcp_socket_tx_sequence - 1)); in _nxd_tcp_client_socket_connect()
|
D | nx_tcp_socket_state_fin_wait1.c | 117 _nx_tcp_packet_send_ack(socket_ptr, socket_ptr -> nx_tcp_socket_tx_sequence); in _nx_tcp_socket_state_fin_wait1() 174 _nx_tcp_packet_send_ack(socket_ptr, socket_ptr -> nx_tcp_socket_tx_sequence); in _nx_tcp_socket_state_fin_wait1()
|
/NetX-Duo-v6.4.1/test/regression/netxduo_test/ |
D | netx_tcp_overlapping_packet_test_11.c | 193 client_socket.nx_tcp_socket_tx_sequence += 60; in thread_0_entry() 194 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 196 seq2 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 204 client_socket.nx_tcp_socket_tx_sequence = seq1 - 40; in thread_0_entry() 208 client_socket.nx_tcp_socket_tx_sequence = seq1 - 20; in thread_0_entry() 212 client_socket.nx_tcp_socket_tx_sequence = seq1 - 60; in thread_0_entry() 219 client_socket.nx_tcp_socket_tx_sequence = seq1 + 20; in thread_0_entry() 226 if(client_socket.nx_tcp_socket_tx_sequence != seq2) in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test_13.c | 204 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 205 client_socket.nx_tcp_socket_tx_sequence += 20; in thread_0_entry() 209 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 210 client_socket.nx_tcp_socket_tx_sequence += 60; in thread_0_entry() 214 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 215 client_socket.nx_tcp_socket_tx_sequence += 25; in thread_0_entry() 219 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 221 client_socket.nx_tcp_socket_tx_sequence += 55; in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test_5.c | 212 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 213 client_socket.nx_tcp_socket_tx_sequence += 60; in thread_0_entry() 217 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 218 client_socket.nx_tcp_socket_tx_sequence += 20; in thread_0_entry() 222 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 229 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 230 client_socket.nx_tcp_socket_tx_sequence += 40; in thread_0_entry() 237 client_socket.nx_tcp_socket_tx_sequence += 10; in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test.c | 217 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 218 client_socket.nx_tcp_socket_tx_sequence += 38; in thread_0_entry() 220 seq2 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 223 client_socket.nx_tcp_socket_tx_sequence = seq1 + 38; in thread_0_entry() 227 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 231 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 244 if(client_socket.nx_tcp_socket_tx_sequence != seq2) in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test_15.c | 204 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 213 client_socket.nx_tcp_socket_tx_sequence = seq1 + 23; in thread_0_entry() 217 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 221 client_socket.nx_tcp_socket_tx_sequence = seq1 + 19; in thread_0_entry() 225 client_socket.nx_tcp_socket_tx_sequence = seq1 + 13; in thread_0_entry() 229 client_socket.nx_tcp_socket_tx_sequence = seq1 + 26; in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test_2.c | 209 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 210 client_socket.nx_tcp_socket_tx_sequence += 38; in thread_0_entry() 212 seq2 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 215 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 219 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 228 if(client_socket.nx_tcp_socket_tx_sequence != (seq2)) in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test_3.c | 210 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 211 client_socket.nx_tcp_socket_tx_sequence += 38; in thread_0_entry() 213 seq2 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 216 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 220 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 233 if(client_socket.nx_tcp_socket_tx_sequence != seq2) in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test_7.c | 202 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 208 client_socket.nx_tcp_socket_tx_sequence += 20; in thread_0_entry() 215 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 216 client_socket.nx_tcp_socket_tx_sequence += 20; in thread_0_entry() 220 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 234 client_socket.nx_tcp_socket_tx_sequence += 60; in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test_8.c | 192 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 193 client_socket.nx_tcp_socket_tx_sequence += 40; in thread_0_entry() 197 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 201 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 202 client_socket.nx_tcp_socket_tx_sequence += 20; in thread_0_entry() 206 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry()
|
D | netx_3_20_test.c | 253 client_socket.nx_tcp_socket_tx_sequence++; in ntest_1_entry() 255 _nx_tcp_packet_send_ack(&client_socket, (client_socket.nx_tcp_socket_tx_sequence - 1)); in ntest_1_entry() 257 client_socket.nx_tcp_socket_tx_sequence++; in ntest_1_entry() 259 _nx_tcp_packet_send_ack(&client_socket, (client_socket.nx_tcp_socket_tx_sequence - 1)); in ntest_1_entry() 411 … (header_ptr -> nx_tcp_acknowledgment_number + 1 == server_socket.nx_tcp_socket_tx_sequence)) in my_tcp_packet_receive_3_20() 417 … (header_ptr -> nx_tcp_acknowledgment_number + 1 != server_socket.nx_tcp_socket_tx_sequence)) in my_tcp_packet_receive_3_20() 453 if ((header_ptr -> nx_tcp_sequence_number == server_socket.nx_tcp_socket_tx_sequence) && in my_tcp_packet_receive_3_20_2()
|
D | netx_tcp_overlapping_packet_test_18.c | 195 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 201 seq2 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 204 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 208 client_socket.nx_tcp_socket_tx_sequence = seq2; in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test_14.c | 195 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 201 seq2 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 207 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 211 client_socket.nx_tcp_socket_tx_sequence = seq2; in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test_16.c | 198 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 207 seq2 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 210 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 214 client_socket.nx_tcp_socket_tx_sequence = seq2; in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test_17.c | 198 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 207 client_socket.nx_tcp_socket_tx_sequence = seq1 + 0x300; in thread_0_entry() 211 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 215 client_socket.nx_tcp_socket_tx_sequence = seq1 + 0x0400; in thread_0_entry()
|
D | netx_3_21_test.c | 268 client_socket.nx_tcp_socket_tx_sequence++; in ntest_1_entry() 271 _nx_tcp_packet_send_fin(&client_socket,client_socket.nx_tcp_socket_tx_sequence - 1); in ntest_1_entry() 406 client_socket.nx_tcp_socket_tx_sequence -= 20; in my_packet_process_3_21() 483 … (tcp_header_ptr ->nx_tcp_acknowledgment_number == server_socket.nx_tcp_socket_tx_sequence) ) in my_tcp_packet_receive_3_21() 489 … (tcp_header_ptr ->nx_tcp_acknowledgment_number != server_socket.nx_tcp_socket_tx_sequence)) in my_tcp_packet_receive_3_21() 519 (tcp_header_ptr -> nx_tcp_sequence_number == server_socket.nx_tcp_socket_tx_sequence)) in my_tcp_packet_receive_3_21_2()
|
D | netx_3_23_test.c | 265 client_socket.nx_tcp_socket_tx_sequence++; in ntest_1_entry() 268 _nx_tcp_packet_send_fin(&client_socket,client_socket.nx_tcp_socket_tx_sequence - 1); in ntest_1_entry() 409 client_socket.nx_tcp_socket_tx_sequence -= 20; in my_packet_process_3_23() 469 … (tcp_header_ptr ->nx_tcp_acknowledgment_number == server_socket.nx_tcp_socket_tx_sequence) ) in my_tcp_packet_receive_3_23() 475 … (tcp_header_ptr ->nx_tcp_acknowledgment_number != server_socket.nx_tcp_socket_tx_sequence)) in my_tcp_packet_receive_3_23() 503 (tcp_header_ptr -> nx_tcp_sequence_number == server_socket.nx_tcp_socket_tx_sequence)) in my_tcp_packet_receive_3_23_2()
|
D | netx_tcp_overlapping_packet_test_10.c | 197 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 198 client_socket.nx_tcp_socket_tx_sequence += 20; in thread_0_entry() 205 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 276 server_socket.nx_tcp_socket_rx_sequence = client_socket.nx_tcp_socket_tx_sequence; in thread_1_entry()
|
D | netx_tcp_overlapping_packet_test_6.c | 196 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 200 seq2 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 203 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 221 if(client_socket.nx_tcp_socket_tx_sequence != seq2) in thread_0_entry()
|
D | netx_tcp_overlapping_packet_test_12.c | 203 seq1 = client_socket.nx_tcp_socket_tx_sequence; in thread_0_entry() 210 client_socket.nx_tcp_socket_tx_sequence = seq1; in thread_0_entry() 211 client_socket.nx_tcp_socket_tx_sequence += 10; in thread_0_entry() 282 server_socket.nx_tcp_socket_rx_sequence = client_socket.nx_tcp_socket_tx_sequence; in thread_1_entry()
|