Lines Matching defs:frn
1330 static void nl_fib_lookup(struct net *net, struct fib_result_nl *frn)
1335 .flowi4_mark = frn->fl_mark,
1336 .daddr = frn->fl_addr,
1337 .flowi4_tos = frn->fl_tos,
1338 .flowi4_scope = frn->fl_scope,
1344 tb = fib_get_table(net, frn->tb_id_in);
1346 frn->err = -ENOENT;
1350 frn->tb_id = tb->tb_id;
1351 frn->err = fib_table_lookup(tb, &fl4, &res, FIB_LOOKUP_NOREF);
1353 if (!frn->err) {
1354 frn->prefixlen = res.prefixlen;
1355 frn->nh_sel = res.nh_sel;
1356 frn->type = res.type;
1357 frn->scope = res.scope;
1368 struct fib_result_nl *frn;
1374 if (skb->len < nlmsg_total_size(sizeof(*frn)) ||
1376 nlmsg_len(nlh) < sizeof(*frn))
1384 frn = (struct fib_result_nl *) nlmsg_data(nlh);
1385 nl_fib_lookup(net, frn);