/NetX-Duo-v6.2.1/common/src/ |
D | nx_packet_data_adjust.c | 99 …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 …]
|
D | nx_ram_network_driver.c | 351 … 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 …]
|
D | nx_ipv6_process_hop_by_hop_option.c | 94 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()
|
D | nx_ip_packet_checksum_compute.c | 122 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 …]
|
D | nx_ip_header_add.c | 108 …packet_ptr -> nx_packet_prepend_ptr = (packet_ptr -> nx_packet_prepend_ptr - sizeof(NX_IPV4_HEADE… in _nx_ip_header_add() 115 NX_ASSERT(packet_ptr -> nx_packet_prepend_ptr >= packet_ptr -> nx_packet_data_start); in _nx_ip_header_add() 119 ip_header_ptr = (NX_IPV4_HEADER *)packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_header_add() 120 packet_ptr -> nx_packet_ip_header = packet_ptr -> nx_packet_prepend_ptr; in _nx_ip_header_add() 172 …*((ULONG *)(packet_ptr -> nx_packet_prepend_ptr + sizeof(NX_IPV4_HEADER))) = (NX_IP_OPTION_COPY_FL… in _nx_ip_header_add() 192 …NX_CHANGE_ULONG_ENDIAN(*((ULONG *)(packet_ptr -> nx_packet_prepend_ptr + sizeof(NX_IPV4_HEADER)))); in _nx_ip_header_add()
|
D | nx_ip_fragment_assembly.c | 147 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 …]
|
D | nx_ipv6_header_add.c | 130 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()
|
D | nx_ipv6_fragment_process.c | 136 source_packet -> nx_packet_ip_header = source_packet -> nx_packet_prepend_ptr; in _nx_ipv6_fragment_process() 152 fragmentable_ptr = source_packet -> nx_packet_prepend_ptr + sizeof(NX_IPV6_HEADER); in _nx_ipv6_fragment_process() 153 last_header_location = (source_packet -> nx_packet_prepend_ptr + 6); in _nx_ipv6_fragment_process() 194 …e_size = (UINT)((ALIGN_TYPE)fragmentable_ptr - (ALIGN_TYPE)source_packet -> nx_packet_prepend_ptr); in _nx_ipv6_fragment_process() 306 source_packet -> nx_packet_prepend_ptr = source_packet -> nx_packet_ip_header; in _nx_ipv6_fragment_process() 310 first_fragment -> nx_packet_prepend_ptr += NX_PHYSICAL_HEADER; in _nx_ipv6_fragment_process() 345 source_packet -> nx_packet_last -> nx_packet_prepend_ptr = fragmentable_ptr; in _nx_ipv6_fragment_process() 358 ipv6_header = (NX_IPV6_HEADER *)first_fragment -> nx_packet_prepend_ptr; in _nx_ipv6_fragment_process() 376 fragmentable_ptr = source_packet -> nx_packet_last -> nx_packet_prepend_ptr; in _nx_ipv6_fragment_process()
|
D | nx_tcp_socket_send_internal.c | 88 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 …]
|
D | nx_packet_data_extract_offset.c | 127 …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()
|
D | nx_tcp_socket_state_data_check.c | 105 …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 …]
|
D | nx_ipv6_packet_copy.c | 122 … (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()
|
D | nx_ip_packet_receive.c | 106 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.2.1/addons/ppp/ |
D | nx_ppp.c | 878 buffer_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ppp_receive_packet_get() 943 if ((buffer_size) && (packet_head_ptr -> nx_packet_prepend_ptr[0] != 0x7e)) in _nx_ppp_receive_packet_get() 1005 buffer_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ppp_receive_packet_get() 1061 if (packet_head_ptr -> nx_packet_prepend_ptr[0] != 0x7e) in _nx_ppp_receive_packet_get() 1110 buffer_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ppp_receive_packet_get() 1180 buffer_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ppp_receive_packet_get() 1197 if (packet_ptr -> nx_packet_append_ptr <= packet_ptr -> nx_packet_prepend_ptr) in _nx_ppp_receive_packet_get() 1199 … ULONG diff = (ULONG)(packet_ptr -> nx_packet_prepend_ptr - packet_ptr -> nx_packet_append_ptr); in _nx_ppp_receive_packet_get() 1201 packet_ptr -> nx_packet_append_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ppp_receive_packet_get() 1223 packet_head_ptr -> nx_packet_prepend_ptr += 3; in _nx_ppp_receive_packet_get() [all …]
|
/NetX-Duo-v6.2.1/nx_secure/src/ |
D | nx_secure_tls_packet_allocate.c | 105 …(((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()
|
D | nx_secure_dtls_packet_allocate.c | 104 …(((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()
|
D | nx_secure_tls_send_record.c | 161 … 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 …]
|
D | nx_secure_tls_send_handshake_record.c | 100 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()
|
D | nx_secure_tls_allocate_handshake_packet.c | 95 …(((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()
|
D | nx_secure_tls_record_payload_encrypt.c | 170 current_packet -> nx_packet_prepend_ptr) - data_offset; in _nx_secure_tls_record_payload_encrypt() 188 … ¤t_packet -> nx_packet_prepend_ptr[data_offset], in _nx_secure_tls_record_payload_encrypt() 191 … ¤t_packet -> nx_packet_prepend_ptr[data_offset], in _nx_secure_tls_record_payload_encrypt() 206 …NX_SECURE_MEMCPY(iv, ¤t_packet -> nx_packet_prepend_ptr[current_length + data_offset - iv_si… in _nx_secure_tls_record_payload_encrypt() 234 … ¤t_packet -> nx_packet_prepend_ptr[data_offset], in _nx_secure_tls_record_payload_encrypt() 237 … ¤t_packet -> nx_packet_prepend_ptr[data_offset], in _nx_secure_tls_record_payload_encrypt() 264 … ¤t_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(¤t_packet -> nx_packet_prepend_ptr[rounded_length + data_offset], /* lgtm[… in _nx_secure_tls_record_payload_encrypt() [all …]
|
D | nx_secure_dtls_allocate_handshake_packet.c | 96 …(((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()
|
D | nx_secure_dtls_process_record.c | 150 … 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()
|
D | nx_secure_dtls_send_handshake_record.c | 102 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.2.1/addons/ftp/ |
D | nxd_ftp_client.c | 469 buffer_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ftp_client_connect_internal() 492 …rname) && ((UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr) < 11)) || in _nx_ftp_client_connect_internal() 493 …username) && ((UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr) < 7))) in _nx_ftp_client_connect_internal() 539 … if ((i + 7) >= (UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr)) in _nx_ftp_client_connect_internal() 568 …packet_ptr -> nx_packet_append_ptr = packet_ptr -> nx_packet_prepend_ptr + packet_ptr -> nx_packe… in _nx_ftp_client_connect_internal() 631 buffer_ptr = packet_ptr -> nx_packet_prepend_ptr; in _nx_ftp_client_connect_internal() 669 …sword) && ((UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr) < 11)) || in _nx_ftp_client_connect_internal() 670 …password) && ((UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr) < 7))) in _nx_ftp_client_connect_internal() 716 … if ((i + 7) >= (UINT)(packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_prepend_ptr)) in _nx_ftp_client_connect_internal() 745 …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.2.1/addons/azure_iot/ |
D | nx_azure_iot_hub_client_properties.c | 296 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 …]
|