/linux/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_trie.c | 1201 struct fib_info *fi; in fib_table_insert() 1243 * 1. Find exact match for type, scope, fib_info to avoid in fib_table_insert() 1264 struct fib_info *fi_drop; in fib_table_insert() 1550 struct fib_info *fi = fa->fa_info; in fib_table_lookup() 1715 struct fib_info *fi = fa->fa_info; in fib_table_delete() 2047 struct fib_info *fi = fa->fa_info; in fib_table_flush() 2125 struct fib_info *fi = fa->fa_info; in __fib_info_notify_update() 2160 struct fib_info *fi = fa->fa_info; in fib_leaf_notify() 2260 struct fib_info *fi = fa->fa_info; in fn_trie_dump_leaf() 2916 static unsigned int fib_flag_trans(int type, __be32 mask, struct fib_info *f [all...] |
H A D | route.c | 1413 struct fib_info *fi = res->fi; in ip_mtu_from_fib_result() 1583 struct fib_info *fi, u16 type, u32 itag, in rt_set_nexthop() 2561 struct fib_info *fi = res->fi; in __mkroute_output() 3122 u32 table_id, struct fib_info *fi, in fib_dump_info_fnhe()
|
H A D | nexthop.c | 1663 struct fib_info *fi; in fib_check_nh_list() 2123 struct fib_info *fi; in __remove_nexthop_fib() 2473 struct fib_info *fi; in __nexthop_replace_notify() 2475 /* expectation is a few fib_info per nexthop and then in __nexthop_replace_notify() 2476 * a lot of routes per fib_info. So mark the fib_info in __nexthop_replace_notify()
|
H A D | fib_frontend.c | 309 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev) in fib_info_nh_uses_dev() 1355 * First of all, we scan fib_info list searching in fib_del_ifaddr()
|
/linux/include/net/ |
H A D | ip_fib.h | 58 struct fib_info; 110 struct fib_info *nh_parent; 136 struct fib_info { struct 182 struct fib_info *fi; argument 217 struct fib_info *fi; 233 struct fib_info *fi; 452 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev); 625 void free_fib_info(struct fib_info *fi); 627 static inline void fib_info_hold(struct fib_info *fi) in fib_info_hold() 632 static inline void fib_info_put(struct fib_info *f 137 fib_hashfib_info global() argument 138 fib_lhashfib_info global() argument 139 nh_listfib_info global() argument 140 fib_netfib_info global() argument 141 fib_treereffib_info global() argument 142 fib_clntreffib_info global() argument 143 fib_flagsfib_info global() argument 144 fib_deadfib_info global() argument 145 fib_protocolfib_info global() argument 146 fib_scopefib_info global() argument 147 fib_typefib_info global() argument 148 fib_prefsrcfib_info global() argument 149 fib_tb_idfib_info global() argument 150 fib_priorityfib_info global() argument 151 fib_metricsfib_info global() argument 156 fib_nhsfib_info global() argument 157 fib_nh_is_v6fib_info global() argument 158 nh_updatedfib_info global() argument [all...] |
H A D | nexthop.h | 478 static inline unsigned int fib_info_num_path(const struct fib_info *fi) in fib_info_num_path() 489 static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel) in fib_info_nhc() 497 /* only used when fib_nh is built into fib_info */ 498 static inline struct fib_nh *fib_info_nh(struct fib_info *fi, int nhsel) in fib_info_nh()
|
H A D | route.h | 55 struct fib_info; 276 u32 table_id, struct fib_info *fi,
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | mp.c | 108 static void mlx5_lag_fib_set(struct lag_mp *mp, struct fib_info *fi, u32 dst, int dst_len) in mlx5_lag_fib_set() 128 struct fib_info *fi, in mlx5_lag_get_next_fib_dev() 160 struct fib_info *fi = fen_info->fi; in mlx5_lag_fib_route_event() 226 struct fib_info *fi) in mlx5_lag_fib_nexthop_event() 310 struct fib_info *fi; in mlx5_lag_fib_event() 331 /* Take reference on fib_info to prevent it from being in mlx5_lag_fib_event()
|
/linux/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()
|
/linux/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()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 486 struct fib_info *fi; 3149 struct fib_info *fi; 3471 struct fib_info *fi; 3548 struct fib_info *fi; in mlxsw_sp_nexthop_group_hash_obj() 3641 struct fib_info *fi) in mlxsw_sp_nexthop4_group_lookup() 5764 struct fib_info *fi) in mlxsw_sp_fi_is_gateway() 5838 mlxsw_sp_nexthop4_group_create(struct mlxsw_sp *mlxsw_sp, struct fib_info *fi) in mlxsw_sp_nexthop4_group_create() 5894 struct fib_info *fi) in mlxsw_sp_nexthop4_group_get() 8003 /* Take reference on fib_info to prevent it from being in mlxsw_sp_router_fib4_event()
|
/linux/drivers/net/netdevsim/ |
H A D | fib.c | 83 struct fib_info *fi; 927 /* Take reference on fib_info to prevent it from being in nsim_fib4_prepare_event()
|