Home
last modified time | relevance | path

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

/openbmc/linux/net/ipv4/
H A 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()
H A 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 …]
H A 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()
1743 struct fib_info *fi = fa->fa_info; in fib_table_delete()
2075 struct fib_info *fi = fa->fa_info; in fib_table_flush()
2153 struct fib_info *fi = fa->fa_info; in __fib_info_notify_update()
2188 struct fib_info *fi = fa->fa_info; in fib_leaf_notify()
2288 struct fib_info *fi = fa->fa_info; in fn_trie_dump_leaf()
2944 static unsigned int fib_flag_trans(int type, __be32 mask, struct fib_info *fi) in fib_flag_trans()
2986 struct fib_info *fi = fa->fa_info; in fib_route_seq_show()
H A Droute.c1418 struct fib_info *fi = res->fi; in ip_mtu_from_fib_result()
1591 struct fib_info *fi, u16 type, u32 itag, in rt_set_nexthop()
2529 struct fib_info *fi = res->fi; in __mkroute_output()
3141 u32 table_id, struct fib_info *fi, in fib_dump_info_fnhe()
H A Dnexthop.c1414 struct fib_info *fi; in fib_check_nh_list()
1871 struct fib_info *fi; in __remove_nexthop_fib()
2210 struct fib_info *fi; in __nexthop_replace_notify()
H A Dfib_frontend.c309 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev) in fib_info_nh_uses_dev()
/openbmc/linux/include/net/
H A Dip_fib.h56 struct fib_info;
108 struct fib_info *nh_parent;
134 struct fib_info { struct
178 struct fib_info *fi; argument
213 struct fib_info *fi;
229 struct fib_info *fi;
442 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev);
573 void free_fib_info(struct fib_info *fi);
575 static inline void fib_info_hold(struct fib_info *fi) in fib_info_hold()
580 static inline void fib_info_put(struct fib_info *fi) in fib_info_put()
H A 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()
H A Droute.h58 struct fib_info;
250 u32 table_id, struct fib_info *fi,
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A 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()
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A 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()
/openbmc/linux/drivers/net/ethernet/rocker/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c485 struct fib_info *fi;
3141 struct fib_info *fi;
3357 struct fib_info *fi;
3434 struct fib_info *fi; in mlxsw_sp_nexthop_group_hash_obj()
3527 struct fib_info *fi) in mlxsw_sp_nexthop4_group_lookup()
5515 struct fib_info *fi) in mlxsw_sp_fi_is_gateway()
5589 mlxsw_sp_nexthop4_group_create(struct mlxsw_sp *mlxsw_sp, struct fib_info *fi) in mlxsw_sp_nexthop4_group_create()
5645 struct fib_info *fi) in mlxsw_sp_nexthop4_group_get()
/openbmc/linux/drivers/net/netdevsim/
H A Dfib.c83 struct fib_info *fi;
/openbmc/linux/Documentation/networking/
H A Dswitchdev.rst366 struct fib_info *fi;