Home
last modified time | relevance | path

Searched refs:rt_entry (Results 1 – 11 of 11) sorted by relevance

/NetX-Duo-v6.2.1/common/src/
Dnxd_ipv6_prefix_router_timer_tick.c85 NX_IPV6_DEFAULT_ROUTER_ENTRY *rt_entry; in _nxd_ipv6_prefix_router_timer_tick() local
96 rt_entry = &ip_ptr -> nx_ipv6_default_router_table[i]; in _nxd_ipv6_prefix_router_timer_tick()
99 if ((rt_entry -> nx_ipv6_default_router_entry_flag & NX_IPV6_ROUTE_TYPE_VALID) == 0) in _nxd_ipv6_prefix_router_timer_tick()
108 if (rt_entry -> nx_ipv6_default_router_entry_life_time == 0) in _nxd_ipv6_prefix_router_timer_tick()
113 if (rt_entry -> nx_ipv6_default_router_entry_neighbor_cache_ptr) in _nxd_ipv6_prefix_router_timer_tick()
117rt_entry -> nx_ipv6_default_router_entry_neighbor_cache_ptr -> nx_nd_cache_is_router = NX_NULL; in _nxd_ipv6_prefix_router_timer_tick()
121 … _nx_invalidate_destination_entry(ip_ptr, rt_entry -> nx_ipv6_default_router_entry_router_address); in _nxd_ipv6_prefix_router_timer_tick()
124 rt_entry -> nx_ipv6_default_router_entry_flag = 0; in _nxd_ipv6_prefix_router_timer_tick()
127 rt_entry -> nx_ipv6_default_router_entry_interface_ptr = NX_NULL; in _nxd_ipv6_prefix_router_timer_tick()
135 if (rt_entry -> nx_ipv6_default_router_entry_life_time != 0xFFFF) in _nxd_ipv6_prefix_router_timer_tick()
[all …]
Dnxd_ipv6_default_router_delete.c80 NX_IPV6_DEFAULT_ROUTER_ENTRY *rt_entry; in _nxd_ipv6_default_router_delete() local
104 rt_entry = &ip_ptr -> nx_ipv6_default_router_table[i]; in _nxd_ipv6_default_router_delete()
107 if (rt_entry -> nx_ipv6_default_router_entry_flag & NX_IPV6_ROUTE_TYPE_VALID) in _nxd_ipv6_default_router_delete()
112 rt_entry -> nx_ipv6_default_router_entry_router_address)) in _nxd_ipv6_default_router_delete()
116 if (rt_entry -> nx_ipv6_default_router_entry_neighbor_cache_ptr) in _nxd_ipv6_default_router_delete()
121rt_entry -> nx_ipv6_default_router_entry_neighbor_cache_ptr -> nx_nd_cache_is_router = NX_NULL; in _nxd_ipv6_default_router_delete()
125 … _nx_invalidate_destination_entry(ip_ptr, rt_entry -> nx_ipv6_default_router_entry_router_address); in _nxd_ipv6_default_router_delete()
128 rt_entry -> nx_ipv6_default_router_entry_flag = 0; in _nxd_ipv6_default_router_delete()
131 rt_entry -> nx_ipv6_default_router_entry_interface_ptr = NX_NULL; in _nxd_ipv6_default_router_delete()
Dnxd_ipv6_router_lookup.c90 NX_IPV6_DEFAULT_ROUTER_ENTRY *rt_entry; in _nxd_ipv6_router_lookup() local
114 rt_entry = &(ip_ptr -> nx_ipv6_default_router_table[i]); in _nxd_ipv6_router_lookup()
117 if ((rt_entry -> nx_ipv6_default_router_entry_flag & NX_IPV6_ROUTE_TYPE_VALID) && in _nxd_ipv6_router_lookup()
118 (rt_entry -> nx_ipv6_default_router_entry_interface_ptr == if_ptr)) in _nxd_ipv6_router_lookup()
122 NDCacheEntry = rt_entry -> nx_ipv6_default_router_entry_neighbor_cache_ptr; in _nxd_ipv6_router_lookup()
158 rt_entry = &(ip_ptr -> nx_ipv6_default_router_table[i]); in _nxd_ipv6_router_lookup()
161 if ((rt_entry -> nx_ipv6_default_router_entry_flag & NX_IPV6_ROUTE_TYPE_VALID) && in _nxd_ipv6_router_lookup()
162 (rt_entry -> nx_ipv6_default_router_entry_interface_ptr == if_ptr)) in _nxd_ipv6_router_lookup()
166 … COPY_IPV6_ADDRESS(rt_entry -> nx_ipv6_default_router_entry_router_address, router_address); in _nxd_ipv6_router_lookup()
169 *nd_cache_entry = rt_entry -> nx_ipv6_default_router_entry_neighbor_cache_ptr; in _nxd_ipv6_router_lookup()
Dnxd_ipv6_default_router_entry_get.c94 NX_IPV6_DEFAULT_ROUTER_ENTRY *rt_entry; in _nxd_ipv6_default_router_entry_get() local
108 rt_entry = &ip_ptr -> nx_ipv6_default_router_table[i]; in _nxd_ipv6_default_router_entry_get()
110 if (rt_entry -> nx_ipv6_default_router_entry_flag == 0) in _nxd_ipv6_default_router_entry_get()
116 …if (rt_entry -> nx_ipv6_default_router_entry_interface_ptr -> nx_interface_index != (UCHAR)interfa… in _nxd_ipv6_default_router_entry_get()
133 COPY_IPV6_ADDRESS(&(rt_entry -> nx_ipv6_default_router_entry_router_address[0]), in _nxd_ipv6_default_router_entry_get()
140 *router_lifetime = rt_entry -> nx_ipv6_default_router_entry_life_time; in _nxd_ipv6_default_router_entry_get()
145 …if ((rt_entry -> nx_ipv6_default_router_entry_router_address[0] & (UINT)0xFFC00000) == (UINT)0xFE8… in _nxd_ipv6_default_router_entry_get()
157 *configuration_method = (rt_entry -> nx_ipv6_default_router_entry_flag & in _nxd_ipv6_default_router_entry_get()
Dnxd_ipv6_find_default_router_from_address.c83 NX_IPV6_DEFAULT_ROUTER_ENTRY *rt_entry; in _nxd_ipv6_find_default_router_from_address() local
97 rt_entry = &ip_ptr -> nx_ipv6_default_router_table[i]; in _nxd_ipv6_find_default_router_from_address()
100 if (rt_entry -> nx_ipv6_default_router_entry_flag) in _nxd_ipv6_find_default_router_from_address()
104 …if (CHECK_IPV6_ADDRESSES_SAME(router_address, rt_entry -> nx_ipv6_default_router_entry_router_addr… in _nxd_ipv6_find_default_router_from_address()
112 return(rt_entry); in _nxd_ipv6_find_default_router_from_address()
Dnxd_ipv6_default_router_number_of_entries_get.c86 NX_IPV6_DEFAULT_ROUTER_ENTRY *rt_entry; in _nxd_ipv6_default_router_number_of_entries_get() local
99 rt_entry = &ip_ptr -> nx_ipv6_default_router_table[i]; in _nxd_ipv6_default_router_number_of_entries_get()
101 if (rt_entry -> nx_ipv6_default_router_entry_flag == 0) in _nxd_ipv6_default_router_number_of_entries_get()
107 … if (rt_entry -> nx_ipv6_default_router_entry_interface_ptr -> nx_interface_index != if_index) in _nxd_ipv6_default_router_number_of_entries_get()
Dnxd_ipv6_interface_find.c82 NX_IPV6_DEFAULT_ROUTER_ENTRY *rt_entry; in _nxd_ipv6_interface_find() local
274 rt_entry = &ip_ptr -> nx_ipv6_default_router_table[i]; in _nxd_ipv6_interface_find()
277 if (rt_entry -> nx_ipv6_default_router_entry_flag == 0) in _nxd_ipv6_interface_find()
283 … if (rt_entry -> nx_ipv6_default_router_entry_interface_ptr -> nx_interface_link_up == NX_FALSE) in _nxd_ipv6_interface_find()
289 if (if_ptr && (rt_entry -> nx_ipv6_default_router_entry_interface_ptr != if_ptr)) in _nxd_ipv6_interface_find()
295 …ipv6_address = rt_entry -> nx_ipv6_default_router_entry_interface_ptr -> nxd_interface_ipv6_addres… in _nxd_ipv6_interface_find()
Dnx_ip_interface_detach.c101 NX_IPV6_DEFAULT_ROUTER_ENTRY *rt_entry; in _nx_ip_interface_detach() local
191 rt_entry = &ip_ptr -> nx_ipv6_default_router_table[i]; in _nx_ip_interface_detach()
194 if (rt_entry -> nx_ipv6_default_router_entry_flag & NX_IPV6_ROUTE_TYPE_VALID) in _nx_ip_interface_detach()
197 if (rt_entry -> nx_ipv6_default_router_entry_interface_ptr == interface_ptr) in _nx_ip_interface_detach()
202 … _nx_invalidate_destination_entry(ip_ptr, rt_entry -> nx_ipv6_default_router_entry_router_address); in _nx_ip_interface_detach()
205 rt_entry -> nx_ipv6_default_router_entry_flag = 0; in _nx_ip_interface_detach()
208 rt_entry -> nx_ipv6_default_router_entry_interface_ptr = NX_NULL; in _nx_ip_interface_detach()
Dnx_icmpv6_process_na.c280 NX_IPV6_DEFAULT_ROUTER_ENTRY *rt_entry; in _nx_icmpv6_process_na() local
283 rt_entry = in _nx_icmpv6_process_na()
287 if (rt_entry) in _nx_icmpv6_process_na()
291 nd_entry -> nx_nd_cache_is_router = rt_entry; in _nx_icmpv6_process_na()
294 rt_entry -> nx_ipv6_default_router_entry_neighbor_cache_ptr = (VOID *)nd_entry; in _nx_icmpv6_process_na()
Dnx_icmpv6_process_ra.c109 NX_IPV6_DEFAULT_ROUTER_ENTRY *rt_entry; in _nx_icmpv6_process_ra() local
561 router_type, &rt_entry); in _nx_icmpv6_process_ra()
568 if (rt_entry && nd_entry) in _nx_icmpv6_process_ra()
570 rt_entry -> nx_ipv6_default_router_entry_neighbor_cache_ptr = (void *)nd_entry; in _nx_icmpv6_process_ra()
571 nd_entry -> nx_nd_cache_is_router = rt_entry; in _nx_icmpv6_process_ra()
Dnx_icmpv6_process_redirect.c107 NX_IPV6_DEFAULT_ROUTER_ENTRY *rt_entry; in _nx_icmpv6_process_redirect() local
288 … NX_IPV6_ROUTE_TYPE_UNSOLICITATED, &rt_entry); in _nx_icmpv6_process_redirect()
293 nd_entry -> nx_nd_cache_is_router = rt_entry; in _nx_icmpv6_process_redirect()