/kernel/linux/linux-6.6/net/ipv4/ |
H A D | fib_lookup.h | 13 struct fib_info *fa_info; 36 void fib_release_info(struct fib_info *); 37 struct fib_info *fib_create_info(struct fib_config *cfg, 39 int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi, 41 bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi); 46 size_t fib_nlmsg_size(struct fib_info *fi); 49 struct fib_info *fi) in fib_result_assign()
|
H A D | fib_semantics.c | 65 * is not set in a fib_info. The logic within can reference fib_nh. 235 struct fib_info *fi = container_of(head, struct fib_info, rcu); in free_fib_info_rcu() 250 void free_fib_info(struct fib_info *fi) in free_fib_info() 253 pr_warn("Freeing alive fib_info %p\n", fi); in free_fib_info() 261 void fib_release_info(struct fib_info *fi) in fib_release_info() 288 static inline int nh_comp(struct fib_info *fi, struct fib_info *ofi) in nh_comp() 357 static inline unsigned int fib_info_hashfn(struct fib_info *fi) in fib_info_hashfn() 377 static struct fib_info *fib_find_info_n [all...] |
H A D | fib_trie.c | 1222 struct fib_info *fi; in fib_table_insert() 1267 * 1. Find exact match for type, scope, fib_info to avoid in fib_table_insert() 1288 struct fib_info *fi_drop; in fib_table_insert() 1574 struct fib_info *fi = fa->fa_info; in fib_table_lookup() 1742 struct fib_info *fi = fa->fa_info; in fib_table_delete() 2074 struct fib_info *fi = fa->fa_info; in fib_table_flush() 2152 struct fib_info *fi = fa->fa_info; in __fib_info_notify_update() 2187 struct fib_info *fi = fa->fa_info; in fib_leaf_notify() 2287 struct fib_info *fi = fa->fa_info; in fn_trie_dump_leaf() 2943 static unsigned int fib_flag_trans(int type, __be32 mask, struct fib_info *f [all...] |
H A D | route.c | 1400 struct fib_info *fi = res->fi; in ip_mtu_from_fib_result() 1573 struct fib_info *fi, u16 type, u32 itag, in rt_set_nexthop() 2508 struct fib_info *fi = res->fi; in __mkroute_output() 3120 u32 table_id, struct fib_info *fi, in fib_dump_info_fnhe()
|
H A D | nexthop.c | 1413 struct fib_info *fi; in fib_check_nh_list() 1870 struct fib_info *fi; in __remove_nexthop_fib() 2209 struct fib_info *fi; in __nexthop_replace_notify() 2211 /* expectation is a few fib_info per nexthop and then in __nexthop_replace_notify() 2212 * a lot of routes per fib_info. So mark the fib_info in __nexthop_replace_notify()
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | fib_lookup.h | 12 struct fib_info *fa_info; 35 void fib_release_info(struct fib_info *); 36 struct fib_info *fib_create_info(struct fib_config *cfg, 38 int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi, 40 bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi); 47 struct fib_info *fi) in fib_result_assign()
|
H A D | fib_semantics.c | 63 * is not set in a fib_info. The logic within can reference fib_nh. 235 struct fib_info *fi = container_of(head, struct fib_info, rcu); in free_fib_info_rcu() 250 void free_fib_info(struct fib_info *fi) in free_fib_info() 253 pr_warn("Freeing alive fib_info %p\n", fi); in free_fib_info() 261 void fib_release_info(struct fib_info *fi) in fib_release_info() 288 static inline int nh_comp(struct fib_info *fi, struct fib_info *ofi) in nh_comp() 357 static inline unsigned int fib_info_hashfn(struct fib_info *fi) in fib_info_hashfn() 377 static struct fib_info *fib_find_info_n [all...] |
H A D | fib_trie.c | 1175 struct fib_info *fi; in fib_table_insert() 1219 * 1. Find exact match for type, scope, fib_info to avoid in fib_table_insert() 1240 struct fib_info *fi_drop; in fib_table_insert() 1527 struct fib_info *fi = fa->fa_info; in fib_table_lookup() 1692 struct fib_info *fi = fa->fa_info; in fib_table_delete() 2024 struct fib_info *fi = fa->fa_info; in fib_table_flush() 2102 struct fib_info *fi = fa->fa_info; in __fib_info_notify_update() 2146 struct fib_info *fi = fa->fa_info; in fib_leaf_notify() 2246 struct fib_info *fi = fa->fa_info; in fn_trie_dump_leaf() 2900 static unsigned int fib_flag_trans(int type, __be32 mask, struct fib_info *f [all...] |
H A D | nexthop.c | 750 struct fib_info *fi; in fib_check_nh_list() 872 struct fib_info *fi; in __remove_nexthop_fib() 1053 struct fib_info *fi; in __nexthop_replace_notify() 1055 /* expectation is a few fib_info per nexthop and then in __nexthop_replace_notify() 1056 * a lot of routes per fib_info. So mark the fib_info in __nexthop_replace_notify()
|
H A D | route.c | 1438 struct fib_info *fi = res->fi; in ip_mtu_from_fib_result() 1606 struct fib_info *fi, u16 type, u32 itag, in rt_set_nexthop() 2429 struct fib_info *fi = res->fi; in __mkroute_output() 3043 u32 table_id, struct fib_info *fi, in fib_dump_info_fnhe()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | ip_fib.h | 55 struct fib_info; 106 struct fib_info *nh_parent; 131 struct fib_info { struct 174 struct fib_info *fi; 209 struct fib_info *fi; 224 struct fib_info *fi; 434 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev); 522 void free_fib_info(struct fib_info *fi); 524 static inline void fib_info_hold(struct fib_info *fi) in fib_info_hold() 529 static inline void fib_info_put(struct fib_info *f [all...] |
H A D | nexthop.h | 332 static inline unsigned int fib_info_num_path(const struct fib_info *fi) in fib_info_num_path() 343 static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel) in fib_info_nhc() 351 /* only used when fib_nh is built into fib_info */ 352 static inline struct fib_nh *fib_info_nh(struct fib_info *fi, int nhsel) in fib_info_nh()
|
H A D | route.h | 47 struct fib_info; 246 u32 table_id, struct fib_info *fi,
|
/kernel/linux/linux-6.6/include/net/ |
H A D | ip_fib.h | 56 struct fib_info; 108 struct fib_info *nh_parent; 134 struct fib_info { struct 177 struct fib_info *fi; 212 struct fib_info *fi; 228 struct fib_info *fi; 441 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev); 572 void free_fib_info(struct fib_info *fi); 574 static inline void fib_info_hold(struct fib_info *fi) in fib_info_hold() 579 static inline void fib_info_put(struct fib_info *f [all...] |
H A D | nexthop.h | 446 static inline unsigned int fib_info_num_path(const struct fib_info *fi) in fib_info_num_path() 457 static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel) in fib_info_nhc() 465 /* only used when fib_nh is built into fib_info */ 466 static inline struct fib_nh *fib_info_nh(struct fib_info *fi, int nhsel) in fib_info_nh()
|
H A D | route.h | 58 struct fib_info; 249 u32 table_id, struct fib_info *fi,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | mp.c | 103 static void mlx5_lag_fib_set(struct lag_mp *mp, struct fib_info *fi, u32 dst, int dst_len) in mlx5_lag_fib_set() 123 struct fib_info *fi, in mlx5_lag_get_next_fib_dev() 154 struct fib_info *fi = fen_info->fi; in mlx5_lag_fib_route_event() 214 struct fib_info *fi) in mlx5_lag_fib_nexthop_event() 293 struct fib_info *fi; in mlx5_lag_fib_event() 314 /* Take reference on fib_info to prevent it from being in mlx5_lag_fib_event()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | lag_mp.h | 18 struct fib_info *mfi; /* used in tracking fib events */
|
H A D | lag_mp.c | 112 struct fib_info *fi) in mlx5_lag_fib_route_event() 179 struct fib_info *fi) in mlx5_lag_fib_nexthop_event() 259 struct fib_info *fi; in mlx5_lag_fib_event() 284 /* Take reference on fib_info to prevent it from being in mlx5_lag_fib_event()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router.c | 167 static bool __prestera_fi_is_direct(struct fib_info *fi) in __prestera_fi_is_direct() 180 static bool prestera_fi_is_direct(struct fib_info *fi) in prestera_fi_is_direct() 188 static bool prestera_fi_is_nh(struct fib_info *fi) in prestera_fi_is_nh()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 2906 static struct fib_info * 2915 struct fib_info *fi; 2992 struct fib_info *fi; in mlxsw_sp_nexthop_group_hash_obj() 3081 struct fib_info *fi) in mlxsw_sp_nexthop4_group_lookup() 4002 struct fib_info *fi) in mlxsw_sp_fi_is_gateway() 4011 mlxsw_sp_nexthop4_group_create(struct mlxsw_sp *mlxsw_sp, struct fib_info *fi) in mlxsw_sp_nexthop4_group_create() 4074 struct fib_info *fi) in mlxsw_sp_nexthop4_group_get() 4162 struct fib_info *fi = mlxsw_sp_nexthop4_group_fi(fib_entry->nh_group); in mlxsw_sp_fib4_entry_hw_flags_set() 4187 struct fib_info *fi = mlxsw_sp_nexthop4_group_fi(fib_entry->nh_group); in mlxsw_sp_fib4_entry_hw_flags_clear() 4539 struct fib_info *f in mlxsw_sp_fib4_entry_type_set() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/ |
H A D | rocker_ofdpa.c | 99 struct fib_info *fi; 974 u32 group_id, struct fib_info *fi, in ofdpa_flow_tbl_ucast4_routing() 2268 int dst_len, struct fib_info *fi, u32 tb_id, in ofdpa_port_fib_ipv4()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/rocker/ |
H A D | rocker_ofdpa.c | 99 struct fib_info *fi; 974 u32 group_id, struct fib_info *fi, in ofdpa_flow_tbl_ucast4_routing() 2269 int dst_len, struct fib_info *fi, u32 tb_id, in ofdpa_port_fib_ipv4()
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
H A D | fib.c | 66 struct fib_info *fi;
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 485 struct fib_info *fi; 3140 struct fib_info *fi; 3356 struct fib_info *fi; 3433 struct fib_info *fi; in mlxsw_sp_nexthop_group_hash_obj() 3526 struct fib_info *fi) in mlxsw_sp_nexthop4_group_lookup() 5514 struct fib_info *fi) in mlxsw_sp_fi_is_gateway() 5588 mlxsw_sp_nexthop4_group_create(struct mlxsw_sp *mlxsw_sp, struct fib_info *fi) in mlxsw_sp_nexthop4_group_create() 5644 struct fib_info *fi) in mlxsw_sp_nexthop4_group_get() 7750 /* Take reference on fib_info to prevent it from being in mlxsw_sp_router_fib4_event()
|