Home
last modified time | relevance | path

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

/Linux-v5.4/net/ipv4/
Dfib_lookup.h12 struct fib_info *fa_info;
32 void fib_release_info(struct fib_info *);
33 struct fib_info *fib_create_info(struct fib_config *cfg,
35 int fib_nh_match(struct fib_config *cfg, struct fib_info *fi,
37 bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi);
39 u8 type, __be32 dst, int dst_len, u8 tos, struct fib_info *fi,
45 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.c1128 struct fib_info *fi; in fib_table_insert()
1193 struct fib_info *fi_drop; in fib_table_insert()
1442 struct fib_info *fi = fa->fa_info; in fib_table_lookup()
1575 struct fib_info *fi = fa->fa_info; in fib_table_delete()
1907 struct fib_info *fi = fa->fa_info; in fib_table_flush()
1984 struct fib_info *fi = fa->fa_info; in __fib_info_notify_update()
2024 struct fib_info *fi = fa->fa_info; in fib_leaf_notify()
2106 struct fib_info *fi = fa->fa_info; in fn_trie_dump_leaf()
2745 static unsigned int fib_flag_trans(int type, __be32 mask, struct fib_info *fi) in fib_flag_trans()
2787 struct fib_info *fi = fa->fa_info; in fib_route_seq_show()
Dnexthop.c664 struct fib_info *fi; in fib_check_nh_list()
773 struct fib_info *fi; in __remove_nexthop_fib()
898 struct fib_info *fi; in __nexthop_replace_notify()
Droute.c1395 struct fib_info *fi = res->fi; in ip_mtu_from_fib_result()
1563 struct fib_info *fi, u16 type, u32 itag, in rt_set_nexthop()
2317 struct fib_info *fi = res->fi; in __mkroute_output()
2915 u32 table_id, struct fib_info *fi, in fib_dump_info_fnhe()
Dfib_frontend.c318 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev) in fib_info_nh_uses_dev()
/Linux-v5.4/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
211 struct fib_info *fi;
409 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev);
483 void free_fib_info(struct fib_info *fi);
485 static inline void fib_info_hold(struct fib_info *fi) in fib_info_hold()
490 static inline void fib_info_put(struct fib_info *fi) in fib_info_put()
Dnexthop.h229 static inline unsigned int fib_info_num_path(const struct fib_info *fi) in fib_info_num_path()
240 static inline struct fib_nh_common *fib_info_nhc(struct fib_info *fi, int nhsel) in fib_info_nhc()
249 static inline struct fib_nh *fib_info_nh(struct fib_info *fi, int nhsel) in fib_info_nh()
Droute.h47 struct fib_info;
236 u32 table_id, struct fib_info *fi,
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dlag_mp.h12 struct fib_info *mfi; /* used in tracking fib events */
Dlag_mp.c111 struct fib_info *fi) in mlx5_lag_fib_route_event()
167 struct fib_info *fi) in mlx5_lag_fib_nexthop_event()
249 struct fib_info *fi; in mlx5_lag_fib_event()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2831 static struct fib_info *
2840 struct fib_info *fi;
2917 struct fib_info *fi; in mlxsw_sp_nexthop_group_hash_obj()
3002 struct fib_info *fi) in mlxsw_sp_nexthop4_group_lookup()
3870 struct fib_info *fi) in mlxsw_sp_fi_is_gateway()
3879 mlxsw_sp_nexthop4_group_create(struct mlxsw_sp *mlxsw_sp, struct fib_info *fi) in mlxsw_sp_nexthop4_group_create()
3942 struct fib_info *fi) in mlxsw_sp_nexthop4_group_get()
4342 struct fib_info *fi = fen_info->fi; in mlxsw_sp_fib4_entry_type_set()
/Linux-v5.4/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.4/Documentation/networking/
Dswitchdev.txt328 struct fib_info *fi;