Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/ipv4/
H A 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()
H A Dfib_semantics.c234 struct fib_info *fi = container_of(head, struct fib_info, rcu); in free_fib_info_rcu()
249 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()
286 static inline int nh_comp(struct fib_info *fi, struct fib_info *ofi) in nh_comp()
355 static inline unsigned int fib_info_hashfn(struct fib_info *fi) in fib_info_hashfn()
375 static struct fib_info *fib_find_info_nh(struct net *net, in fib_find_info_nh()
379 struct fib_info *fi; in fib_find_info_nh()
407 static struct fib_info *fib_find_info(struct fib_info *nfi) in fib_find_info()
410 struct fib_info *fi; in fib_find_info()
463 static inline size_t fib_nlmsg_size(struct fib_info *fi) in fib_nlmsg_size()
[all …]
H A Dfib_trie.c1175 struct fib_info *fi; in fib_table_insert()
1240 struct fib_info *fi_drop; in fib_table_insert()
1527 struct fib_info *fi = fa->fa_info; in fib_table_lookup()
1691 struct fib_info *fi = fa->fa_info; in fib_table_delete()
2022 struct fib_info *fi = fa->fa_info; in fib_table_flush()
2097 struct fib_info *fi = fa->fa_info; in __fib_info_notify_update()
2141 struct fib_info *fi = fa->fa_info; in fib_leaf_notify()
2241 struct fib_info *fi = fa->fa_info; in fn_trie_dump_leaf()
2895 static unsigned int fib_flag_trans(int type, __be32 mask, struct fib_info *fi) in fib_flag_trans()
2937 struct fib_info *fi = fa->fa_info; in fib_route_seq_show()
H A 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()
H A Droute.c1442 struct fib_info *fi = res->fi; in ip_mtu_from_fib_result()
1610 struct fib_info *fi, u16 type, u32 itag, in rt_set_nexthop()
2416 struct fib_info *fi = res->fi; in __mkroute_output()
3030 u32 table_id, struct fib_info *fi, in fib_dump_info_fnhe()
H A Dfib_frontend.c308 bool fib_info_nh_uses_dev(struct fib_info *fi, const struct net_device *dev) in fib_info_nh_uses_dev()
/OK3568_Linux_fs/kernel/include/net/
H A 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()
H A 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()
H A Droute.h47 struct fib_info;
246 u32 table_id, struct fib_info *fi,
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Dlag_mp.c112 struct fib_info *fi) in mlx5_lag_fib_route_event()
179 struct fib_info *fi) in mlx5_lag_fib_nexthop_event()
259 struct fib_info *fi; in mlx5_lag_fib_event()
H A Dlag_mp.h18 struct fib_info *mfi; /* used in tracking fib events */
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c2906 static struct fib_info *
2915 struct fib_info *fi;
2992 struct fib_info *fi; in mlxsw_sp_nexthop_group_hash_obj()
3081 struct fib_info *fi) in mlxsw_sp_nexthop4_group_lookup()
4002 struct fib_info *fi) in mlxsw_sp_fi_is_gateway()
4011 mlxsw_sp_nexthop4_group_create(struct mlxsw_sp *mlxsw_sp, struct fib_info *fi) in mlxsw_sp_nexthop4_group_create()
4074 struct fib_info *fi) in mlxsw_sp_nexthop4_group_get()
4162 struct fib_info *fi = mlxsw_sp_nexthop4_group_fi(fib_entry->nh_group); in mlxsw_sp_fib4_entry_hw_flags_set()
4187 struct fib_info *fi = mlxsw_sp_nexthop4_group_fi(fib_entry->nh_group); in mlxsw_sp_fib4_entry_hw_flags_clear()
4539 struct fib_info *fi = fen_info->fi; in mlxsw_sp_fib4_entry_type_set()
/OK3568_Linux_fs/kernel/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()
2268 int dst_len, struct fib_info *fi, u32 tb_id, in ofdpa_port_fib_ipv4()
/OK3568_Linux_fs/kernel/drivers/net/netdevsim/
H A Dfib.c66 struct fib_info *fi;
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dswitchdev.rst342 struct fib_info *fi;