netxduo
_nx_packet_allocate()
is only used within netxduo.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
CodeScope
STM32 Libraries and Samples
netxduo
_nx_packet_allocate()
_nx_packet_allocate() function
Syntax
from
nx_api.h:3604
UINT
nx_packet_allocate
(
NX_PACKET_POOL
*
pool_ptr
,
NX_PACKET
*
*
packet_ptr
,
ULONG
packet_type
,
ULONG
wait_option
)
;
Implemented in
nx_packet_allocate.c:76
Arguments
pool_ptr
packet_ptr
packet_type
wait_option
References
Location
Referrer
Text
nx_packet_allocate.c:76
UINT
_nx_packet_allocate
(
NX_PACKET_POOL
*
pool_ptr
,
NX_PACKET
*
*
packet_ptr
,
nx_api.h:3604
UINT
nx_packet_allocate
(
NX_PACKET_POOL
*
pool_ptr
,
NX_PACKET
*
*
packet_ptr
,
nx_packet.h:93
UINT
_nx_packet_allocate
(
NX_PACKET_POOL
*
pool_ptr
,
NX_PACKET
*
*
packet_ptr
,
nx_arp_announce_send.c:93
_nx_arp_announce_send()
if
(
_nx_packet_allocate
(
ip_ptr
->
nx_ip_default_packet_pool
,
&
request_ptr
,
(
NX_PHYSICAL_HEADER
+
NX_ARP_MESSAGE_SIZE
)
,
NX_NO_WAIT
)
)
nx_arp_packet_send.c:95
_nx_arp_packet_send()
if
(
_nx_packet_allocate
(
ip_ptr
->
nx_ip_default_packet_pool
,
&
request_ptr
,
(
NX_PHYSICAL_HEADER
+
NX_ARP_MESSAGE_SIZE
)
,
NX_NO_WAIT
)
)
nx_arp_probe_send.c:94
_nx_arp_probe_send()
if
(
_nx_packet_allocate
(
ip_ptr
->
nx_ip_default_packet_pool
,
&
request_ptr
,
(
NX_PHYSICAL_HEADER
+
NX_ARP_MESSAGE_SIZE
)
,
NX_NO_WAIT
)
)
nx_icmp_interface_ping.c:171
_nx_icmp_interface_ping()
status
=
_nx_packet_allocate
(
ip_ptr
->
nx_ip_default_packet_pool
,
&
request_ptr
,
nx_icmpv4_send_error_message.c:171
_nx_icmpv4_send_error_message()
if
(
_nx_packet_allocate
(
ip_ptr
->
nx_ip_default_packet_pool
,
&
pkt_ptr
,
NX_IPv4_ICMP_PACKET
,
NX_NO_WAIT
)
)
nx_igmp_interface_report_send.c:123
_nx_igmp_interface_report_send()
status
=
_nx_packet_allocate
(
ip_ptr
->
nx_ip_default_packet_pool
,
&
packet_ptr
,
(
ULONG
)
(
NX_IGMP_PACKET
+
router_alert
+
NX_IGMP_HEADER_SIZE
)
,
TX_NO_WAIT
)
;
nx_ip_fragment_forward_packet.c:150
_nx_ip_fragment_forward_packet()
status
=
_nx_packet_allocate
(
ip_ptr
->
nx_ip_default_packet_pool
,
&
fragment_packet
,
nx_ip_fragment_packet.c:161
_nx_ip_fragment_packet()
status
=
_nx_packet_allocate
(
ip_ptr
->
nx_ip_default_packet_pool
,
&
fragment_packet
,
nx_packet_copy.c:119
_nx_packet_copy()
status
=
_nx_packet_allocate
(
pool_ptr
,
&
work_ptr
,
0
,
wait_option
)
;
nx_packet_data_adjust.c:148
_nx_packet_data_adjust()
status
=
_nx_packet_allocate
(
packet_ptr
->
nx_packet_pool_owner
,
&
work_ptr
,
0
,
NX_NO_WAIT
)
;
nx_packet_data_append.c:145
_nx_packet_data_append()
status
=
_nx_packet_allocate
(
pool_ptr
,
&
work_ptr
,
0
,
wait_option
)
;
nx_rarp_packet_send.c:116
_nx_rarp_packet_send()
if
(
_nx_packet_allocate
(
ip_ptr
->
nx_ip_default_packet_pool
,
&
request_ptr
,
(
NX_PHYSICAL_HEADER
+
NX_RARP_MESSAGE_SIZE
)
,
NX_NO_WAIT
)
)
nx_secure_tls_packet_allocate.c:97
_nx_secure_tls_packet_allocate()
status
=
nx_packet_allocate
(
pool_ptr
,
packet_ptr
,
packet_type
,
wait_option
)
;
nx_secure_tls_record_payload_decrypt.c:607
_nx_secure_tls_record_chained_packet_decrypt()
status
=
nx_packet_allocate
(
tls_session
->
nx_secure_tls_packet_pool
,
&
packet_ptr
,
0
,
wait_option
)
;
nx_secure_tls_record_payload_decrypt.c:833
_nx_secure_tls_record_packet_decrypt()
status
=
nx_packet_allocate
(
tls_session
->
nx_secure_tls_packet_pool
,
&
packet_ptr
,
0
,
wait_option
)
;
nx_tcp_packet_send_control.c:156
_nx_tcp_packet_send_control()
if
(
_nx_packet_allocate
(
ip_ptr
->
nx_ip_default_packet_pool
,
nx_tcp_socket_send_internal.c:578
_nx_tcp_socket_send_internal()
ret
=
_nx_packet_allocate
(
pool_ptr
,
&
send_packet
,
nx_web_http_server.c:414
_nx_web_http_server_packet_content_find()
status
=
nx_packet_allocate
(
server_ptr
->
nx_web_http_server_packet_pool_ptr
,
nx_web_http_server.c:8934
_nx_web_http_server_request_chunked_get()
status
=
nx_packet_allocate
(
server_ptr
->
nx_web_http_server_packet_pool_ptr
,
nx_web_http_server.c:9378
_nx_web_http_server_response_packet_allocate()
status
=
nx_packet_allocate
(
server_ptr
->
nx_web_http_server_packet_pool_ptr
,
nxd_dhcp_client.c:5381
_nx_dhcp_packet_process()
status
=
nx_packet_allocate
(
dhcp_ptr
->
nx_dhcp_packet_pool_ptr
,
&
new_packet_ptr
,
NX_IPv4_UDP_PACKET
,
NX_NO_WAIT
)
;
nxd_dhcp_client.c:6689
_nx_dhcp_send_request_internal()
status
=
nx_packet_allocate
(
dhcp_ptr
->
nx_dhcp_packet_pool_ptr
,
&
packet_ptr
,
NX_IPv4_UDP_PACKET
,
NX_NO_WAIT
)
;
nxd_dns.c:4177
_nx_dns_send_query_by_address()
status
=
nx_packet_allocate
(
dns_ptr
->
nx_dns_packet_pool_ptr
,
&
packet_ptr
,
NX_UDP_PACKET
,
NX_DNS_PACKET_ALLOCATE_TIMEOUT
)
;
nxd_dns.c:4565
_nx_dns_send_query_get_rdata_by_name()
status
=
nx_packet_allocate
(
dns_ptr
->
nx_dns_packet_pool_ptr
,
&
packet_ptr
,
NX_UDP_PACKET
,
NX_DNS_PACKET_ALLOCATE_TIMEOUT
)
;
nxd_mqtt_client.c:562
_nxd_mqtt_packet_allocate()
status
=
nx_packet_allocate
(
client_ptr
->
nxd_mqtt_client_packet_pool_ptr
,
packet_ptr
,
NX_IPv4_TCP_PACKET
,
nxd_mqtt_client.c:567
_nxd_mqtt_packet_allocate()
status
=
nx_packet_allocate
(
client_ptr
->
nxd_mqtt_client_packet_pool_ptr
,
packet_ptr
,
NX_IPv6_TCP_PACKET
,
nxd_sntp_client.c:2313
_nx_sntp_client_send_unicast_request()
status
=
nx_packet_allocate
(
client_ptr
->
nx_sntp_client_packet_pool_ptr
,
&
packet_ptr
,
NX_UDP_PACKET
,
NX_SNTP_CLIENT_PACKET_TIMEOUT
)
;
nxe_packet_allocate.c:105
_nxe_packet_allocate()
status
=
_nx_packet_allocate
(
pool_ptr
,
packet_ptr
,
packet_type
,
wait_option
)
;
Call Tree
Functions calling
_nx_packet_allocate()
Functions called by
_nx_packet_allocate()
_nx_dhcp_packet_process()
_nx_dhcp_send_request_internal()
_nx_web_http_server_packet_content_find()
_nx_web_http_server_request_chunked_get()
_nx_web_http_server_response_packet_allocate()
_nx_arp_announce_send()
_nx_arp_packet_send()
_nx_arp_probe_send()
_nx_icmp_interface_ping()
_nx_icmpv4_send_error_message()
_nx_igmp_interface_report_send()
_nx_ip_fragment_forward_packet()
_nx_ip_fragment_packet()
_nx_packet_copy()
_nx_packet_data_adjust()
_nx_packet_data_append()
_nx_rarp_packet_send()
_nx_tcp_packet_send_control()
_nx_tcp_socket_send_internal()
_nxe_packet_allocate()
_nx_dns_send_query_by_address()
_nx_dns_send_query_get_rdata_by_name()
_nxd_mqtt_packet_allocate()
_nx_secure_tls_packet_allocate()
_nx_secure_tls_record_chained_packet_decrypt()
_nx_secure_tls_record_packet_decrypt()
_nx_sntp_client_send_unicast_request()
all items filtered out
_nx_packet_allocate()
__disable_interrupts()
__restore_interrupt()
_tx_thread_system_suspend()
all items filtered out
Data read by
_nx_packet_allocate()
Data written by
_nx_packet_allocate()
TX_THREAD_STRUCT::tx_thread_timer
TX_THREAD_STRUCT::tx_thread_suspended_previous
TX_THREAD_STRUCT::tx_thread_suspend_status
NX_PACKET_POOL_STRUCT::nx_packet_pool_available_list
NX_PACKET_POOL_STRUCT::nx_packet_pool_payload_size
NX_PACKET_POOL_STRUCT::nx_packet_pool_suspension_list
NX_PACKET_POOL_STRUCT::nx_packet_pool_suspended_count
NX_PACKET_STRUCT::nx_packet_prepend_ptr
NX_PACKET_STRUCT::nx_packet_data_start
NX_PACKET_STRUCT::nx_packet_queue_next
NX_PACKET_STRUCT::nx_packet_union_next
NX_PACKET_STRUCT::nx_packet_address
NX_PACKET_POOL_STRUCT::nx_packet_pool_available
NX_PACKET_POOL_STRUCT::nx_packet_pool_empty_requests
NX_PACKET_POOL_STRUCT::nx_packet_pool_empty_suspensions
_tx_thread_current_ptr
_nx_packet_allocate()::pool_ptr
_nx_packet_allocate()::packet_ptr
_nx_packet_allocate()::packet_type
_nx_packet_allocate()::wait_option
_nx_packet_pool_cleanup()
_tx_thread_preempt_disable
_nx_packet_allocate()::interrupt_save
_nx_packet_allocate()::status
_nx_packet_allocate()::thread_ptr
_nx_packet_allocate()::work_ptr
all items filtered out
_nx_packet_allocate()
TX_THREAD_STRUCT::tx_thread_state
TX_THREAD_STRUCT::tx_thread_suspending
TX_THREAD_STRUCT::tx_thread_suspend_cleanup
TX_THREAD_STRUCT::tx_thread_suspend_control_block
TX_THREAD_STRUCT::tx_thread_suspended_next
TX_THREAD_STRUCT::tx_thread_suspended_previous
TX_THREAD_STRUCT::tx_thread_suspend_info
TX_THREAD_STRUCT::tx_thread_additional_suspend_info
TX_TIMER_INTERNAL_STRUCT::tx_timer_internal_remaining_ticks
NX_PACKET_POOL_STRUCT::nx_packet_pool_available_list
NX_PACKET_POOL_STRUCT::nx_packet_pool_suspension_list
NX_PACKET_POOL_STRUCT::nx_packet_pool_suspended_count
NX_PACKET_STRUCT::nx_packet_next
NX_PACKET_STRUCT::nx_packet_prepend_ptr
NX_PACKET_STRUCT::nx_packet_append_ptr
NX_PACKET_STRUCT::nx_packet_last
NX_PACKET_STRUCT::nx_packet_queue_next
NX_PACKET_STRUCT::
::nx_packet_tcp_queue_next
NX_PACKET_STRUCT::nx_packet_length
NX_PACKET_STRUCT::nx_packet_ip_version
NX_PACKET_STRUCT::nx_packet_identical_copy
NX_PACKET_STRUCT::nx_packet_ip_header_length
NX_PACKET_STRUCT::
::nx_packet_interface_ptr
NX_PACKET_STRUCT::nx_packet_interface_capability_flag
NX_PACKET_POOL_STRUCT::nx_packet_pool_available
NX_PACKET_POOL_STRUCT::nx_packet_pool_empty_requests
NX_PACKET_POOL_STRUCT::nx_packet_pool_empty_suspensions
_tx_thread_preempt_disable
_nx_packet_allocate()::interrupt_save
_nx_packet_allocate()::status
_nx_packet_allocate()::thread_ptr
_nx_packet_allocate()::work_ptr
all items filtered out
Type of
_nx_packet_allocate()
_nx_packet_allocate()
TX_THREAD
UINT
NX_PACKET
all items filtered out