Home
last modified time | relevance | path

Searched refs:arp_entry (Results 1 – 10 of 10) sorted by relevance

/NetX-Duo-v6.2.1/common/src/
Dnx_arp_entry_allocate.c79 NX_ARP *arp_entry; in _nx_arp_entry_allocate() local
90 arp_entry = (ip_ptr -> nx_ip_arp_dynamic_list) -> nx_arp_pool_previous; in _nx_arp_entry_allocate()
93 _nx_arp_dynamic_entry_delete(ip_ptr, arp_entry); in _nx_arp_entry_allocate()
106 arp_entry -> nx_arp_active_list_head = arp_list_ptr; in _nx_arp_entry_allocate()
107 arp_entry -> nx_arp_active_next = *arp_list_ptr; in _nx_arp_entry_allocate()
108 arp_entry -> nx_arp_active_previous = (*arp_list_ptr) -> nx_arp_active_previous; in _nx_arp_entry_allocate()
109 (arp_entry -> nx_arp_active_previous) -> nx_arp_active_next = arp_entry; in _nx_arp_entry_allocate()
110 (*arp_list_ptr) -> nx_arp_active_previous = arp_entry; in _nx_arp_entry_allocate()
115 arp_entry -> nx_arp_active_list_head = arp_list_ptr; in _nx_arp_entry_allocate()
116 arp_entry -> nx_arp_active_next = arp_entry; in _nx_arp_entry_allocate()
[all …]
Dnx_arp_periodic_update.c80 NX_ARP *arp_entry; in _nx_arp_periodic_update() local
86 arp_entry = ip_ptr -> nx_ip_arp_dynamic_list; in _nx_arp_periodic_update()
93 if (arp_entry -> nx_arp_entry_next_update) in _nx_arp_periodic_update()
97 arp_entry -> nx_arp_entry_next_update--; in _nx_arp_periodic_update()
100 if (!arp_entry -> nx_arp_entry_next_update) in _nx_arp_periodic_update()
106 if (arp_entry -> nx_arp_retries == NX_ARP_MAXIMUM_RETRIES) in _nx_arp_periodic_update()
117 if (arp_entry -> nx_arp_active_list_head) in _nx_arp_periodic_update()
121 if (arp_entry == arp_entry -> nx_arp_active_next) in _nx_arp_periodic_update()
125 *(arp_entry -> nx_arp_active_list_head) = NX_NULL; in _nx_arp_periodic_update()
133 if (*(arp_entry -> nx_arp_active_list_head) == arp_entry) in _nx_arp_periodic_update()
[all …]
Dnx_arp_static_entry_delete_internal.c75 VOID _nx_arp_static_entry_delete_internal(NX_IP *ip_ptr, NX_ARP *arp_entry) in _nx_arp_static_entry_delete_internal() argument
90 if (arp_entry -> nx_arp_active_list_head) in _nx_arp_static_entry_delete_internal()
96 if (arp_entry == arp_entry -> nx_arp_active_next) in _nx_arp_static_entry_delete_internal()
100 *(arp_entry -> nx_arp_active_list_head) = NX_NULL; in _nx_arp_static_entry_delete_internal()
108 if (*(arp_entry -> nx_arp_active_list_head) == arp_entry) in _nx_arp_static_entry_delete_internal()
110 *(arp_entry -> nx_arp_active_list_head) = arp_entry -> nx_arp_active_next; in _nx_arp_static_entry_delete_internal()
114 (arp_entry -> nx_arp_active_next) -> nx_arp_active_previous = in _nx_arp_static_entry_delete_internal()
115 arp_entry -> nx_arp_active_previous; in _nx_arp_static_entry_delete_internal()
116 (arp_entry -> nx_arp_active_previous) -> nx_arp_active_next = in _nx_arp_static_entry_delete_internal()
117 arp_entry -> nx_arp_active_next; in _nx_arp_static_entry_delete_internal()
[all …]
Dnx_arp_hardware_address_find.c80 NX_ARP *arp_entry; in _nx_arp_hardware_address_find() local
97 arp_entry = ip_ptr -> nx_ip_arp_static_list; in _nx_arp_hardware_address_find()
98 while (arp_entry) in _nx_arp_hardware_address_find()
102 if ((arp_entry -> nx_arp_ip_address == ip_address) && in _nx_arp_hardware_address_find()
103 (arp_entry -> nx_arp_physical_address_msw | arp_entry -> nx_arp_physical_address_lsw)) in _nx_arp_hardware_address_find()
113 if (arp_entry -> nx_arp_pool_next == ip_ptr -> nx_ip_arp_static_list) in _nx_arp_hardware_address_find()
118 arp_entry = NX_NULL; in _nx_arp_hardware_address_find()
125 arp_entry = arp_entry -> nx_arp_pool_next; in _nx_arp_hardware_address_find()
132 if (arp_entry) in _nx_arp_hardware_address_find()
136 *physical_msw = arp_entry -> nx_arp_physical_address_msw; in _nx_arp_hardware_address_find()
[all …]
Dnx_arp_ip_address_find.c80 NX_ARP *arp_entry; in _nx_arp_ip_address_find() local
97 arp_entry = ip_ptr -> nx_ip_arp_static_list; in _nx_arp_ip_address_find()
98 while (arp_entry) in _nx_arp_ip_address_find()
102 if ((arp_entry -> nx_arp_physical_address_msw == physical_msw) && in _nx_arp_ip_address_find()
103 (arp_entry -> nx_arp_physical_address_lsw == physical_lsw)) in _nx_arp_ip_address_find()
113 if (arp_entry -> nx_arp_pool_next == ip_ptr -> nx_ip_arp_static_list) in _nx_arp_ip_address_find()
118 arp_entry = NX_NULL; in _nx_arp_ip_address_find()
125 arp_entry = arp_entry -> nx_arp_pool_next; in _nx_arp_ip_address_find()
132 if (arp_entry) in _nx_arp_ip_address_find()
136 *ip_address = arp_entry -> nx_arp_ip_address; in _nx_arp_ip_address_find()
[all …]
Dnx_arp_interface_entries_delete.c78 NX_ARP *arp_entry; in _nx_arp_interface_entries_delete() local
91 arp_entry = ip_ptr -> nx_ip_arp_dynamic_list; in _nx_arp_interface_entries_delete()
94 while ((arp_entry) && (ip_ptr -> nx_ip_arp_dynamic_active_count)) in _nx_arp_interface_entries_delete()
99 if (arp_entry -> nx_arp_ip_interface == interface_ptr) in _nx_arp_interface_entries_delete()
102 _nx_arp_dynamic_entry_delete(ip_ptr, arp_entry); in _nx_arp_interface_entries_delete()
105 arp_entry -> nx_arp_ip_interface = NX_NULL; in _nx_arp_interface_entries_delete()
109 if (arp_entry -> nx_arp_pool_next != ip_ptr -> nx_ip_arp_dynamic_list) in _nx_arp_interface_entries_delete()
112 arp_entry = arp_entry -> nx_arp_pool_next; in _nx_arp_interface_entries_delete()
138 arp_entry = next_arp_entry; in _nx_arp_interface_entries_delete()
143 if (arp_entry -> nx_arp_ip_interface == interface_ptr) in _nx_arp_interface_entries_delete()
[all …]
Dnx_arp_static_entry_delete.c83 NX_ARP *arp_entry; in _nx_arp_static_entry_delete() local
95 arp_entry = ip_ptr -> nx_ip_arp_static_list; in _nx_arp_static_entry_delete()
96 while (arp_entry) in _nx_arp_static_entry_delete()
100 if ((arp_entry -> nx_arp_ip_address == ip_address) && in _nx_arp_static_entry_delete()
101 (arp_entry -> nx_arp_physical_address_msw == physical_msw) && in _nx_arp_static_entry_delete()
102 (arp_entry -> nx_arp_physical_address_lsw == physical_lsw)) in _nx_arp_static_entry_delete()
112 if (arp_entry -> nx_arp_pool_next == ip_ptr -> nx_ip_arp_static_list) in _nx_arp_static_entry_delete()
117 arp_entry = NX_NULL; in _nx_arp_static_entry_delete()
124 arp_entry = arp_entry -> nx_arp_pool_next; in _nx_arp_static_entry_delete()
131 if (arp_entry) in _nx_arp_static_entry_delete()
[all …]
Dnx_arp_dynamic_entries_invalidate.c77 NX_ARP *arp_entry; in _nx_arp_dynamic_entries_invalidate() local
88 arp_entry = ip_ptr -> nx_ip_arp_dynamic_list; in _nx_arp_dynamic_entries_invalidate()
91 while ((arp_entry) && (ip_ptr -> nx_ip_arp_dynamic_active_count)) in _nx_arp_dynamic_entries_invalidate()
95 _nx_arp_dynamic_entry_delete(ip_ptr, arp_entry); in _nx_arp_dynamic_entries_invalidate()
98 arp_entry -> nx_arp_ip_interface = NX_NULL; in _nx_arp_dynamic_entries_invalidate()
101 if (arp_entry -> nx_arp_pool_next != ip_ptr -> nx_ip_arp_dynamic_list) in _nx_arp_dynamic_entries_invalidate()
105 arp_entry = arp_entry -> nx_arp_pool_next; in _nx_arp_dynamic_entries_invalidate()
/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_arp_branch_test.c117 NX_ARP arp_entry; in thread_0_entry() local
143 ip_0.nx_ip_arp_static_list = &arp_entry; in thread_0_entry()
144 arp_entry.nx_arp_pool_previous = NX_NULL; in thread_0_entry()
145 arp_entry.nx_arp_pool_next = NX_NULL; in thread_0_entry()
146 arp_entry.nx_arp_ip_interface = NX_NULL; in thread_0_entry()
392 ip_0.nx_ip_arp_dynamic_list = &arp_entry; in thread_0_entry()
393 arp_entry.nx_arp_entry_next_update = 1; in thread_0_entry()
394 arp_entry.nx_arp_physical_address_msw = 0x0000; in thread_0_entry()
395 arp_entry.nx_arp_physical_address_lsw = 0x22334456; in thread_0_entry()
396 arp_entry.nx_arp_retries = 0; in thread_0_entry()
[all …]
/NetX-Duo-v6.2.1/common/inc/
Dnx_arp.h96 VOID _nx_arp_static_entry_delete_internal(NX_IP *ip_ptr, NX_ARP *arp_entry);