Lines Matching refs:frn
1039 static void nl_fib_lookup(struct net *net, struct fib_result_nl *frn) in nl_fib_lookup() argument
1044 .flowi4_mark = frn->fl_mark, in nl_fib_lookup()
1045 .daddr = frn->fl_addr, in nl_fib_lookup()
1046 .flowi4_tos = frn->fl_tos, in nl_fib_lookup()
1047 .flowi4_scope = frn->fl_scope, in nl_fib_lookup()
1053 tb = fib_get_table(net, frn->tb_id_in); in nl_fib_lookup()
1055 frn->err = -ENOENT; in nl_fib_lookup()
1059 frn->tb_id = tb->tb_id; in nl_fib_lookup()
1060 frn->err = fib_table_lookup(tb, &fl4, &res, FIB_LOOKUP_NOREF); in nl_fib_lookup()
1062 if (!frn->err) { in nl_fib_lookup()
1063 frn->prefixlen = res.prefixlen; in nl_fib_lookup()
1064 frn->nh_sel = res.nh_sel; in nl_fib_lookup()
1065 frn->type = res.type; in nl_fib_lookup()
1066 frn->scope = res.scope; in nl_fib_lookup()
1077 struct fib_result_nl *frn; in nl_fib_input() local
1084 nlmsg_len(nlh) < sizeof(*frn)) in nl_fib_input()
1092 frn = (struct fib_result_nl *) nlmsg_data(nlh); in nl_fib_input()
1093 nl_fib_lookup(net, frn); in nl_fib_input()