Lines Matching refs:tb
268 int fib_table_lookup(struct fib_table *tb, const struct flowi4 *flp,
279 void fib_free_table(struct fib_table *tb);
308 struct fib_table *tb; in fib_lookup() local
313 tb = fib_get_table(net, RT_TABLE_MAIN); in fib_lookup()
314 if (tb) in fib_lookup()
315 err = fib_table_lookup(tb, flp, res, flags | FIB_LOOKUP_NOREF); in fib_lookup()
366 struct fib_table *tb; in fib_lookup() local
377 tb = rcu_dereference_rtnl(net->ipv4.fib_main); in fib_lookup()
378 if (tb) in fib_lookup()
379 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()
384 tb = rcu_dereference_rtnl(net->ipv4.fib_default); in fib_lookup()
385 if (tb) in fib_lookup()
386 err = fib_table_lookup(tb, flp, res, flags); in fib_lookup()