Lines Matching refs:fl4
758 struct flowi4 fl4 = { in fib_check_nh() local
766 if (fl4.flowi4_scope < RT_SCOPE_LINK) in fib_check_nh()
767 fl4.flowi4_scope = RT_SCOPE_LINK; in fib_check_nh()
773 err = fib_table_lookup(tbl, &fl4, &res, in fib_check_nh()
782 err = fib_lookup(net, &fl4, &res, in fib_check_nh()
1583 struct flowi4 *fl4, int mp_hash) in fib_select_path() argument
1586 if (res->fi->fib_nhs > 1 && fl4->flowi4_oif == 0) { in fib_select_path()
1588 mp_hash = get_hash_from_flowi4(fl4) >> 1; in fib_select_path()
1596 res->type == RTN_UNICAST && !fl4->flowi4_oif) in fib_select_path()
1597 fib_select_default(fl4, res); in fib_select_path()
1599 if (!fl4->saddr) in fib_select_path()
1600 fl4->saddr = FIB_RES_PREFSRC(net, *res); in fib_select_path()