Home
last modified time | relevance | path

Searched refs:nx_packet_prepend_ptr (Results 1 – 25 of 155) sorted by relevance

1234567

/NetX-Duo-v6.3.0/addons/ppp/
Dnx_ppp.c882 buffer_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ppp_receive_packet_get()
947 if ((buffer_size) && (packet_head_ptr -> nx_packet_prepend_ptr[0] != 0x7e)) in _nx_ppp_receive_packet_get()
1009 buffer_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ppp_receive_packet_get()
1065 if (packet_head_ptr -> nx_packet_prepend_ptr[0] != 0x7e) in _nx_ppp_receive_packet_get()
1114 buffer_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ppp_receive_packet_get()
1150 if (packet_ptr -> nx_packet_append_ptr <= packet_ptr -> nx_packet_prepend_ptr) in _nx_ppp_receive_packet_get()
1152 … ULONG diff = (ULONG)(packet_ptr -> nx_packet_prepend_ptr - packet_ptr -> nx_packet_append_ptr); in _nx_ppp_receive_packet_get()
1154 packet_ptr -> nx_packet_append_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ppp_receive_packet_get()
1176 …((UINT)(packet_head_ptr -> nx_packet_append_ptr - packet_head_ptr -> nx_packet_prepend_ptr) < 3) || in _nx_ppp_receive_packet_get()
1177 (packet_head_ptr -> nx_packet_prepend_ptr[1] != 0xff) || in _nx_ppp_receive_packet_get()
[all …]
/NetX-Duo-v6.3.0/common/src/
Dnx_packet_data_adjust.c99 …if (((ALIGN_TYPE)packet_ptr -> nx_packet_prepend_ptr - (ALIGN_TYPE)packet_ptr -> nx_packet_data_st… in _nx_packet_data_adjust()
107 …available_size = (ULONG)(((ALIGN_TYPE)packet_ptr -> nx_packet_prepend_ptr - (ALIGN_TYPE)packet_ptr… in _nx_packet_data_adjust()
117 …((ALIGN_TYPE)packet_ptr -> nx_packet_append_ptr - (ALIGN_TYPE)packet_ptr -> nx_packet_prepend_ptr); in _nx_packet_data_adjust()
120 …e(packet_ptr -> nx_packet_data_start + header_size, packet_ptr -> nx_packet_prepend_ptr, shift_siz… in _nx_packet_data_adjust()
123 packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_data_start + header_size; in _nx_packet_data_adjust()
124 packet_ptr -> nx_packet_append_ptr = packet_ptr -> nx_packet_prepend_ptr + shift_size; in _nx_packet_data_adjust()
157 …memcpy(work_ptr -> nx_packet_prepend_ptr, data_start, append_size); /* Use case of memcpy is verif… in _nx_packet_data_adjust()
158 …work_ptr -> nx_packet_append_ptr = (UCHAR *)((ALIGN_TYPE)work_ptr -> nx_packet_prepend_ptr + appen… in _nx_packet_data_adjust()
161 …PE)packet_ptr -> nx_packet_append_ptr - (ALIGN_TYPE)packet_ptr -> nx_packet_prepend_ptr) - append_… in _nx_packet_data_adjust()
164 …e(packet_ptr -> nx_packet_data_start + header_size, packet_ptr -> nx_packet_prepend_ptr, shift_siz… in _nx_packet_data_adjust()
[all …]
Dnx_ram_network_driver.c351 … packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_prepend_ptr - NX_ETHERNET_SIZE; in _nx_ram_network_driver()
359 ethernet_frame_ptr = (ULONG *)(packet_ptr -> nx_packet_prepend_ptr - 2); in _nx_ram_network_driver()
683 ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ram_network_driver_output()
714 destination_address_msw = (ULONG)*(packet_ptr -> nx_packet_prepend_ptr); in _nx_ram_network_driver_output()
715 …_address_msw = (destination_address_msw << 8) | (ULONG)*(packet_ptr -> nx_packet_prepend_ptr + 1); in _nx_ram_network_driver_output()
716 destination_address_lsw = (ULONG)*(packet_ptr -> nx_packet_prepend_ptr + 2); in _nx_ram_network_driver_output()
717 …_address_lsw = (destination_address_lsw << 8) | (ULONG)*(packet_ptr -> nx_packet_prepend_ptr + 3); in _nx_ram_network_driver_output()
718 …_address_lsw = (destination_address_lsw << 8) | (ULONG)*(packet_ptr -> nx_packet_prepend_ptr + 4); in _nx_ram_network_driver_output()
719 …_address_lsw = (destination_address_lsw << 8) | (ULONG)*(packet_ptr -> nx_packet_prepend_ptr + 5); in _nx_ram_network_driver_output()
757 … packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_prepend_ptr + NX_ETHERNET_SIZE; in _nx_ram_network_driver_output()
[all …]
Dnx_ipv6_process_hop_by_hop_option.c94 if ((UINT)(packet_ptr -> nx_packet_append_ptr - packet_ptr -> nx_packet_prepend_ptr) < 2) in _nx_ipv6_process_hop_by_hop_option()
102 header_length = *(packet_ptr -> nx_packet_prepend_ptr + 1); in _nx_ipv6_process_hop_by_hop_option()
112 …offset_base = (UINT)((ULONG)(packet_ptr -> nx_packet_prepend_ptr - packet_ptr -> nx_packet_ip_head… in _nx_ipv6_process_hop_by_hop_option()
117 if ((UINT)(packet_ptr -> nx_packet_append_ptr - packet_ptr -> nx_packet_prepend_ptr) < in _nx_ipv6_process_hop_by_hop_option()
123 option = (NX_IPV6_HOP_BY_HOP_OPTION *)(packet_ptr -> nx_packet_prepend_ptr + offset); in _nx_ipv6_process_hop_by_hop_option()
134 option = (NX_IPV6_HOP_BY_HOP_OPTION *)(packet_ptr -> nx_packet_prepend_ptr + offset); in _nx_ipv6_process_hop_by_hop_option()
Dnx_ip_packet_checksum_compute.c122 org_prepend_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_packet_checksum_compute()
136 ip_header_ptr = (NX_IPV4_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_packet_checksum_compute()
183 …packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_prepend_ptr + (ip_header_length << … in _nx_ip_packet_checksum_compute()
203 tcp_header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_packet_checksum_compute()
235 udp_header_ptr = (NX_UDP_HEADER *)(packet_ptr -> nx_packet_prepend_ptr); in _nx_ip_packet_checksum_compute()
267 icmpv4_header_ptr = (NX_ICMP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_packet_checksum_compute()
292 igmp_header_ptr = (NX_IGMP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_packet_checksum_compute()
344 icmpv6_header_ptr = (NX_ICMPV6_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_packet_checksum_compute()
366 ipv6_header_ptr = (NX_IPV6_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_packet_checksum_compute()
380 packet_ptr -> nx_packet_prepend_ptr += (ULONG)sizeof(NX_IPV6_HEADER); in _nx_ip_packet_checksum_compute()
[all …]
Dnx_ip_header_add.c115 …packet_ptr -> nx_packet_prepend_ptr = (packet_ptr -> nx_packet_prepend_ptr - sizeof(NX_IPV4_HEADE… in _nx_ip_header_add()
122 NX_ASSERT(packet_ptr -> nx_packet_prepend_ptr >= packet_ptr -> nx_packet_data_start); in _nx_ip_header_add()
126 ip_header_ptr = (NX_IPV4_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_header_add()
127 packet_ptr -> nx_packet_ip_header = packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_header_add()
183 …*((ULONG *)(packet_ptr -> nx_packet_prepend_ptr + sizeof(NX_IPV4_HEADER))) = (NX_IP_OPTION_COPY_FL… in _nx_ip_header_add()
203 …NX_CHANGE_ULONG_ENDIAN(*((ULONG *)(packet_ptr -> nx_packet_prepend_ptr + sizeof(NX_IPV4_HEADER)))); in _nx_ip_header_add()
Dnx_ip_fragment_assembly.c147 current_header = (NX_IPV4_HEADER *)current_fragment -> nx_packet_prepend_ptr; in _nx_ip_fragment_assembly()
174 …t_v6_fragment_option = (NX_IPV6_HEADER_FRAGMENT_OPTION *)current_fragment -> nx_packet_prepend_ptr; in _nx_ip_fragment_assembly()
213 search_header = (NX_IPV4_HEADER *)search_ptr -> nx_packet_prepend_ptr; in _nx_ip_fragment_assembly()
251 … search_v6_fragment_option = (NX_IPV6_HEADER_FRAGMENT_OPTION *)search_ptr -> nx_packet_prepend_ptr; in _nx_ip_fragment_assembly()
306 search_header = (NX_IPV4_HEADER *)search_ptr -> nx_packet_prepend_ptr; in _nx_ip_fragment_assembly()
330 … search_v6_fragment_option = (NX_IPV6_HEADER_FRAGMENT_OPTION *)search_ptr -> nx_packet_prepend_ptr; in _nx_ip_fragment_assembly()
440 search_header = (NX_IPV4_HEADER *)search_ptr -> nx_packet_prepend_ptr; in _nx_ip_fragment_assembly()
465 … search_v6_fragment_option = (NX_IPV6_HEADER_FRAGMENT_OPTION *)search_ptr -> nx_packet_prepend_ptr; in _nx_ip_fragment_assembly()
563 search_ptr -> nx_packet_prepend_ptr = search_ptr -> nx_packet_prepend_ptr + in _nx_ip_fragment_assembly()
572 search_ptr -> nx_packet_prepend_ptr += sizeof(NX_IPV6_HEADER_FRAGMENT_OPTION); in _nx_ip_fragment_assembly()
[all …]
Dnx_ipv6_header_add.c130 packet_ptr -> nx_packet_ip_header = packet_ptr -> nx_packet_prepend_ptr; in _nx_ipv6_header_add()
186 …packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_prepend_ptr - sizeof(NX_IPV6_HEADER… in _nx_ipv6_header_add()
201 NX_ICMPV6_HEADER *icmpv6_header = (NX_ICMPV6_HEADER *)(packet_ptr -> nx_packet_prepend_ptr + in _nx_ipv6_header_add()
231 NX_ASSERT(packet_ptr -> nx_packet_prepend_ptr >= packet_ptr -> nx_packet_data_start); in _nx_ipv6_header_add()
235 ip_header_ptr = (NX_IPV6_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ipv6_header_add()
236 packet_ptr -> nx_packet_ip_header = packet_ptr -> nx_packet_prepend_ptr; in _nx_ipv6_header_add()
264 ip_header_ptr = (NX_IPV6_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ipv6_header_add()
Dnx_ipv6_fragment_process.c143 source_packet -> nx_packet_ip_header = source_packet -> nx_packet_prepend_ptr; in _nx_ipv6_fragment_process()
159 fragmentable_ptr = source_packet -> nx_packet_prepend_ptr + sizeof(NX_IPV6_HEADER); in _nx_ipv6_fragment_process()
160 last_header_location = (source_packet -> nx_packet_prepend_ptr + 6); in _nx_ipv6_fragment_process()
201 …e_size = (UINT)((ALIGN_TYPE)fragmentable_ptr - (ALIGN_TYPE)source_packet -> nx_packet_prepend_ptr); in _nx_ipv6_fragment_process()
313 source_packet -> nx_packet_prepend_ptr = source_packet -> nx_packet_ip_header; in _nx_ipv6_fragment_process()
317 first_fragment -> nx_packet_prepend_ptr += NX_PHYSICAL_HEADER; in _nx_ipv6_fragment_process()
352 source_packet -> nx_packet_last -> nx_packet_prepend_ptr = fragmentable_ptr; in _nx_ipv6_fragment_process()
365 ipv6_header = (NX_IPV6_HEADER *)first_fragment -> nx_packet_prepend_ptr; in _nx_ipv6_fragment_process()
383 fragmentable_ptr = source_packet -> nx_packet_last -> nx_packet_prepend_ptr; in _nx_ipv6_fragment_process()
Dnx_tcp_socket_send_internal.c88 UCHAR *original_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_driver_send()
103 …packet_ptr -> nx_packet_prepend_ptr = packet_ptr -> nx_packet_prepend_ptr - sizeof(NX_TCP_HEADER); in _nx_tcp_socket_driver_send()
110 header_ptr = (NX_TCP_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_driver_send()
158 if (ip_ptr -> nx_ip_packet_filter((VOID *)(packet_ptr -> nx_packet_prepend_ptr), in _nx_tcp_socket_driver_send()
183 packet_ptr -> nx_packet_prepend_ptr = original_ptr; in _nx_tcp_socket_driver_send()
501 else if (((ALIGN_TYPE)packet_ptr -> nx_packet_prepend_ptr) & 3) in _nx_tcp_socket_send_internal()
516 else if (packet_ptr -> nx_packet_prepend_ptr == packet_ptr -> nx_packet_append_ptr) 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()
533 if (((ALIGN_TYPE)current_packet -> nx_packet_prepend_ptr) & 3) in _nx_tcp_socket_send_internal()
572 current_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_send_internal()
[all …]
Dnx_packet_data_extract_offset.c127 …ULONG)((working_packet_ptr -> nx_packet_append_ptr - working_packet_ptr -> nx_packet_prepend_ptr)); in _nx_packet_data_extract_offset()
134 source_ptr = working_packet_ptr -> nx_packet_prepend_ptr + offset_bytes; in _nx_packet_data_extract_offset()
149 source_ptr = working_packet_ptr -> nx_packet_prepend_ptr + offset_bytes; in _nx_packet_data_extract_offset()
205 source_ptr = working_packet_ptr -> nx_packet_prepend_ptr; in _nx_packet_data_extract_offset()
Dnx_tcp_socket_state_data_check.c105 …if ((INT)(work_ptr -> nx_packet_append_ptr - work_ptr -> nx_packet_prepend_ptr) < (INT)bytes_to_ke… in _nx_tcp_socket_state_data_trim()
109 …ONG)((ALIGN_TYPE)work_ptr -> nx_packet_append_ptr - (ALIGN_TYPE)work_ptr -> nx_packet_prepend_ptr); in _nx_tcp_socket_state_data_trim()
118 work_ptr -> nx_packet_append_ptr = work_ptr -> nx_packet_prepend_ptr + bytes_to_keep; in _nx_tcp_socket_state_data_trim()
199 packet_ptr -> nx_packet_prepend_ptr += sizeof(NX_TCP_HEADER); in _nx_tcp_socket_state_data_trim_front()
209 …ONG)((ALIGN_TYPE)work_ptr -> nx_packet_append_ptr - (ALIGN_TYPE)work_ptr -> nx_packet_prepend_ptr); in _nx_tcp_socket_state_data_trim_front()
221 work_ptr -> nx_packet_append_ptr = work_ptr -> nx_packet_prepend_ptr; in _nx_tcp_socket_state_data_trim_front()
256 memmove(packet_ptr -> nx_packet_prepend_ptr, /* Use case of memmove is verified. */ in _nx_tcp_socket_state_data_trim_front()
257 packet_ptr -> nx_packet_prepend_ptr + amount, in _nx_tcp_socket_state_data_trim_front()
266 work_ptr -> nx_packet_prepend_ptr += amount; in _nx_tcp_socket_state_data_trim_front()
276 packet_ptr -> nx_packet_prepend_ptr -= sizeof(NX_TCP_HEADER); in _nx_tcp_socket_state_data_trim_front()
[all …]
Dnx_ipv6_packet_copy.c122 … (bytes_to_copy > (UINT)(source_pkt -> nx_packet_append_ptr - source_pkt -> nx_packet_prepend_ptr)) in _nx_ipv6_packet_copy()
128 … bytes_to_copy = (UINT)(source_pkt -> nx_packet_append_ptr - source_pkt -> nx_packet_prepend_ptr); in _nx_ipv6_packet_copy()
151 source_ptr = (ULONG *)source_pkt -> nx_packet_prepend_ptr; in _nx_ipv6_packet_copy()
152 source_pkt -> nx_packet_prepend_ptr += bytes_to_copy; in _nx_ipv6_packet_copy()
Dnx_ip_packet_receive.c106 version_byte = *(packet_ptr -> nx_packet_prepend_ptr); in _nx_ip_packet_receive()
113 packet_ptr -> nx_packet_ip_header = packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_packet_receive()
121 if (ip_ptr -> nx_ip_packet_filter((VOID *)(packet_ptr -> nx_packet_prepend_ptr), in _nx_ip_packet_receive()
/NetX-Duo-v6.3.0/nx_secure/src/
Dnx_secure_tls_packet_allocate.c105 …(((ULONG)((*packet_ptr) -> nx_packet_data_end) - (ULONG)((*packet_ptr) -> nx_packet_prepend_ptr)) < in _nx_secure_tls_packet_allocate()
116 (*packet_ptr) -> nx_packet_prepend_ptr += NX_SECURE_TLS_RECORD_HEADER_SIZE; in _nx_secure_tls_packet_allocate()
134 …> ((ULONG)((*packet_ptr) -> nx_packet_data_end) - (ULONG)((*packet_ptr) -> nx_packet_prepend_ptr))) in _nx_secure_tls_packet_allocate()
147 NX_SECURE_MEMSET((*packet_ptr) -> nx_packet_prepend_ptr, 0, iv_size); in _nx_secure_tls_packet_allocate()
148 (*packet_ptr) -> nx_packet_prepend_ptr += iv_size; in _nx_secure_tls_packet_allocate()
154 (*packet_ptr) -> nx_packet_append_ptr = (*packet_ptr) -> nx_packet_prepend_ptr; in _nx_secure_tls_packet_allocate()
Dnx_secure_dtls_packet_allocate.c104 …(((ULONG)((*packet_ptr) -> nx_packet_data_end) - (ULONG)((*packet_ptr) -> nx_packet_prepend_ptr)) < in _nx_secure_dtls_packet_allocate()
114 (*packet_ptr) -> nx_packet_prepend_ptr += NX_SECURE_DTLS_RECORD_HEADER_SIZE; in _nx_secure_dtls_packet_allocate()
131 …> ((ULONG)((*packet_ptr) -> nx_packet_data_end) - (ULONG)((*packet_ptr) -> nx_packet_prepend_ptr))) in _nx_secure_dtls_packet_allocate()
144 NX_SECURE_MEMSET((*packet_ptr) -> nx_packet_prepend_ptr, 0, iv_size); in _nx_secure_dtls_packet_allocate()
145 (*packet_ptr) -> nx_packet_prepend_ptr += iv_size; in _nx_secure_dtls_packet_allocate()
151 (*packet_ptr) -> nx_packet_append_ptr = (*packet_ptr) -> nx_packet_prepend_ptr; in _nx_secure_dtls_packet_allocate()
Dnx_secure_tls_send_record.c161 … if ((ULONG)(send_packet -> nx_packet_prepend_ptr - send_packet -> nx_packet_data_start) < iv_size) in _nx_secure_tls_send_record()
171 send_packet -> nx_packet_prepend_ptr -= iv_size; in _nx_secure_tls_send_record()
176 …if ((ULONG)(send_packet -> nx_packet_prepend_ptr - send_packet -> nx_packet_data_start) < NX_SECUR… in _nx_secure_tls_send_record()
185 record_header = send_packet -> nx_packet_prepend_ptr - NX_SECURE_TLS_RECORD_HEADER_SIZE; in _nx_secure_tls_send_record()
268 hash_data = current_packet -> nx_packet_prepend_ptr + iv_size; in _nx_secure_tls_send_record()
269 …ULONG)(current_packet -> nx_packet_append_ptr - current_packet -> nx_packet_prepend_ptr) - iv_size; in _nx_secure_tls_send_record()
282 hash_data = current_packet -> nx_packet_prepend_ptr; in _nx_secure_tls_send_record()
283 …length = (ULONG)(current_packet -> nx_packet_append_ptr - current_packet -> nx_packet_prepend_ptr); in _nx_secure_tls_send_record()
345 send_packet -> nx_packet_prepend_ptr -= NX_SECURE_TLS_RECORD_HEADER_SIZE; in _nx_secure_tls_send_record()
362 NX_SECURE_MEMSET(current_packet -> nx_packet_prepend_ptr, 0, in _nx_secure_tls_send_record()
[all …]
Dnx_secure_tls_send_handshake_record.c100 send_packet -> nx_packet_prepend_ptr -= NX_SECURE_TLS_HANDSHAKE_HEADER_SIZE; in _nx_secure_tls_send_handshake_record()
104 packet_buffer = send_packet -> nx_packet_prepend_ptr; 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()
142 … current_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()
Dnx_secure_tls_allocate_handshake_packet.c95 …(((ULONG)((*packet_ptr) -> nx_packet_data_end) - (ULONG)((*packet_ptr) -> nx_packet_prepend_ptr)) < in _nx_secure_tls_allocate_handshake_packet()
105 (*packet_ptr) -> nx_packet_prepend_ptr += NX_SECURE_TLS_HANDSHAKE_HEADER_SIZE; in _nx_secure_tls_allocate_handshake_packet()
106 (*packet_ptr) -> nx_packet_append_ptr = (*packet_ptr) -> nx_packet_prepend_ptr; in _nx_secure_tls_allocate_handshake_packet()
Dnx_secure_tls_record_payload_encrypt.c170 current_packet -> nx_packet_prepend_ptr) - data_offset; 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()
264 … &current_packet -> nx_packet_prepend_ptr[rounded_length + data_offset], in _nx_secure_tls_record_payload_encrypt()
267 current_packet -> nx_packet_next -> nx_packet_prepend_ptr); in _nx_secure_tls_record_payload_encrypt()
273 current_packet -> nx_packet_next -> nx_packet_prepend_ptr, in _nx_secure_tls_record_payload_encrypt()
301 …NX_SECURE_MEMCPY(&current_packet -> nx_packet_prepend_ptr[rounded_length + data_offset], /* lgtm[… in _nx_secure_tls_record_payload_encrypt()
[all …]
Dnx_secure_dtls_process_record.c150 … if (((ULONG)(packet_ptr -> nx_packet_append_ptr) - (ULONG)(packet_ptr -> nx_packet_prepend_ptr)) < in _nx_secure_dtls_process_record()
159 packet_data = &packet_ptr -> nx_packet_prepend_ptr[header_length]; in _nx_secure_dtls_process_record()
188 packet_data = decrypted_packet -> nx_packet_prepend_ptr; in _nx_secure_dtls_process_record()
221 …X_ASSERT((ULONG)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr) >= messag… in _nx_secure_dtls_process_record()
222 …NX_SECURE_MEMCPY(packet_ptr -> nx_packet_prepend_ptr, packet_data, message_length); /* Use case of… in _nx_secure_dtls_process_record()
223 packet_data = packet_ptr -> nx_packet_prepend_ptr; in _nx_secure_dtls_process_record()
224 … packet_ptr -> nx_packet_append_ptr = packet_ptr -> nx_packet_prepend_ptr + message_length; in _nx_secure_dtls_process_record()
Dnx_secure_dtls_allocate_handshake_packet.c96 …(((ULONG)((*packet_ptr) -> nx_packet_data_end) - (ULONG)((*packet_ptr) -> nx_packet_prepend_ptr)) < in _nx_secure_dtls_allocate_handshake_packet()
106 (*packet_ptr) -> nx_packet_prepend_ptr += NX_SECURE_DTLS_HANDSHAKE_HEADER_SIZE; in _nx_secure_dtls_allocate_handshake_packet()
107 (*packet_ptr) -> nx_packet_append_ptr = (*packet_ptr) -> nx_packet_prepend_ptr; in _nx_secure_dtls_allocate_handshake_packet()
Dnx_secure_dtls_send_handshake_record.c102 send_packet -> nx_packet_prepend_ptr -= NX_SECURE_DTLS_HANDSHAKE_HEADER_SIZE; in _nx_secure_dtls_send_handshake_record()
106 packet_buffer = send_packet -> nx_packet_prepend_ptr; 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 …e_hash_update(&dtls_session -> nx_secure_dtls_tls_session, current_packet -> nx_packet_prepend_ptr, in _nx_secure_dtls_send_handshake_record()
/NetX-Duo-v6.3.0/addons/ftp/
Dnxd_ftp_client.c472 buffer_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ftp_client_connect_internal()
495 …rname) && ((UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr) < 11)) || in _nx_ftp_client_connect_internal()
496 …username) && ((UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr) < 7))) in _nx_ftp_client_connect_internal()
542 … if ((i + 7) >= (UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr)) in _nx_ftp_client_connect_internal()
571 …packet_ptr -> nx_packet_append_ptr = packet_ptr -> nx_packet_prepend_ptr + packet_ptr -> nx_packe… in _nx_ftp_client_connect_internal()
634 buffer_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ftp_client_connect_internal()
673 …sword) && ((UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr) < 11)) || in _nx_ftp_client_connect_internal()
674 …password) && ((UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr) < 7))) in _nx_ftp_client_connect_internal()
720 … if ((i + 7) >= (UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr)) in _nx_ftp_client_connect_internal()
749 …packet_ptr -> nx_packet_append_ptr = packet_ptr -> nx_packet_prepend_ptr + packet_ptr -> nx_packe… in _nx_ftp_client_connect_internal()
[all …]
/NetX-Duo-v6.3.0/addons/azure_iot/
Dnx_azure_iot_hub_client_properties.c296 prepend_ptr = packet_ptr -> nx_packet_prepend_ptr; in nx_azure_iot_hub_client_properties_component_process()
307 … packet_ptr -> nx_packet_length += (ULONG)(packet_ptr -> nx_packet_prepend_ptr - prepend_ptr); in nx_azure_iot_hub_client_properties_component_process()
308 packet_ptr -> nx_packet_prepend_ptr = prepend_ptr; in nx_azure_iot_hub_client_properties_component_process()
319 … packet_ptr -> nx_packet_length += (ULONG)(packet_ptr -> nx_packet_prepend_ptr - prepend_ptr); in nx_azure_iot_hub_client_properties_component_process()
320 packet_ptr -> nx_packet_prepend_ptr = prepend_ptr; in nx_azure_iot_hub_client_properties_component_process()
329 … packet_ptr -> nx_packet_length += (ULONG)(packet_ptr -> nx_packet_prepend_ptr - prepend_ptr); in nx_azure_iot_hub_client_properties_component_process()
330 packet_ptr -> nx_packet_prepend_ptr = prepend_ptr; in nx_azure_iot_hub_client_properties_component_process()
352 … packet_ptr -> nx_packet_length += (ULONG)(packet_ptr -> nx_packet_prepend_ptr - prepend_ptr); in nx_azure_iot_hub_client_properties_component_process()
353 packet_ptr -> nx_packet_prepend_ptr = prepend_ptr; in nx_azure_iot_hub_client_properties_component_process()
375 packet_ptr -> nx_packet_length += (ULONG)(packet_ptr -> nx_packet_prepend_ptr - prepend_ptr); in nx_azure_iot_hub_client_properties_component_process()
[all …]

1234567