/NetX-Duo-v6.2.1/common/src/ |
D | nx_packet_data_adjust.c | 92 …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()
|
D | nx_ip_checksum_compute.c | 92 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()
|
D | nxe_packet_pool_create.c | 110 …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()
|
D | nx_packet_pool_create.c | 97 …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()
|
D | nxde_icmp_ping.c | 115 ((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()
|
D | nx_packet_debug_info_get.c | 87 … 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()
|
D | nxde_icmp_source_ping.c | 124 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()
|
D | nx_tcp_socket_state_ack_check.c | 174 (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()
|
D | nx_tcp_socket_send_internal.c | 503 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()
|
D | nx_ip_create.c | 230 …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()
|
D | nx_ip_fast_periodic_timer_entry.c | 146 _nx_ip_fast_periodic_timer_entry, (ULONG)(ALIGN_TYPE)ip_ptr, in _nx_ip_fast_periodic_timer_create()
|
D | nx_ipv6_fragment_process.c | 200 …unfragmentable_size = (UINT)((ALIGN_TYPE)fragmentable_ptr - (ALIGN_TYPE)source_packet -> nx_packet… in _nx_ipv6_fragment_process()
|
D | nx_tcp_socket_state_data_check.c | 108 …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()
|
D | nxd_ipv6_disable.c | 93 if ((ALIGN_TYPE)ip_ptr -> nx_ipv6_packet_receive == NX_NULL) in _nxd_ipv6_disable()
|
D | nx_ip_dispatch_process.c | 677 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/ |
D | nx_packet.h | 68 #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/ |
D | netx_packet_basic_test.c | 80 … 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()
|
D | netx_rarp_packet_allocate_fail_test.c | 78 …pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT * NX_PACK… in test_application_define()
|
D | netx_packet_suspension_test.c | 74 …pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT * NX_PACK… in test_application_define()
|
D | netx_packet_debug_info_test.c | 90 … 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()
|
D | netx_tcp_send_fail_test2.c | 83 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()
|
D | netx_packet_payload_size_test.c | 104 …pointer = (CHAR *)((((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) * NX_P… in test_application_define()
|
D | netx_tcp_zero_window_test.c | 94 …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/ |
D | nxd_dns.c | 2741 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/ |
D | nxd_dhcpv6_server.c | 245 (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()
|