Lines Matching refs:tb
504 struct dn_fib_table *tb; in dn_fib_rtm_delroute() local
519 tb = dn_fib_get_table(rtm_get_table(attrs, r->rtm_table), 0); in dn_fib_rtm_delroute()
520 if (!tb) in dn_fib_rtm_delroute()
523 return tb->delete(tb, r, attrs, nlh, &NETLINK_CB(skb)); in dn_fib_rtm_delroute()
529 struct dn_fib_table *tb; in dn_fib_rtm_newroute() local
544 tb = dn_fib_get_table(rtm_get_table(attrs, r->rtm_table), 1); in dn_fib_rtm_newroute()
545 if (!tb) in dn_fib_rtm_newroute()
548 return tb->insert(tb, r, attrs, nlh, &NETLINK_CB(skb)); in dn_fib_rtm_newroute()
553 struct dn_fib_table *tb; in fib_magic() local
585 tb = dn_fib_get_table(RT_MIN_TABLE, 1); in fib_magic()
587 tb = dn_fib_get_table(RT_TABLE_LOCAL, 1); in fib_magic()
589 if (tb == NULL) in fib_magic()
599 req.rtm.rtm_table = tb->n; in fib_magic()
605 tb->insert(tb, &req.rtm, attrs, &req.nlh, NULL); in fib_magic()
607 tb->delete(tb, &req.rtm, attrs, &req.nlh, NULL); in fib_magic()