Home
last modified time | relevance | path

Searched refs:remaining_bytes (Results 1 – 12 of 12) sorted by relevance

/NetX-Duo-v6.2.1/common/src/
Dnx_packet_data_extract_offset.c86 ULONG remaining_bytes; in _nx_packet_data_extract_offset() local
166 remaining_bytes = bytes_to_copy; /* for use in the copy loop */ in _nx_packet_data_extract_offset()
171 remaining_bytes = buffer_length; in _nx_packet_data_extract_offset()
176 while (working_packet_ptr && remaining_bytes) in _nx_packet_data_extract_offset()
183 if (remaining_bytes < bytes_to_copy) in _nx_packet_data_extract_offset()
185 bytes_to_copy = remaining_bytes; in _nx_packet_data_extract_offset()
193 remaining_bytes -= bytes_to_copy; in _nx_packet_data_extract_offset()
Dnx_packet_data_retrieve.c77 ULONG remaining_bytes; in _nx_packet_data_retrieve() local
91 remaining_bytes = packet_ptr -> nx_packet_length; in _nx_packet_data_retrieve()
107 remaining_bytes -= bytes_to_copy; in _nx_packet_data_retrieve()
117 if (remaining_bytes) in _nx_packet_data_retrieve()
122 *bytes_copied = *bytes_copied - remaining_bytes; in _nx_packet_data_retrieve()
Dnx_ip_fragment_forward_packet.c90 ULONG remaining_bytes; in _nx_ip_fragment_forward_packet() local
132 remaining_bytes = (source_packet -> nx_packet_length - (ULONG)sizeof(NX_IPV4_HEADER)); in _nx_ip_fragment_forward_packet()
146 while (remaining_bytes) in _nx_ip_fragment_forward_packet()
182 if (remaining_bytes > fragment_size) in _nx_ip_fragment_forward_packet()
185 remaining_bytes -= fragment_size; in _nx_ip_fragment_forward_packet()
189 copy_remaining_size = remaining_bytes; in _nx_ip_fragment_forward_packet()
190 remaining_bytes = 0; in _nx_ip_fragment_forward_packet()
254 else if (remaining_bytes) in _nx_ip_fragment_forward_packet()
302 if (remaining_bytes) in _nx_ip_fragment_forward_packet()
Dnx_ip_fragment_packet.c87 ULONG remaining_bytes; in _nx_ip_fragment_packet() local
148 remaining_bytes = (source_packet -> nx_packet_length - (ULONG)sizeof(NX_IPV4_HEADER)); in _nx_ip_fragment_packet()
157 while (remaining_bytes) in _nx_ip_fragment_packet()
193 if (remaining_bytes > fragment_size) in _nx_ip_fragment_packet()
196 remaining_bytes -= fragment_size; in _nx_ip_fragment_packet()
200 copy_remaining_size = remaining_bytes; in _nx_ip_fragment_packet()
201 remaining_bytes = 0; in _nx_ip_fragment_packet()
263 else if (remaining_bytes) in _nx_ip_fragment_packet()
310 if (remaining_bytes) in _nx_ip_fragment_packet()
Dnx_ipv6_fragment_process.c219 UINT remaining_bytes; in _nx_ipv6_fragment_process() local
241remaining_bytes = fragment_size + unfragmentable_size + (UINT)sizeof(NX_IPV6_HEADER_FRAGMENT_OPTIO… in _nx_ipv6_fragment_process()
287 if (nx_packet_size > remaining_bytes) in _nx_ipv6_fragment_process()
290 new_packet -> nx_packet_length = remaining_bytes; in _nx_ipv6_fragment_process()
291 remaining_bytes = 0; in _nx_ipv6_fragment_process()
296 remaining_bytes -= nx_packet_size; in _nx_ipv6_fragment_process()
298 } while (remaining_bytes); in _nx_ipv6_fragment_process()
Dnx_tcp_socket_send_internal.c282 ULONG remaining_bytes; in _nx_tcp_socket_send_internal() local
563 remaining_bytes = tx_window_current; in _nx_tcp_socket_send_internal()
567 remaining_bytes = packet_ptr -> nx_packet_length; in _nx_tcp_socket_send_internal()
605 while (remaining_bytes) in _nx_tcp_socket_send_internal()
654 if (remaining_bytes > source_data_size) in _nx_tcp_socket_send_internal()
660 copy_size = remaining_bytes; in _nx_tcp_socket_send_internal()
705 remaining_bytes -= copy_size; in _nx_tcp_socket_send_internal()
994 remaining_bytes = packet_ptr -> nx_packet_length - data_left; in _nx_tcp_socket_send_internal()
997 while (remaining_bytes > in _nx_tcp_socket_send_internal()
1006remaining_bytes -= (ULONG)((ALIGN_TYPE)current_packet -> nx_packet_append_ptr - (ALIGN_TYPE)curren… in _nx_tcp_socket_send_internal()
[all …]
/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_dtls_process_header.c86 ULONG remaining_bytes = NX_SECURE_DTLS_RECORD_HEADER_SIZE; in _nx_secure_dtls_process_header() local
97 while (remaining_bytes) in _nx_secure_dtls_process_header()
109 …ffset(packet_ptr, record_offset, &header_data[NX_SECURE_DTLS_RECORD_HEADER_SIZE - remaining_bytes], in _nx_secure_dtls_process_header()
110 remaining_bytes, &bytes_copied); in _nx_secure_dtls_process_header()
121 remaining_bytes -= bytes_copied; in _nx_secure_dtls_process_header()
/NetX-Duo-v6.2.1/addons/rtp/
Dnx_rtp_sender.c1353 ULONG remaining_bytes = packet_ptr -> nx_packet_length; in _nx_rtp_sender_session_packet_send() local
1371 while (remaining_bytes) in _nx_rtp_sender_session_packet_send()
1439 remaining_bytes -= payload_data_length; in _nx_rtp_sender_session_packet_send()
1470 if ((remaining_bytes == 0) || (sample_factor)) in _nx_rtp_sender_session_packet_send()
1536 if (sample_factor && remaining_bytes) in _nx_rtp_sender_session_packet_send()
/NetX-Duo-v6.2.1/addons/BSD/
Dnxd_bsd.c9588 ULONG remaining_bytes; in nx_packet_data_extract_offset() local
9659 remaining_bytes = bytes_to_copy; /* for use in the copy loop */ in nx_packet_data_extract_offset()
9664 remaining_bytes = buffer_length; in nx_packet_data_extract_offset()
9669 while (working_packet_ptr && remaining_bytes) in nx_packet_data_extract_offset()
9675 if(remaining_bytes < bytes_to_copy) in nx_packet_data_extract_offset()
9676 bytes_to_copy = remaining_bytes; in nx_packet_data_extract_offset()
9683 remaining_bytes -= bytes_to_copy; in nx_packet_data_extract_offset()
12767 ULONG remaining_bytes; in _nxd_bsd_swap_ipv6_extension_headers() local
12772remaining_bytes = (ULONG)packet_ptr -> nx_packet_prepend_ptr - (ULONG)packet_ptr -> nx_packet_ip_h… in _nxd_bsd_swap_ipv6_extension_headers()
12776 remaining_bytes -= header_length; in _nxd_bsd_swap_ipv6_extension_headers()
[all …]
/NetX-Duo-v6.2.1/addons/ftp/
Dnxd_ftp_server.c6623 ULONG remaining_bytes; in _nx_ftp_server_block_header_retrieve() local
6658remaining_bytes = ftp_client_ptr -> nx_ftp_client_request_block_bytes - ftp_client_ptr -> nx_ftp_c… in _nx_ftp_server_block_header_retrieve()
6659 if (remaining_bytes == 0) in _nx_ftp_server_block_header_retrieve()
6668 if (remaining_bytes < packet_ptr -> nx_packet_length) in _nx_ftp_server_block_header_retrieve()
6674 delta = packet_ptr -> nx_packet_length - remaining_bytes; in _nx_ftp_server_block_header_retrieve()
/NetX-Duo-v6.2.1/addons/http/
Dnxd_http_server.c199 UINT remaining_bytes; in _nx_http_server_content_get() local
330 remaining_bytes = destination_size; in _nx_http_server_content_get()
333 while (remaining_bytes--) in _nx_http_server_content_get()
926 UINT remaining_bytes; in _nx_http_server_content_get_extended() local
1073 remaining_bytes = destination_size; in _nx_http_server_content_get_extended()
1076 while (remaining_bytes--) in _nx_http_server_content_get_extended()
/NetX-Duo-v6.2.1/addons/web/
Dnx_web_http_server.c770 UINT remaining_bytes; in _nx_web_http_server_content_get_extended() local
972 remaining_bytes = destination_size; in _nx_web_http_server_content_get_extended()
975 while (remaining_bytes--) in _nx_web_http_server_content_get_extended()