Home
last modified time | relevance | path

Searched refs:current_packet (Results 1 – 11 of 11) sorted by relevance

/NetX-Duo-v6.3.0/nx_secure/src/
Dnx_secure_tls_packet_release.c89 NX_PACKET *current_packet; in _nx_secure_tls_packet_release() local
92 current_packet = packet_ptr; in _nx_secure_tls_packet_release()
93 while (current_packet) in _nx_secure_tls_packet_release()
95 NX_SECURE_MEMSET(current_packet -> nx_packet_data_start, 0, in _nx_secure_tls_packet_release()
96 (ULONG)current_packet -> nx_packet_data_end - in _nx_secure_tls_packet_release()
97 (ULONG)current_packet -> nx_packet_data_start); in _nx_secure_tls_packet_release()
98 current_packet = current_packet -> nx_packet_next; in _nx_secure_tls_packet_release()
Dnx_secure_tls_send_record.c114 NX_PACKET *current_packet; in _nx_secure_tls_send_record() local
254 current_packet = send_packet; in _nx_secure_tls_send_record()
268 hash_data = current_packet -> nx_packet_prepend_ptr + iv_size; in _nx_secure_tls_send_record()
269 …hash_data_length = (ULONG)(current_packet -> nx_packet_append_ptr - current_packet -> nx_packet_pr… in _nx_secure_tls_send_record()
279 current_packet = current_packet -> nx_packet_next; in _nx_secure_tls_send_record()
280 if (current_packet != NX_NULL) in _nx_secure_tls_send_record()
282 hash_data = current_packet -> nx_packet_prepend_ptr; in _nx_secure_tls_send_record()
283 …hash_data_length = (ULONG)(current_packet -> nx_packet_append_ptr - current_packet -> nx_packet_pr… in _nx_secure_tls_send_record()
285 } while (current_packet != NX_NULL); in _nx_secure_tls_send_record()
359 current_packet = send_packet; in _nx_secure_tls_send_record()
[all …]
Dnx_secure_tls_send_handshake_record.c86 NX_PACKET *current_packet; in _nx_secure_tls_send_handshake_record() local
124 current_packet = send_packet; in _nx_secure_tls_send_handshake_record()
130 …length = (ULONG)(current_packet -> nx_packet_append_ptr - current_packet -> nx_packet_prepend_ptr); in _nx_secure_tls_send_handshake_record()
142current_packet -> nx_packet_prepend_ptr, (UINT)length); /* Use case of memcpy is verified. */ in _nx_secure_tls_send_handshake_record()
150 … _nx_secure_tls_handshake_hash_update(tls_session, current_packet -> nx_packet_prepend_ptr, in _nx_secure_tls_send_handshake_record()
155 current_packet = current_packet -> nx_packet_next; in _nx_secure_tls_send_handshake_record()
156 } while (current_packet != NX_NULL); in _nx_secure_tls_send_handshake_record()
Dnx_secure_tls_session_receive_records.c100 NX_PACKET *current_packet; in _nx_secure_tls_session_receive_records() local
164 current_packet = tls_session -> nx_secure_record_queue_header; in _nx_secure_tls_session_receive_records()
166 while (current_packet) in _nx_secure_tls_session_receive_records()
168 …packet_fragment_length = (ULONG)(current_packet -> nx_packet_append_ptr) - (ULONG)(current_packet in _nx_secure_tls_session_receive_records()
177 current_packet -> nx_packet_prepend_ptr += bytes_processed; in _nx_secure_tls_session_receive_records()
181 previous_packet = current_packet; in _nx_secure_tls_session_receive_records()
182 current_packet = current_packet -> nx_packet_next; in _nx_secure_tls_session_receive_records()
185 if (!current_packet) in _nx_secure_tls_session_receive_records()
198current_packet -> nx_packet_length = tls_session -> nx_secure_record_queue_header -> nx_packet_len… in _nx_secure_tls_session_receive_records()
199current_packet -> nx_packet_last = tls_session -> nx_secure_record_queue_header -> nx_packet_last; in _nx_secure_tls_session_receive_records()
[all …]
Dnx_secure_dtls_send_handshake_record.c86 NX_PACKET *current_packet; in _nx_secure_dtls_send_handshake_record() local
148 current_packet = send_packet; in _nx_secure_dtls_send_handshake_record()
152 …length = (ULONG)(current_packet -> nx_packet_append_ptr - current_packet -> nx_packet_prepend_ptr); in _nx_secure_dtls_send_handshake_record()
153 …s_handshake_hash_update(&dtls_session -> nx_secure_dtls_tls_session, current_packet -> nx_packet_p… in _nx_secure_dtls_send_handshake_record()
157 current_packet = current_packet -> nx_packet_next; in _nx_secure_dtls_send_handshake_record()
158 } while (current_packet != NX_NULL); in _nx_secure_dtls_send_handshake_record()
Dnx_secure_tls_record_payload_encrypt.c99 NX_PACKET *current_packet; in _nx_secure_tls_record_payload_encrypt() local
162 current_packet = send_packet; in _nx_secure_tls_record_payload_encrypt()
169 current_length = (ULONG)(current_packet -> nx_packet_append_ptr - in _nx_secure_tls_record_payload_encrypt()
170 current_packet -> nx_packet_prepend_ptr) - data_offset; in _nx_secure_tls_record_payload_encrypt()
173 if (current_packet -> nx_packet_next == NX_NULL) in _nx_secure_tls_record_payload_encrypt()
188 … &current_packet -> nx_packet_prepend_ptr[data_offset], in _nx_secure_tls_record_payload_encrypt()
191 … &current_packet -> nx_packet_prepend_ptr[data_offset], in _nx_secure_tls_record_payload_encrypt()
206 …NX_SECURE_MEMCPY(iv, &current_packet -> nx_packet_prepend_ptr[current_length + data_offset - iv_si… in _nx_secure_tls_record_payload_encrypt()
234 … &current_packet -> nx_packet_prepend_ptr[data_offset], in _nx_secure_tls_record_payload_encrypt()
237 … &current_packet -> nx_packet_prepend_ptr[data_offset], in _nx_secure_tls_record_payload_encrypt()
[all …]
/NetX-Duo-v6.3.0/common/src/
Dnx_ip_checksum_compute.c92 NX_PACKET *current_packet; in _nx_ip_checksum_compute() local
164 current_packet = packet_ptr; in _nx_ip_checksum_compute()
168 while (current_packet) in _nx_ip_checksum_compute()
173 …packet_size = (ULONG)(current_packet -> nx_packet_append_ptr - current_packet -> nx_packet_prepend… in _nx_ip_checksum_compute()
180 end_ptr = ((ALIGN_TYPE)current_packet -> nx_packet_append_ptr) & (ALIGN_TYPE)(~3); in _nx_ip_checksum_compute()
186 end_ptr = (ALIGN_TYPE)current_packet -> nx_packet_prepend_ptr + data_length - 3; in _nx_ip_checksum_compute()
193 long_ptr = (ULONG *)current_packet -> nx_packet_prepend_ptr; in _nx_ip_checksum_compute()
215 if ((data_length > 0) && (current_packet -> nx_packet_next)) in _nx_ip_checksum_compute()
220 if ((((ALIGN_TYPE)current_packet -> nx_packet_append_ptr) & 3) == 2) in _nx_ip_checksum_compute()
234 current_packet = current_packet -> nx_packet_next; in _nx_ip_checksum_compute()
[all …]
Dnx_tcp_socket_send_internal.c284 NX_PACKET *current_packet; in _nx_tcp_socket_send_internal() local
520 current_packet = packet_ptr -> nx_packet_next; in _nx_tcp_socket_send_internal()
522 …while ((current_packet != NX_NULL) && (current_packet -> nx_packet_prepend_ptr == current_packet -… in _nx_tcp_socket_send_internal()
526 current_packet = current_packet -> nx_packet_next; in _nx_tcp_socket_send_internal()
530 NX_ASSERT(current_packet != NX_NULL); in _nx_tcp_socket_send_internal()
533 if (((ALIGN_TYPE)current_packet -> nx_packet_prepend_ptr) & 3) in _nx_tcp_socket_send_internal()
569 current_packet = packet_ptr; in _nx_tcp_socket_send_internal()
608 … source_data_size = (ULONG)(current_packet -> nx_packet_append_ptr - current_ptr); in _nx_tcp_socket_send_internal()
614 current_packet = current_packet -> nx_packet_next; in _nx_tcp_socket_send_internal()
616 if (current_packet == NX_NULL) in _nx_tcp_socket_send_internal()
[all …]
Dnx_ip_delete_queue_clear.c76 NX_PACKET *current_packet; in _nx_ip_delete_queue_clear() local
87 current_packet = next_packet; in _nx_ip_delete_queue_clear()
93 _nx_packet_release(current_packet); in _nx_ip_delete_queue_clear()
Dnx_ip_raw_packet_disable.c83 NX_PACKET *current_packet; in _nx_ip_raw_packet_disable() local
118 current_packet = next_packet; in _nx_ip_raw_packet_disable()
124 _nx_packet_release(current_packet); in _nx_ip_raw_packet_disable()
/NetX-Duo-v6.3.0/addons/pppoe/
Dnx_pppoe_server.c3949 NX_PACKET *current_packet; in _nx_pppoe_server_session_cleanup() local
3968 current_packet = next_packet; in _nx_pppoe_server_session_cleanup()
3974 nx_packet_release(current_packet); in _nx_pppoe_server_session_cleanup()