Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv4/
Dfib_lookup.h12 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()
Dfib_semantics.c233 struct fib_info *fi = container_of(head, struct fib_info, rcu); in free_fib_info_rcu()
248 void free_fib_info(struct fib_info *fi) in free_fib_info()
260 void fib_release_info(struct fib_info *fi) in fib_release_info()
282 static inline int nh_comp(struct fib_info *fi, struct fib_info *ofi) in nh_comp()
347 static inline unsigned int fib_info_hashfn(struct fib_info *fi) in fib_info_hashfn()
367 static struct fib_info *fib_find_info_nh(struct net *net, in fib_find_info_nh()
371 struct fib_info *fi; in fib_find_info_nh()
399 static struct fib_info *fib_find_info(struct fib_info *nfi) in fib_find_info()
402 struct fib_info *fi; in fib_find_info()
455 static inline size_t fib_nlmsg_size(struct fib_info *fi) in fib_nlmsg_size()
[all …]
Dfib_trie.c1175 struct fib_info *fi; in fib_table_insert()
1240 struct fib_info *fi_drop; in fib_table_insert()
1525 struct fib_info *fi = fa->fa_info; in fib_table_lookup()
1689 struct fib_info *fi = fa->fa_info; in fib_table_delete()
2020 struct fib_info *fi = fa->fa_info; in fib_table_flush()
2095 struct fib_info *fi = fa->fa_info; in __fib_info_notify_update()
2139 struct fib_info *fi = fa->fa_info; in fib_leaf_notify()
2239 struct fib_info *fi = fa->fa_info; in fn_trie_dump_leaf()
2893 static unsigned int fib_flag_trans(int type, __be32 mask, struct fib_info *fi) in fib_flag_trans()
2935 struct fib_info *fi = fa->fa_info; in fib_route_seq_show()
Dnexthop.c749 struct fib_info *fi; in fib_check_nh_list()
871 struct fib_info *fi; in __remove_nexthop_fib()
1031 struct fib_info *fi; in __nexthop_replace_notify()
Droute.c1407 struct fib_info *fi = res->fi; in ip_mtu_from_fib_result()
1575 struct fib_info *fi, u16 type, u32 itag, in rt_set_nexthop()
2367 struct fib_info *fi = res->fi; in __mkroute_output()
3013 u32 table_id, struct fib_info *fi, in fib_dump_info_fnhe()
Dfib_frontend.c308 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev) in fib_info_nh_uses_dev()
/Linux-v5.10/include/net/
Dip_fib.h55 struct fib_info;
106 struct fib_info *nh_parent;
131 struct fib_info { struct
173 struct fib_info *fi; argument
208 struct fib_info *fi;
223 struct fib_info *fi;
433 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev);
521 void free_fib_info(struct fib_info *fi);
523 static inline void fib_info_hold(struct fib_info *fi) in fib_info_hold()
528 static inline void fib_info_put(struct fib_info *fi) in fib_info_put()
Dnexthop.h332 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()
352 static inline struct fib_nh *fib_info_nh(struct fib_info *fi, int nhsel) in fib_info_nh()
Droute.h47 struct fib_info;
246 u32 table_id, struct fib_info *fi,
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dlag_mp.h18 struct fib_info *mfi; /* used in tracking fib events */
Dlag_mp.c112 struct fib_info *fi) in mlx5_lag_fib_route_event()
174 struct fib_info *fi) in mlx5_lag_fib_nexthop_event()
254 struct fib_info *fi; in mlx5_lag_fib_event()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2903 static struct fib_info *
2912 struct fib_info *fi;
2989 struct fib_info *fi; in mlxsw_sp_nexthop_group_hash_obj()
3078 struct fib_info *fi) in mlxsw_sp_nexthop4_group_lookup()
3999 struct fib_info *fi) in mlxsw_sp_fi_is_gateway()
4008 mlxsw_sp_nexthop4_group_create(struct mlxsw_sp *mlxsw_sp, struct fib_info *fi) in mlxsw_sp_nexthop4_group_create()
4071 struct fib_info *fi) in mlxsw_sp_nexthop4_group_get()
4159 struct fib_info *fi = mlxsw_sp_nexthop4_group_fi(fib_entry->nh_group); in mlxsw_sp_fib4_entry_hw_flags_set()
4184 struct fib_info *fi = mlxsw_sp_nexthop4_group_fi(fib_entry->nh_group); in mlxsw_sp_fib4_entry_hw_flags_clear()
4536 struct fib_info *fi = fen_info->fi; in mlxsw_sp_fib4_entry_type_set()
/Linux-v5.10/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()
2268 int dst_len, struct fib_info *fi, u32 tb_id, in ofdpa_port_fib_ipv4()
/Linux-v5.10/drivers/net/netdevsim/
Dfib.c66 struct fib_info *fi;
/Linux-v5.10/Documentation/networking/
Dswitchdev.rst342 struct fib_info *fi;