Lines Matching refs:fib_info
65 * 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 size_t fib_nlmsg_size(struct fib_info *fi)
550 static int fib_detect_death(struct fib_info *fi, int order,
551 struct fib_info **last_resort, int *last_idx,
690 /* only called when fib_nh is integrated into fib_info */
691 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,
801 /* only called when fib_nh is integrated into fib_info */
802 static void fib_rebalance(struct fib_info *fi)
842 static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,
877 int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi,
1010 bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi)
1290 struct fib_info *fi;
1307 struct fib_info *fi;
1385 struct fib_info *fib_create_info(struct fib_config *cfg,
1389 struct fib_info *fi = NULL;
1391 struct fib_info *ofi;
1741 static int fib_add_multipath(struct sk_buff *skb, struct fib_info *fi)
1774 static int fib_add_multipath(struct sk_buff *skb, struct fib_info *fi)
1784 struct fib_info *fi = fri->fi;
1881 struct fib_info *fi;
1985 * only used when fib_nh is built into fib_info
1990 struct fib_info *prev_fi = NULL;
1999 struct fib_info *fi = nh->nh_parent;
2055 struct fib_info *fi = NULL, *last_resort = NULL;
2065 struct fib_info *next_fi = fa->fa_info;
2134 * only used when fib_nh is built into fib_info
2138 struct fib_info *prev_fi;
2158 struct fib_info *fi = nh->nh_parent;
2223 struct fib_info *fi = res->fi;