Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dfib_semantics.c274 static inline int nh_comp(struct fib_info *fi, struct fib_info *ofi) in nh_comp() argument
278 if (fi->nh || ofi->nh) in nh_comp()
279 return nexthop_cmp(fi->nh, ofi->nh) ? 0 : -1; in nh_comp()
281 if (ofi->fib_nhs == 0) in nh_comp()
285 onh = fib_info_nh(ofi, nhsel); in nh_comp()
1355 struct fib_info *ofi; in fib_create_info() local
1532 ofi = fib_find_info(fi); in fib_create_info()
1533 if (ofi) { in fib_create_info()
1537 refcount_inc(&ofi->fib_treeref); in fib_create_info()
1538 return ofi; in fib_create_info()