Lines Matching defs:frn
1339 static void nl_fib_lookup(struct net *net, struct fib_result_nl *frn)
1344 .flowi4_mark = frn->fl_mark,
1345 .daddr = frn->fl_addr,
1346 .flowi4_tos = frn->fl_tos,
1347 .flowi4_scope = frn->fl_scope,
1353 tb = fib_get_table(net, frn->tb_id_in);
1355 frn->err = -ENOENT;
1359 frn->tb_id = tb->tb_id;
1360 frn->err = fib_table_lookup(tb, &fl4, &res, FIB_LOOKUP_NOREF);
1362 if (!frn->err) {
1363 frn->prefixlen = res.prefixlen;
1364 frn->nh_sel = res.nh_sel;
1365 frn->type = res.type;
1366 frn->scope = res.scope;
1377 struct fib_result_nl *frn;
1383 if (skb->len < nlmsg_total_size(sizeof(*frn)) ||
1385 nlmsg_len(nlh) < sizeof(*frn))
1393 frn = nlmsg_data(nlh);
1394 nl_fib_lookup(net, frn);