Searched refs:current_ptr (Results 1 – 4 of 4) sorted by relevance
646 NX_PACKET *current_ptr; in _nx_secure_tls_packet_trim() local665 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()672 … current_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()
287 NX_PACKET *current_ptr = *packet_ptr; in _nx_udp_socket_receive() local292 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()
285 UCHAR *current_ptr; in _nx_tcp_socket_send_internal() local572 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()
796 NX_PACKET *current_ptr; in nx_azure_iot_hub_client_received_message_cleanup() local799 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()