| /NetX-Duo-v6.2.1/common/src/ |
| D | nx_arp_static_entry_create.c | 86 NX_ARP *arp_ptr; in _nx_arp_static_entry_create() local 123 arp_ptr = NX_NULL; in _nx_arp_static_entry_create() 132 arp_ptr = search_ptr; in _nx_arp_static_entry_create() 152 if (arp_ptr) in _nx_arp_static_entry_create() 156 if (arp_ptr -> nx_arp_route_static == NX_FALSE) in _nx_arp_static_entry_create() 165 if (arp_ptr == arp_ptr -> nx_arp_pool_next) in _nx_arp_static_entry_create() 177 … (arp_ptr -> nx_arp_pool_next) -> nx_arp_pool_previous = arp_ptr -> nx_arp_pool_previous; in _nx_arp_static_entry_create() 178 (arp_ptr -> nx_arp_pool_previous) -> nx_arp_pool_next = arp_ptr -> nx_arp_pool_next; in _nx_arp_static_entry_create() 181 if (ip_ptr -> nx_ip_arp_dynamic_list == arp_ptr) in _nx_arp_static_entry_create() 183 ip_ptr -> nx_ip_arp_dynamic_list = arp_ptr -> nx_arp_pool_next; in _nx_arp_static_entry_create() [all …]
|
| D | nx_arp_dynamic_entry_delete.c | 75 UINT _nx_arp_dynamic_entry_delete(NX_IP *ip_ptr, NX_ARP *arp_ptr) in _nx_arp_dynamic_entry_delete() argument 83 if (arp_ptr -> nx_arp_active_list_head) in _nx_arp_dynamic_entry_delete() 92 if (arp_ptr == arp_ptr -> nx_arp_active_next) in _nx_arp_dynamic_entry_delete() 96 *(arp_ptr -> nx_arp_active_list_head) = NX_NULL; in _nx_arp_dynamic_entry_delete() 104 if (*(arp_ptr -> nx_arp_active_list_head) == arp_ptr) in _nx_arp_dynamic_entry_delete() 106 *(arp_ptr -> nx_arp_active_list_head) = arp_ptr -> nx_arp_active_next; in _nx_arp_dynamic_entry_delete() 110 … (arp_ptr -> nx_arp_active_next) -> nx_arp_active_previous = arp_ptr -> nx_arp_active_previous; in _nx_arp_dynamic_entry_delete() 111 … (arp_ptr -> nx_arp_active_previous) -> nx_arp_active_next = arp_ptr -> nx_arp_active_next; in _nx_arp_dynamic_entry_delete() 115 arp_ptr -> nx_arp_active_list_head = NX_NULL; in _nx_arp_dynamic_entry_delete() 121 next_packet_ptr = arp_ptr -> nx_arp_packets_waiting; in _nx_arp_dynamic_entry_delete() [all …]
|
| D | nx_ip_driver_packet_send.c | 91 NX_ARP *arp_ptr; in _nx_ip_driver_packet_send() local 184 arp_ptr = ip_ptr -> nx_ip_arp_table[index]; in _nx_ip_driver_packet_send() 187 while (arp_ptr) in _nx_ip_driver_packet_send() 191 if (arp_ptr -> nx_arp_ip_address == destination_ip) in _nx_ip_driver_packet_send() 199 arp_ptr = arp_ptr -> nx_arp_active_next; in _nx_ip_driver_packet_send() 202 if (arp_ptr == ip_ptr -> nx_ip_arp_table[index]) in _nx_ip_driver_packet_send() 205 arp_ptr = NX_NULL; in _nx_ip_driver_packet_send() 211 …if ((arp_ptr) && (arp_ptr -> nx_arp_physical_address_msw | arp_ptr -> nx_arp_physical_address_lsw)) in _nx_ip_driver_packet_send() 219 … driver_request.nx_ip_driver_physical_address_msw = arp_ptr -> nx_arp_physical_address_msw; in _nx_ip_driver_packet_send() 220 … driver_request.nx_ip_driver_physical_address_lsw = arp_ptr -> nx_arp_physical_address_lsw; in _nx_ip_driver_packet_send() [all …]
|
| D | nx_arp_dynamic_entry_set.c | 89 NX_ARP *arp_ptr; in _nx_arp_dynamic_entry_set() local 129 arp_ptr = NX_NULL; in _nx_arp_dynamic_entry_set() 138 arp_ptr = search_ptr; in _nx_arp_dynamic_entry_set() 158 if (arp_ptr) in _nx_arp_dynamic_entry_set() 162 if (arp_ptr -> nx_arp_route_static == NX_TRUE) in _nx_arp_dynamic_entry_set() 194 arp_ptr = (ip_ptr -> nx_ip_arp_table[index]) -> nx_arp_active_previous; in _nx_arp_dynamic_entry_set() 198 arp_ptr -> nx_arp_ip_address = ip_address; in _nx_arp_dynamic_entry_set() 199 arp_ptr -> nx_arp_physical_address_msw = physical_msw; in _nx_arp_dynamic_entry_set() 200 arp_ptr -> nx_arp_physical_address_lsw = physical_lsw; in _nx_arp_dynamic_entry_set() 201 arp_ptr -> nx_arp_retries = 0; in _nx_arp_dynamic_entry_set() [all …]
|
| D | nx_arp_packet_receive.c | 93 NX_ARP *arp_ptr; in _nx_arp_packet_receive() local 407 arp_ptr = NX_NULL; in _nx_arp_packet_receive() 416 arp_ptr = ip_ptr -> nx_ip_arp_table[index]; in _nx_arp_packet_receive() 420 while (arp_ptr) in _nx_arp_packet_receive() 424 if (arp_ptr -> nx_arp_ip_address == sender_ip_address) in _nx_arp_packet_receive() 435 …if ((arp_ptr -> nx_arp_physical_address_msw != 0) || (arp_ptr -> nx_arp_physical_address_lsw != 0)) in _nx_arp_packet_receive() 439 if ((arp_ptr -> nx_arp_physical_address_msw != sender_physical_msw) || in _nx_arp_packet_receive() 440 (arp_ptr -> nx_arp_physical_address_lsw != sender_physical_lsw)) in _nx_arp_packet_receive() 455 if (arp_ptr -> nx_arp_route_static) in _nx_arp_packet_receive() 461 arp_ptr -> nx_arp_physical_address_msw = sender_physical_msw; in _nx_arp_packet_receive() [all …]
|
| D | nx_arp_entry_delete.c | 80 NX_ARP *arp_ptr; in _nx_arp_entry_delete() local 102 arp_ptr = NX_NULL; in _nx_arp_entry_delete() 112 arp_ptr = search_ptr; in _nx_arp_entry_delete() 132 if (arp_ptr == NX_NULL) in _nx_arp_entry_delete() 143 if (arp_ptr -> nx_arp_route_static == NX_TRUE) in _nx_arp_entry_delete() 148 arp_ptr -> nx_arp_physical_address_msw, in _nx_arp_entry_delete() 149 arp_ptr -> nx_arp_physical_address_lsw); in _nx_arp_entry_delete() 155 status = _nx_arp_dynamic_entry_delete(ip_ptr, arp_ptr); in _nx_arp_entry_delete()
|
| D | nx_arp_queue_send.c | 77 VOID _nx_arp_queue_send(NX_IP *ip_ptr, NX_ARP *arp_ptr) in _nx_arp_queue_send() argument 94 if (arp_ptr -> nx_arp_packets_waiting) in _nx_arp_queue_send() 98 queued_list_head = arp_ptr -> nx_arp_packets_waiting; in _nx_arp_queue_send() 99 arp_ptr -> nx_arp_packets_waiting = NX_NULL; in _nx_arp_queue_send() 118 packet_ptr -> nx_packet_address.nx_packet_interface_ptr = arp_ptr -> nx_arp_ip_interface; in _nx_arp_queue_send() 121 driver_request.nx_ip_driver_physical_address_msw = arp_ptr -> nx_arp_physical_address_msw; in _nx_arp_queue_send() 122 driver_request.nx_ip_driver_physical_address_lsw = arp_ptr -> nx_arp_physical_address_lsw; in _nx_arp_queue_send()
|
| /NetX-Duo-v6.2.1/test/regression/netxduo_test/ |
| D | netx_ip_interface_detachment_arp_table_test.c | 114 NX_ARP *arp_ptr; in ntest_0_entry() local 164 arp_ptr = ip_0.nx_ip_arp_table[i]; in ntest_0_entry() 165 while(arp_ptr) in ntest_0_entry() 167 if((arp_ptr -> nx_arp_ip_address == IP_ADDRESS(4, 3, 2, 11)) || in ntest_0_entry() 168 (arp_ptr -> nx_arp_ip_address == IP_ADDRESS(4, 3, 2, 12)) || in ntest_0_entry() 169 (arp_ptr -> nx_arp_ip_address == IP_ADDRESS(1, 2, 3, 5)) || in ntest_0_entry() 170 (arp_ptr -> nx_arp_ip_address == IP_ADDRESS(4, 3, 2, 13)) || in ntest_0_entry() 171 (arp_ptr -> nx_arp_ip_address == IP_ADDRESS(4, 3, 2, 14)) || in ntest_0_entry() 172 (arp_ptr -> nx_arp_ip_address == IP_ADDRESS(1, 2, 3, 10))) in ntest_0_entry() 178 arp_ptr = arp_ptr -> nx_arp_active_next; in ntest_0_entry() [all …]
|
| D | netx_arp_no_duplicate_entry_test.c | 179 NX_ARP *arp_ptr; in thread_0_entry() local 372 arp_ptr = ip_0.nx_ip_arp_table[index]; in thread_0_entry() 380 if (arp_ptr == ip_0.nx_ip_arp_table[index]) in thread_0_entry() 384 arp_ptr = NX_NULL; in thread_0_entry() 389 arp_ptr = arp_ptr -> nx_arp_active_next; in thread_0_entry() 391 } while (arp_ptr); in thread_0_entry()
|
| /NetX-Duo-v6.2.1/common/inc/ |
| D | nx_arp.h | 95 UINT _nx_arp_dynamic_entry_delete(NX_IP *ip_ptr, NX_ARP *arp_ptr); 98 VOID _nx_arp_queue_send(NX_IP *ip_ptr, NX_ARP *arp_ptr); 99 UINT _nx_arp_entry_allocate(NX_IP *ip_ptr, NX_ARP **arp_ptr, UINT is_static);
|
| /NetX-Duo-v6.2.1/addons/BSD/ |
| D | nxd_bsd.c | 11366 NX_ARP *arp_ptr; in _nxd_bsd_ipv4_packet_send() local 11690 arp_ptr = ip_ptr -> nx_ip_arp_table[index]; in _nxd_bsd_ipv4_packet_send() local 11693 if ((arp_ptr) && (arp_ptr -> nx_arp_ip_address == destination_ip)) in _nxd_bsd_ipv4_packet_send() 11699 if (arp_ptr -> nx_arp_physical_address_msw | arp_ptr -> nx_arp_physical_address_lsw) in _nxd_bsd_ipv4_packet_send() 11704 … driver_request.nx_ip_driver_physical_address_msw = arp_ptr -> nx_arp_physical_address_msw; in _nxd_bsd_ipv4_packet_send() 11705 … driver_request.nx_ip_driver_physical_address_lsw = arp_ptr -> nx_arp_physical_address_lsw; in _nxd_bsd_ipv4_packet_send() 11768 if (arp_ptr -> nx_arp_packets_waiting == NX_NULL) in _nxd_bsd_ipv4_packet_send() 11773 arp_ptr -> nx_arp_packets_waiting = packet_ptr; in _nxd_bsd_ipv4_packet_send() 11785 last_packet = arp_ptr -> nx_arp_packets_waiting; in _nxd_bsd_ipv4_packet_send() 11809 remove_packet = arp_ptr -> nx_arp_packets_waiting; in _nxd_bsd_ipv4_packet_send() [all …]
|