Home
last modified time | relevance | path

Searched refs:fib_info (Results 1 – 15 of 15) sorted by relevance

/Linux-v6.6/net/ipv4/
Dfib_lookup.h13 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()
Dfib_semantics.c235 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()
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_nh(struct net *net, in fib_find_info_nh()
381 struct fib_info *fi; in fib_find_info_nh()
409 static struct fib_info *fib_find_info(struct fib_info *nfi) in fib_find_info()
412 struct fib_info *fi; in fib_find_info()
465 size_t fib_nlmsg_size(struct fib_info *fi) in fib_nlmsg_size()
[all …]
Dfib_trie.c1222 struct fib_info *fi; 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 *fi) in fib_flag_trans()
2985 struct fib_info *fi = fa->fa_info; in fib_route_seq_show()
Droute.c1400 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()
Dnexthop.c1413 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()
Dfib_frontend.c309 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev) in fib_info_nh_uses_dev()
/Linux-v6.6/include/net/
Dip_fib.h56 struct fib_info;
108 struct fib_info *nh_parent;
134 struct fib_info { struct
177 struct fib_info *fi; argument
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 *fi) in fib_info_put()
Dnexthop.h446 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()
466 static inline struct fib_nh *fib_info_nh(struct fib_info *fi, int nhsel) in fib_info_nh()
Droute.h58 struct fib_info;
249 u32 table_id, struct fib_info *fi,
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/
Dmp.c103 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()
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_router.c167 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-v6.6/drivers/net/ethernet/rocker/
Drocker_ofdpa.c99 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-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c485 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()
/Linux-v6.6/drivers/net/netdevsim/
Dfib.c83 struct fib_info *fi;
/Linux-v6.6/Documentation/networking/
Dswitchdev.rst366 struct fib_info *fi;