Lines Matching defs:frn
842 static void nl_fib_lookup(struct fib_result_nl *frn, struct fib_table *tb )
846 struct flowi fl = { .mark = frn->fl_mark,
847 .nl_u = { .ip4_u = { .daddr = frn->fl_addr,
848 .tos = frn->fl_tos,
849 .scope = frn->fl_scope } } };
855 frn->err = -ENOENT;
859 frn->tb_id = tb->tb_id;
860 frn->err = fib_table_lookup(tb, &fl, &res);
862 if (!frn->err) {
863 frn->prefixlen = res.prefixlen;
864 frn->nh_sel = res.nh_sel;
865 frn->type = res.type;
866 frn->scope = res.scope;
876 struct fib_result_nl *frn;
884 nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*frn)))
892 frn = (struct fib_result_nl *) NLMSG_DATA(nlh);
893 tb = fib_get_table(net, frn->tb_id_in);
895 nl_fib_lookup(frn, tb);