Lines Matching refs:frn
984 static void nl_fib_lookup(struct net *net, struct fib_result_nl *frn) in nl_fib_lookup() argument
989 .flowi4_mark = frn->fl_mark, in nl_fib_lookup()
990 .daddr = frn->fl_addr, in nl_fib_lookup()
991 .flowi4_tos = frn->fl_tos, in nl_fib_lookup()
992 .flowi4_scope = frn->fl_scope, in nl_fib_lookup()
998 tb = fib_get_table(net, frn->tb_id_in); in nl_fib_lookup()
1000 frn->err = -ENOENT; in nl_fib_lookup()
1004 frn->tb_id = tb->tb_id; in nl_fib_lookup()
1005 frn->err = fib_table_lookup(tb, &fl4, &res, FIB_LOOKUP_NOREF); in nl_fib_lookup()
1007 if (!frn->err) { in nl_fib_lookup()
1008 frn->prefixlen = res.prefixlen; in nl_fib_lookup()
1009 frn->nh_sel = res.nh_sel; in nl_fib_lookup()
1010 frn->type = res.type; in nl_fib_lookup()
1011 frn->scope = res.scope; in nl_fib_lookup()
1022 struct fib_result_nl *frn; in nl_fib_input() local
1029 nlmsg_len(nlh) < sizeof(*frn)) in nl_fib_input()
1037 frn = (struct fib_result_nl *) nlmsg_data(nlh); in nl_fib_input()
1038 nl_fib_lookup(net, frn); in nl_fib_input()