Home
last modified time | relevance | path

Searched refs:current_ptr (Results 1 – 4 of 4) sorted by relevance

/NetX-Duo-v6.3.0/nx_secure/src/
Dnx_secure_tls_process_record.c646 NX_PACKET *current_ptr; in _nx_secure_tls_packet_trim() local
665 for (current_ptr = packet_ptr; current_ptr; current_ptr = current_ptr -> nx_packet_next) in _nx_secure_tls_packet_trim()
667 …payload_length = (ULONG)(current_ptr -> nx_packet_append_ptr - current_ptr -> nx_packet_prepend_pt… in _nx_secure_tls_packet_trim()
672current_ptr -> nx_packet_append_ptr = current_ptr -> nx_packet_prepend_ptr + message_length; in _nx_secure_tls_packet_trim()
673 if (current_ptr -> nx_packet_next) in _nx_secure_tls_packet_trim()
677 nx_secure_tls_packet_release(current_ptr -> nx_packet_next); in _nx_secure_tls_packet_trim()
678 current_ptr -> nx_packet_next = NX_NULL; in _nx_secure_tls_packet_trim()
679 packet_ptr -> nx_packet_last = current_ptr; in _nx_secure_tls_packet_trim()
683 …message_length -= (ULONG)(current_ptr -> nx_packet_append_ptr - current_ptr -> nx_packet_prepend_p… in _nx_secure_tls_packet_trim()
/NetX-Duo-v6.3.0/common/src/
Dnx_udp_socket_receive.c287 NX_PACKET *current_ptr = *packet_ptr; in _nx_udp_socket_receive() local
292 udp_header_ptr = (NX_UDP_HEADER *)(current_ptr -> nx_packet_prepend_ptr); in _nx_udp_socket_receive()
296 if (current_ptr -> nx_packet_ip_version == NX_IP_VERSION_V4) in _nx_udp_socket_receive()
301 ipv4_header = (NX_IPV4_HEADER *)(current_ptr -> nx_packet_ip_header); in _nx_udp_socket_receive()
308 if (current_ptr -> nx_packet_ip_version == NX_IP_VERSION_V6) /* IPv6 */ in _nx_udp_socket_receive()
313 ipv6_header = (NX_IPV6_HEADER *)(current_ptr -> nx_packet_ip_header); in _nx_udp_socket_receive()
328 checksum = _nx_ip_checksum_compute(current_ptr, NX_PROTOCOL_UDP, in _nx_udp_socket_receive()
329 (UINT)current_ptr -> nx_packet_length, in _nx_udp_socket_receive()
Dnx_tcp_socket_send_internal.c285 UCHAR *current_ptr; in _nx_tcp_socket_send_internal() local
572 current_ptr = packet_ptr -> nx_packet_prepend_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()
642 current_ptr = current_packet -> nx_packet_prepend_ptr; in _nx_tcp_socket_send_internal()
646 … source_data_size = (ULONG)(current_packet -> nx_packet_append_ptr - current_ptr); in _nx_tcp_socket_send_internal()
665 ret = _nx_packet_data_append(send_packet, current_ptr, copy_size, in _nx_tcp_socket_send_internal()
706 current_ptr += copy_size; in _nx_tcp_socket_send_internal()
/NetX-Duo-v6.3.0/addons/azure_iot/
Dnx_azure_iot_hub_client.c796 NX_PACKET *current_ptr; in nx_azure_iot_hub_client_received_message_cleanup() local
799 for (current_ptr = message -> message_head; current_ptr; current_ptr = next_ptr) in nx_azure_iot_hub_client_received_message_cleanup()
803 next_ptr = current_ptr -> nx_packet_queue_next; in nx_azure_iot_hub_client_received_message_cleanup()
806 current_ptr -> nx_packet_queue_next = NX_NULL; in nx_azure_iot_hub_client_received_message_cleanup()
807 nx_packet_release(current_ptr); in nx_azure_iot_hub_client_received_message_cleanup()