Home
last modified time | relevance | path

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

/NetX-Duo-v6.2.1/common/src/
Dnx_arp_entry_allocate.c80 NX_ARP *arp_entry; in _nx_arp_entry_allocate() local
91 arp_entry = (ip_ptr -> nx_ip_arp_dynamic_list) -> nx_arp_pool_previous; in _nx_arp_entry_allocate()
94 _nx_arp_dynamic_entry_delete(ip_ptr, arp_entry); in _nx_arp_entry_allocate()
107 arp_entry -> nx_arp_active_list_head = arp_list_ptr; in _nx_arp_entry_allocate()
108 arp_entry -> nx_arp_active_next = *arp_list_ptr; in _nx_arp_entry_allocate()
109 arp_entry -> nx_arp_active_previous = (*arp_list_ptr) -> nx_arp_active_previous; in _nx_arp_entry_allocate()
110 (arp_entry -> nx_arp_active_previous) -> nx_arp_active_next = arp_entry; in _nx_arp_entry_allocate()
111 (*arp_list_ptr) -> nx_arp_active_previous = arp_entry; in _nx_arp_entry_allocate()
116 arp_entry -> nx_arp_active_list_head = arp_list_ptr; in _nx_arp_entry_allocate()
117 arp_entry -> nx_arp_active_next = arp_entry; in _nx_arp_entry_allocate()
[all …]
Dnx_arp_static_entry_delete_internal.c76 VOID _nx_arp_static_entry_delete_internal(NX_IP *ip_ptr, NX_ARP *arp_entry) in _nx_arp_static_entry_delete_internal() argument
91 if (arp_entry -> nx_arp_active_list_head) in _nx_arp_static_entry_delete_internal()
97 if (arp_entry == arp_entry -> nx_arp_active_next) in _nx_arp_static_entry_delete_internal()
101 *(arp_entry -> nx_arp_active_list_head) = NX_NULL; in _nx_arp_static_entry_delete_internal()
109 if (*(arp_entry -> nx_arp_active_list_head) == arp_entry) in _nx_arp_static_entry_delete_internal()
111 *(arp_entry -> nx_arp_active_list_head) = arp_entry -> nx_arp_active_next; in _nx_arp_static_entry_delete_internal()
115 (arp_entry -> nx_arp_active_next) -> nx_arp_active_previous = in _nx_arp_static_entry_delete_internal()
116 arp_entry -> nx_arp_active_previous; in _nx_arp_static_entry_delete_internal()
117 (arp_entry -> nx_arp_active_previous) -> nx_arp_active_next = in _nx_arp_static_entry_delete_internal()
118 arp_entry -> nx_arp_active_next; in _nx_arp_static_entry_delete_internal()
[all …]
Dnx_arp_periodic_update.c81 NX_ARP *arp_entry; in _nx_arp_periodic_update() local
87 arp_entry = ip_ptr -> nx_ip_arp_dynamic_list; in _nx_arp_periodic_update()
94 if (arp_entry -> nx_arp_entry_next_update) in _nx_arp_periodic_update()
98 arp_entry -> nx_arp_entry_next_update--; in _nx_arp_periodic_update()
101 if (!arp_entry -> nx_arp_entry_next_update) in _nx_arp_periodic_update()
107 if (arp_entry -> nx_arp_retries == NX_ARP_MAXIMUM_RETRIES) in _nx_arp_periodic_update()
118 if (arp_entry -> nx_arp_active_list_head) in _nx_arp_periodic_update()
122 if (arp_entry == arp_entry -> nx_arp_active_next) in _nx_arp_periodic_update()
126 *(arp_entry -> nx_arp_active_list_head) = NX_NULL; in _nx_arp_periodic_update()
134 if (*(arp_entry -> nx_arp_active_list_head) == arp_entry) in _nx_arp_periodic_update()
[all …]
Dnx_arp_hardware_address_find.c81 NX_ARP *arp_entry; in _nx_arp_hardware_address_find() local
98 arp_entry = ip_ptr -> nx_ip_arp_static_list; in _nx_arp_hardware_address_find()
99 while (arp_entry) in _nx_arp_hardware_address_find()
103 if ((arp_entry -> nx_arp_ip_address == ip_address) && in _nx_arp_hardware_address_find()
104 (arp_entry -> nx_arp_physical_address_msw | arp_entry -> nx_arp_physical_address_lsw)) in _nx_arp_hardware_address_find()
114 if (arp_entry -> nx_arp_pool_next == ip_ptr -> nx_ip_arp_static_list) in _nx_arp_hardware_address_find()
119 arp_entry = NX_NULL; in _nx_arp_hardware_address_find()
126 arp_entry = arp_entry -> nx_arp_pool_next; in _nx_arp_hardware_address_find()
133 if (arp_entry) in _nx_arp_hardware_address_find()
137 *physical_msw = arp_entry -> nx_arp_physical_address_msw; in _nx_arp_hardware_address_find()
[all …]
Dnx_arp_ip_address_find.c81 NX_ARP *arp_entry; in _nx_arp_ip_address_find() local
98 arp_entry = ip_ptr -> nx_ip_arp_static_list; in _nx_arp_ip_address_find()
99 while (arp_entry) in _nx_arp_ip_address_find()
103 if ((arp_entry -> nx_arp_physical_address_msw == physical_msw) && in _nx_arp_ip_address_find()
104 (arp_entry -> nx_arp_physical_address_lsw == physical_lsw)) in _nx_arp_ip_address_find()
114 if (arp_entry -> nx_arp_pool_next == ip_ptr -> nx_ip_arp_static_list) in _nx_arp_ip_address_find()
119 arp_entry = NX_NULL; in _nx_arp_ip_address_find()
126 arp_entry = arp_entry -> nx_arp_pool_next; in _nx_arp_ip_address_find()
133 if (arp_entry) in _nx_arp_ip_address_find()
137 *ip_address = arp_entry -> nx_arp_ip_address; in _nx_arp_ip_address_find()
[all …]
Dnx_arp_interface_entries_delete.c79 NX_ARP *arp_entry; in _nx_arp_interface_entries_delete() local
92 arp_entry = ip_ptr -> nx_ip_arp_dynamic_list; in _nx_arp_interface_entries_delete()
95 while ((arp_entry) && (ip_ptr -> nx_ip_arp_dynamic_active_count)) in _nx_arp_interface_entries_delete()
100 if (arp_entry -> nx_arp_ip_interface == interface_ptr) in _nx_arp_interface_entries_delete()
103 _nx_arp_dynamic_entry_delete(ip_ptr, arp_entry); in _nx_arp_interface_entries_delete()
106 arp_entry -> nx_arp_ip_interface = NX_NULL; in _nx_arp_interface_entries_delete()
110 if (arp_entry -> nx_arp_pool_next != ip_ptr -> nx_ip_arp_dynamic_list) in _nx_arp_interface_entries_delete()
113 arp_entry = arp_entry -> nx_arp_pool_next; in _nx_arp_interface_entries_delete()
139 arp_entry = next_arp_entry; in _nx_arp_interface_entries_delete()
144 if (arp_entry -> nx_arp_ip_interface == interface_ptr) in _nx_arp_interface_entries_delete()
[all …]
Dnx_arp_static_entry_delete.c84 NX_ARP *arp_entry; in _nx_arp_static_entry_delete() local
96 arp_entry = ip_ptr -> nx_ip_arp_static_list; in _nx_arp_static_entry_delete()
97 while (arp_entry) in _nx_arp_static_entry_delete()
101 if ((arp_entry -> nx_arp_ip_address == ip_address) && in _nx_arp_static_entry_delete()
102 (arp_entry -> nx_arp_physical_address_msw == physical_msw) && in _nx_arp_static_entry_delete()
103 (arp_entry -> nx_arp_physical_address_lsw == physical_lsw)) in _nx_arp_static_entry_delete()
113 if (arp_entry -> nx_arp_pool_next == ip_ptr -> nx_ip_arp_static_list) in _nx_arp_static_entry_delete()
118 arp_entry = NX_NULL; in _nx_arp_static_entry_delete()
125 arp_entry = arp_entry -> nx_arp_pool_next; in _nx_arp_static_entry_delete()
132 if (arp_entry) in _nx_arp_static_entry_delete()
[all …]
Dnx_arp_dynamic_entries_invalidate.c78 NX_ARP *arp_entry; in _nx_arp_dynamic_entries_invalidate() local
89 arp_entry = ip_ptr -> nx_ip_arp_dynamic_list; in _nx_arp_dynamic_entries_invalidate()
92 while ((arp_entry) && (ip_ptr -> nx_ip_arp_dynamic_active_count)) in _nx_arp_dynamic_entries_invalidate()
96 _nx_arp_dynamic_entry_delete(ip_ptr, arp_entry); in _nx_arp_dynamic_entries_invalidate()
99 arp_entry -> nx_arp_ip_interface = NX_NULL; in _nx_arp_dynamic_entries_invalidate()
102 if (arp_entry -> nx_arp_pool_next != ip_ptr -> nx_ip_arp_dynamic_list) in _nx_arp_dynamic_entries_invalidate()
106 arp_entry = arp_entry -> nx_arp_pool_next; in _nx_arp_dynamic_entries_invalidate()
/NetX-Duo-v6.2.1/common/inc/
Dnx_arp.h97 VOID _nx_arp_static_entry_delete_internal(NX_IP *ip_ptr, NX_ARP *arp_entry);