Lines Matching defs:ofi
273 static inline int nh_comp(struct fib_info *fi, struct fib_info *ofi)
277 if (fi->nh || ofi->nh)
278 return nexthop_cmp(fi->nh, ofi->nh) ? 0 : -1;
280 if (ofi->fib_nhs == 0)
284 onh = fib_info_nh(ofi, nhsel);
1385 struct fib_info *ofi;
1562 ofi = fib_find_info(fi);
1563 if (ofi) {
1567 refcount_inc(&ofi->fib_treeref);
1568 return ofi;