Searched refs:fib_node (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | nip_fib.c | 87 struct nip_fib_node *fib_node; in nip_fib_locate() local 95 hlist_for_each_entry_rcu(fib_node, h, fib_hlist) { in nip_fib_locate() 96 if (nip_addr_eq(&fib_node->nip_route_info->rt_dst, daddr)) in nip_fib_locate() 97 return fib_node; in nip_fib_locate() 105 hlist_for_each_entry_rcu(fib_node, h, fib_hlist) { in nip_fib_locate() 106 if (nip_addr_eq(&fib_node->nip_route_info->rt_dst, &nip_any_addr)) in nip_fib_locate() 107 return fib_node; in nip_fib_locate() 116 struct nip_fib_node *fib_node; in is_nip_route_exist() local 118 hlist_for_each_entry(fib_node, h, fib_hlist) { in is_nip_route_exist() 120 if (nip_addr_eq(&fib_node->nip_route_info->rt_dst, in is_nip_route_exist() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 372 struct mlxsw_sp_fib_node *fib_node; member 1147 struct mlxsw_sp_fib_node *fib_node; in mlxsw_sp_router_ip2me_fib_entry_find() local 1173 fib_node = mlxsw_sp_fib_node_lookup(fib, addrp, addr_len, in mlxsw_sp_router_ip2me_fib_entry_find() 1175 if (!fib_node || fib_node->fib_entry->type != type) in mlxsw_sp_router_ip2me_fib_entry_find() 1178 return fib_node->fib_entry; in mlxsw_sp_router_ip2me_fib_entry_find() 1186 static struct mlxsw_sp_fib_node *fib_node; in mlxsw_sp_ipip_entry_find_decap() local 1220 fib_node = mlxsw_sp_fib_node_lookup(ul_fib, saddrp, saddr_len, in mlxsw_sp_ipip_entry_find_decap() 1222 if (!fib_node || in mlxsw_sp_ipip_entry_find_decap() 1223 fib_node->fib_entry->type != MLXSW_SP_FIB_ENTRY_TYPE_TRAP) in mlxsw_sp_ipip_entry_find_decap() 1226 return fib_node->fib_entry; in mlxsw_sp_ipip_entry_find_decap() [all …]
|