Lines Matching refs:fib_info
63 * is not set in a fib_info. The logic within can reference fib_nh.
235 struct fib_info *fi = container_of(head, struct fib_info, rcu);
250 void free_fib_info(struct fib_info *fi)
253 pr_warn("Freeing alive fib_info %p\n", fi);
261 void fib_release_info(struct fib_info *fi)
288 static inline int nh_comp(struct fib_info *fi, struct fib_info *ofi)
357 static inline unsigned int fib_info_hashfn(struct fib_info *fi)
377 static struct fib_info *fib_find_info_nh(struct net *net,
381 struct fib_info *fi;
409 static struct fib_info *fib_find_info(struct fib_info *nfi)
412 struct fib_info *fi;
465 static inline size_t fib_nlmsg_size(struct fib_info *fi)
549 static int fib_detect_death(struct fib_info *fi, int order,
550 struct fib_info **last_resort, int *last_idx,
689 /* only called when fib_nh is integrated into fib_info */
690 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,
800 /* only called when fib_nh is integrated into fib_info */
801 static void fib_rebalance(struct fib_info *fi)
841 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,
876 int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi,
1009 bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi)
1308 struct fib_info *fi;
1324 struct fib_info *fi;
1405 struct fib_info *fib_create_info(struct fib_config *cfg,
1409 struct fib_info *fi = NULL;
1411 struct fib_info *ofi;
1760 static int fib_add_multipath(struct sk_buff *skb, struct fib_info *fi)
1793 static int fib_add_multipath(struct sk_buff *skb, struct fib_info *fi)
1803 struct fib_info *fi = fri->fi;
1900 struct fib_info *fi;
2001 * only used when fib_nh is built into fib_info
2006 struct fib_info *prev_fi = NULL;
2015 struct fib_info *fi = nh->nh_parent;
2071 struct fib_info *fi = NULL, *last_resort = NULL;
2081 struct fib_info *next_fi = fa->fa_info;
2149 * only used when fib_nh is built into fib_info
2153 struct fib_info *prev_fi;
2173 struct fib_info *fi = nh->nh_parent;
2238 struct fib_info *fi = res->fi;