Home
last modified time | relevance | path

Searched refs:ALIGN_TYPE (Results 1 – 25 of 29) sorted by relevance

12

/NetX-Duo-v6.2.1/common/src/
Dnx_packet_data_adjust.c92 …if (((ALIGN_TYPE)packet_ptr -> nx_packet_data_end - (ALIGN_TYPE)packet_ptr -> nx_packet_data_start… in _nx_packet_data_adjust()
98 …if (((ALIGN_TYPE)packet_ptr -> nx_packet_prepend_ptr - (ALIGN_TYPE)packet_ptr -> nx_packet_data_st… in _nx_packet_data_adjust()
106 …available_size = (ULONG)(((ALIGN_TYPE)packet_ptr -> nx_packet_prepend_ptr - (ALIGN_TYPE)packet_ptr… in _nx_packet_data_adjust()
107 … ((ALIGN_TYPE)packet_ptr -> nx_packet_data_end - (ALIGN_TYPE)packet_ptr -> nx_packet_append_ptr)); in _nx_packet_data_adjust()
116 …shift_size = (ULONG)((ALIGN_TYPE)packet_ptr -> nx_packet_append_ptr - (ALIGN_TYPE)packet_ptr -> nx… in _nx_packet_data_adjust()
157 …work_ptr -> nx_packet_append_ptr = (UCHAR *)((ALIGN_TYPE)work_ptr -> nx_packet_prepend_ptr + appen… in _nx_packet_data_adjust()
160 …shift_size = (ULONG)(((ALIGN_TYPE)packet_ptr -> nx_packet_append_ptr - (ALIGN_TYPE)packet_ptr -> n… in _nx_packet_data_adjust()
Dnx_ip_checksum_compute.c92 ALIGN_TYPE end_ptr; in _nx_ip_checksum_compute()
179 end_ptr = ((ALIGN_TYPE)current_packet -> nx_packet_append_ptr) & (ALIGN_TYPE)(~3); in _nx_ip_checksum_compute()
185 end_ptr = (ALIGN_TYPE)current_packet -> nx_packet_prepend_ptr + data_length - 3; in _nx_ip_checksum_compute()
195 if ((ALIGN_TYPE)long_ptr < end_ptr) in _nx_ip_checksum_compute()
200 data_length -= (UINT)(((end_ptr + 3) & (ALIGN_TYPE)(~3llu)) - (ALIGN_TYPE)long_ptr); in _nx_ip_checksum_compute()
204 while ((ALIGN_TYPE)long_ptr < end_ptr) in _nx_ip_checksum_compute()
219 if ((((ALIGN_TYPE)current_packet -> nx_packet_append_ptr) & 3) == 2) in _nx_ip_checksum_compute()
Dnxe_packet_pool_create.c110 …rounded_pool_start = (VOID *)((((ALIGN_TYPE)pool_start + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALI… in _nxe_packet_pool_create()
114 …rounded_pool_size = (ULONG)(((pool_size - ((ALIGN_TYPE)rounded_pool_start - (ALIGN_TYPE)pool_start… in _nxe_packet_pool_create()
118 payload_address = (CHAR *)((ALIGN_TYPE)rounded_pool_start + sizeof(NX_PACKET)); in _nxe_packet_pool_create()
122 …payload_address = (CHAR *)((((ALIGN_TYPE)payload_address + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_A… in _nxe_packet_pool_create()
126 header_size = (ULONG)((ALIGN_TYPE)payload_address - (ALIGN_TYPE)rounded_pool_start); in _nxe_packet_pool_create()
Dnx_packet_pool_create.c97 …rounded_pool_start = (VOID *)((((ALIGN_TYPE)pool_start + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALI… in _nx_packet_pool_create()
101 …pool_size = (ULONG)(((pool_size - ((ALIGN_TYPE)rounded_pool_start - (ALIGN_TYPE)pool_start)) / NX_… in _nx_packet_pool_create()
108 payload_address = (CHAR *)((ALIGN_TYPE)rounded_pool_start + sizeof(NX_PACKET)); in _nx_packet_pool_create()
112 …payload_address = (CHAR *)((((ALIGN_TYPE)payload_address + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_A… in _nx_packet_pool_create()
116 header_size = (ULONG)((ALIGN_TYPE)payload_address - (ALIGN_TYPE)rounded_pool_start); in _nx_packet_pool_create()
Dnxde_icmp_ping.c115 ((ALIGN_TYPE)ip_ptr -> nx_ip_icmpv4_packet_process == NX_NULL)) in _nxde_icmp_ping()
129 if (((ALIGN_TYPE)ip_ptr -> nx_ip_icmpv6_packet_process == NX_NULL) || in _nxde_icmp_ping()
130 ((ALIGN_TYPE)ip_ptr -> nx_ipv6_packet_receive == NX_NULL)) in _nxde_icmp_ping()
Dnx_packet_debug_info_get.c87 … header_size = (ULONG)((ALIGN_TYPE)(packet_ptr -> nx_packet_data_start) - (ALIGN_TYPE)packet_ptr); in _nx_packet_debug_info_get()
104 … *packet_status = (ULONG)(ALIGN_TYPE)packet_ptr -> nx_packet_union_next.nx_packet_tcp_queue_next; in _nx_packet_debug_info_get()
Dnxde_icmp_source_ping.c124 if ((ALIGN_TYPE)ip_ptr -> nx_ip_icmpv4_packet_process == NX_NULL) in _nxde_icmp_source_ping()
144 if (((ALIGN_TYPE)ip_ptr -> nx_ip_icmpv6_packet_process == NX_NULL) || in _nxde_icmp_source_ping()
145 ((ALIGN_TYPE)ip_ptr -> nx_ipv6_packet_receive == NX_NULL)) in _nxde_icmp_source_ping()
Dnx_tcp_socket_state_ack_check.c174 (ULONG)((ALIGN_TYPE)search_header_ptr - in _nx_tcp_socket_state_ack_check()
175 (ALIGN_TYPE)search_ptr -> nx_packet_prepend_ptr))); in _nx_tcp_socket_state_ack_check()
336 (ULONG)((ALIGN_TYPE)search_header_ptr - in _nx_tcp_socket_state_ack_check()
337 (ALIGN_TYPE)search_ptr -> nx_packet_prepend_ptr))); in _nx_tcp_socket_state_ack_check()
717 (ULONG)((ALIGN_TYPE)search_header_ptr - in _nx_tcp_socket_state_ack_check()
718 … (ALIGN_TYPE)(previous_ptr -> nx_packet_prepend_ptr)))); in _nx_tcp_socket_state_ack_check()
Dnx_tcp_socket_send_internal.c503 else if (((ALIGN_TYPE)packet_ptr -> nx_packet_prepend_ptr) & 3) in _nx_tcp_socket_send_internal()
535 if (((ALIGN_TYPE)current_packet -> nx_packet_prepend_ptr) & 3) in _nx_tcp_socket_send_internal()
1003 …packet_ptr -> nx_packet_length -= (ULONG)((ALIGN_TYPE)current_packet -> nx_packet_append_ptr - (AL… in _nx_tcp_socket_send_internal()
1006 …remaining_bytes -= (ULONG)((ALIGN_TYPE)current_packet -> nx_packet_append_ptr - (ALIGN_TYPE)curren… in _nx_tcp_socket_send_internal()
1009 …acket -> nx_packet_append_ptr = (UCHAR *)(((ALIGN_TYPE)current_packet -> nx_packet_append_ptr) & ( in _nx_tcp_socket_send_internal()
Dnx_ip_create.c230 …tx_thread_create(&(ip_ptr -> nx_ip_thread), name, _nx_ip_thread_entry, (ULONG)(ALIGN_TYPE)(ip_ptr), in _nx_ip_create()
238 _nx_ip_periodic_timer_entry, (ULONG)(ALIGN_TYPE)ip_ptr, in _nx_ip_create()
Dnx_ip_fast_periodic_timer_entry.c146 _nx_ip_fast_periodic_timer_entry, (ULONG)(ALIGN_TYPE)ip_ptr, in _nx_ip_fast_periodic_timer_create()
Dnx_ipv6_fragment_process.c200 …unfragmentable_size = (UINT)((ALIGN_TYPE)fragmentable_ptr - (ALIGN_TYPE)source_packet -> nx_packet… in _nx_ipv6_fragment_process()
Dnx_tcp_socket_state_data_check.c108 …bytes_to_keep -= (ULONG)((ALIGN_TYPE)work_ptr -> nx_packet_append_ptr - (ALIGN_TYPE)work_ptr -> nx… in _nx_tcp_socket_state_data_trim()
208 …work_length = (ULONG)((ALIGN_TYPE)work_ptr -> nx_packet_append_ptr - (ALIGN_TYPE)work_ptr -> nx_pa… in _nx_tcp_socket_state_data_trim_front()
Dnxd_ipv6_disable.c93 if ((ALIGN_TYPE)ip_ptr -> nx_ipv6_packet_receive == NX_NULL) in _nxd_ipv6_disable()
Dnx_ip_dispatch_process.c677 if (((ALIGN_TYPE)(packet_ptr -> nx_packet_prepend_ptr) + option_hdr_len) < in _nx_ip_dispatch_process()
678 (ALIGN_TYPE)(packet_ptr -> nx_packet_append_ptr)) in _nx_ip_dispatch_process()
/NetX-Duo-v6.2.1/common/inc/
Dnx_packet.h68 #define NX_PACKET_FREE ((ALIGN_TYPE)0xFFFFFFFF) /* Packet is available and in the pool…
69 #define NX_PACKET_ALLOCATED ((ALIGN_TYPE)0xAAAAAAAA) /* Packet has been allocated …
70 #define NX_PACKET_ENQUEUED ((ALIGN_TYPE)0xEEEEEEEE) /* Packet is the tail of TCP queue. …
78 #define NX_DRIVER_TX_DONE ((ALIGN_TYPE)0xDDDDDDDD) /* Driver has sent the TCP packet …
79 #define NX_PACKET_READY ((ALIGN_TYPE)0xBBBBBBBB) /* Packet is ready for retrieval …
/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_packet_basic_test.c80 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()
90 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()
99 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()
118 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()
204 if(((ALIGN_TYPE)my_packet1 & (NX_PACKET_ALIGNMENT - 1)) || in ntest_0_entry()
205 ((ALIGN_TYPE)my_packet2 & (NX_PACKET_ALIGNMENT - 1)) || in ntest_0_entry()
206 ((ALIGN_TYPE)(my_packet1 -> nx_packet_data_start) & (NX_PACKET_ALIGNMENT - 1)) || in ntest_0_entry()
207 ((ALIGN_TYPE)(my_packet2 -> nx_packet_data_start) & (NX_PACKET_ALIGNMENT - 1))) in ntest_0_entry()
309 …cket1 -> nx_packet_length -= (ULONG)((ALIGN_TYPE)my_packet1 -> nx_packet_last -> nx_packet_append_… in ntest_0_entry()
Dnetx_rarp_packet_allocate_fail_test.c78 …pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT * NX_PACK… in test_application_define()
Dnetx_packet_suspension_test.c74 …pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT * NX_PACK… in test_application_define()
Dnetx_packet_debug_info_test.c90 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()
98 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()
Dnetx_tcp_send_fail_test2.c83 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()
Dnetx_packet_payload_size_test.c104 …pointer = (CHAR *)((((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) * NX_P… in test_application_define()
Dnetx_tcp_zero_window_test.c94 …pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT * NX_PACK… in test_application_define()
/NetX-Duo-v6.2.1/addons/dns/
Dnxd_dns.c2741 if(((ALIGN_TYPE)record_buffer & 0x3) != 0) in _nxe_dns_ipv4_address_by_name_get()
2883 if(((ALIGN_TYPE)record_buffer & 0x3) != 0) in _nxde_dns_ipv6_address_by_name_get()
3170 if(((ALIGN_TYPE)record_buffer & 0x3) != 0) in _nxe_dns_domain_name_server_get()
3462 if(((ALIGN_TYPE)record_buffer & 0x3) != 0) in _nxe_dns_domain_mail_exchange_get()
3615 if(((ALIGN_TYPE)record_buffer & 0x3) != 0) in _nxe_dns_domain_service_get()
3765 if(((ALIGN_TYPE)record_buffer & 0x3) != 0) in _nxe_dns_authority_zone_start_get()
9376 if ((((ALIGN_TYPE)cache_ptr & 0x3) != 0) || in _nxe_dns_cache_initialize()
9435 ALIGN_TYPE *head; in _nx_dns_cache_initialize()
9436 ALIGN_TYPE *tail; in _nx_dns_cache_initialize()
9446 head = (ALIGN_TYPE*)cache_ptr; in _nx_dns_cache_initialize()
[all …]
/NetX-Duo-v6.2.1/addons/dhcp/
Dnxd_dhcpv6_server.c245 (ULONG)(ALIGN_TYPE)dhcpv6_server_ptr, stack_ptr, stack_size, in _nx_dhcpv6_server_create()
266 … _nx_dhcpv6_server_lease_timeout_entry, (ULONG)(ALIGN_TYPE)dhcpv6_server_ptr, in _nx_dhcpv6_server_create()
288 … _nx_dhcpv6_server_session_timeout_entry, (ULONG)(ALIGN_TYPE)dhcpv6_server_ptr, in _nx_dhcpv6_server_create()
1993 ip_lease_ptr -> nx_dhcpv6_lease_assigned_to = (NX_DHCPV6_CLIENT *)(ALIGN_TYPE)0xFFFFFFFF; in _nx_dhcpv6_reserve_ip_address_range()
5960 …> nx_dhcpv6_lease_list[i].nx_dhcpv6_lease_assigned_to = (NX_DHCPV6_CLIENT *)(ALIGN_TYPE)0xFFFFFFFF; in _nx_dhcpv6_clear_client_record()

12