Lines Matching refs:nfi
407 static struct fib_info *fib_find_info(struct fib_info *nfi) in fib_find_info() argument
413 hash = fib_info_hashfn(nfi); in fib_find_info()
417 if (!net_eq(fi->fib_net, nfi->fib_net)) in fib_find_info()
419 if (fi->fib_nhs != nfi->fib_nhs) in fib_find_info()
421 if (nfi->fib_protocol == fi->fib_protocol && in fib_find_info()
422 nfi->fib_scope == fi->fib_scope && in fib_find_info()
423 nfi->fib_prefsrc == fi->fib_prefsrc && in fib_find_info()
424 nfi->fib_priority == fi->fib_priority && in fib_find_info()
425 nfi->fib_type == fi->fib_type && in fib_find_info()
426 nfi->fib_tb_id == fi->fib_tb_id && in fib_find_info()
427 memcmp(nfi->fib_metrics, fi->fib_metrics, in fib_find_info()
429 !((nfi->fib_flags ^ fi->fib_flags) & ~RTNH_COMPARE_MASK) && in fib_find_info()
430 nh_comp(fi, nfi) == 0) in fib_find_info()