tb_id 567 drivers/net/ethernet/mellanox/mlxsw/spectrum.h int mlxsw_sp_router_tb_id_vr_id(struct mlxsw_sp *mlxsw_sp, u32 tb_id, tb_id 957 drivers/net/ethernet/mellanox/mlxsw/spectrum.h u32 tb_id, __be32 addr); tb_id 89 drivers/net/ethernet/mellanox/mlxsw/spectrum_mr.h u32 tb_id, tb_id 724 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c u32 tb_id, __be32 addr) tb_id 731 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve.c config->ul_sip.addr4 == addr && config->ul_tb_id == tb_id) tb_id 406 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c u32 tb_id; tb_id 441 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c u32 tb_id; /* kernel fib table id */ tb_id 731 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static u32 mlxsw_sp_fix_tb_id(u32 tb_id) tb_id 734 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (tb_id == RT_TABLE_LOCAL || tb_id == RT_TABLE_DEFAULT) tb_id 735 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c tb_id = RT_TABLE_MAIN; tb_id 736 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return tb_id; tb_id 740 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c u32 tb_id) tb_id 745 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c tb_id = mlxsw_sp_fix_tb_id(tb_id); tb_id 749 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (mlxsw_sp_vr_is_used(vr) && vr->tb_id == tb_id) tb_id 755 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c int mlxsw_sp_router_tb_id_vr_id(struct mlxsw_sp *mlxsw_sp, u32 tb_id, tb_id 760 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, tb_id); tb_id 781 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c u32 tb_id, tb_id 820 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr->tb_id = tb_id; tb_id 845 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static struct mlxsw_sp_vr *mlxsw_sp_vr_get(struct mlxsw_sp *mlxsw_sp, u32 tb_id, tb_id 850 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c tb_id = mlxsw_sp_fix_tb_id(tb_id); tb_id 851 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, tb_id); tb_id 853 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_create(mlxsw_sp, tb_id, extack); tb_id 1156 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_router_ip2me_fib_entry_find(struct mlxsw_sp *mlxsw_sp, u32 tb_id, tb_id 1170 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, tb_id); tb_id 4340 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c u32 tb_id = mlxsw_sp_fix_tb_id(fen_info->tb_id); tb_id 4354 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (mlxsw_sp_nve_ipv4_route_is_decap(mlxsw_sp, tb_id, tb_id 4412 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib4_entry->tb_id = fen_info->tb_id; tb_id 4442 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, fen_info->tb_id); tb_id 4454 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fib4_entry->tb_id == fen_info->tb_id && tb_id 4629 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_fib_node_get(struct mlxsw_sp *mlxsw_sp, u32 tb_id, const void *addr, tb_id 4638 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_get(mlxsw_sp, tb_id, NULL); tb_id 4685 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fib4_entry->tb_id > new4_entry->tb_id) tb_id 4687 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fib4_entry->tb_id != new4_entry->tb_id) tb_id 4711 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (fib4_entry->tb_id != new4_entry->tb_id || tb_id 4745 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c if (new4_entry->tb_id > last->tb_id) tb_id 4871 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c fib_node = mlxsw_sp_fib_node_get(mlxsw_sp, fen_info->tb_id, tb_id 5725 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_get(mlxsw_sp, men_info->tb_id, NULL); tb_id 5742 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, men_info->tb_id); tb_id 5762 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_get(mlxsw_sp, ven_info->tb_id, NULL); tb_id 5783 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_find(mlxsw_sp, ven_info->tb_id); tb_id 6511 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c u32 tb_id = l3mdev_fib_table(params->dev); tb_id 6523 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_get(mlxsw_sp, tb_id ? : RT_TABLE_MAIN, extack); tb_id 7775 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c mlxsw_sp_ul_rif_get(struct mlxsw_sp *mlxsw_sp, u32 tb_id, tb_id 7781 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c vr = mlxsw_sp_vr_get(mlxsw_sp, tb_id, extack); tb_id 2268 drivers/net/ethernet/rocker/rocker_ofdpa.c int dst_len, struct fib_info *fi, u32 tb_id, tb_id 2748 drivers/net/ethernet/rocker/rocker_ofdpa.c fen_info->tb_id, 0); tb_id 2771 drivers/net/ethernet/rocker/rocker_ofdpa.c fen_info->tb_id, OFDPA_OP_FLAG_REMOVE); tb_id 50 drivers/net/vrf.c u32 tb_id; tb_id 518 drivers/net/vrf.c vrf->fib6_table = fib6_new_table(net, vrf->tb_id); tb_id 740 drivers/net/vrf.c if (!fib_new_table(dev_net(dev), vrf->tb_id)) tb_id 895 drivers/net/vrf.c return vrf->tb_id; tb_id 1338 drivers/net/vrf.c vrf->tb_id = nla_get_u32(data[IFLA_VRF_TABLE]); tb_id 1339 drivers/net/vrf.c if (vrf->tb_id == RT_TABLE_UNSPEC) { tb_id 1376 drivers/net/vrf.c return nla_put_u32(skb, IFLA_VRF_TABLE, vrf->tb_id); tb_id 1391 drivers/net/vrf.c if (nla_put_u32(skb, IFLA_VRF_PORT_TABLE, vrf->tb_id)) tb_id 46 include/linux/mroute_base.h u32 tb_id; tb_id 54 include/linux/mroute_base.h unsigned short vif_index, u32 tb_id) tb_id 64 include/linux/mroute_base.h .tb_id = tb_id, tb_id 74 include/linux/mroute_base.h unsigned short vif_index, u32 tb_id, tb_id 85 include/linux/mroute_base.h .tb_id = tb_id, tb_id 172 include/linux/mroute_base.h u32 tb_id; tb_id 179 include/linux/mroute_base.h struct mr_mfc *mfc, u32 tb_id) tb_id 187 include/linux/mroute_base.h .tb_id = tb_id tb_id 196 include/linux/mroute_base.h struct mr_mfc *mfc, u32 tb_id, tb_id 205 include/linux/mroute_base.h .tb_id = tb_id tb_id 185 include/net/ip_fib.h unsigned char tb_id; /* Results */ tb_id 214 include/net/ip_fib.h u32 tb_id; tb_id 236 include/net/ip_fib.h u32 tb_id; tb_id 115 include/net/l3mdev.h u32 tb_id; tb_id 118 include/net/l3mdev.h tb_id = l3mdev_fib_table_rcu(dev); tb_id 121 include/net/l3mdev.h return tb_id; tb_id 213 include/net/route.h unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id); tb_id 15 include/trace/events/fib.h TP_PROTO(u32 tb_id, const struct flowi4 *flp, tb_id 18 include/trace/events/fib.h TP_ARGS(tb_id, flp, nhc, err), tb_id 21 include/trace/events/fib.h __field( u32, tb_id ) tb_id 44 include/trace/events/fib.h __entry->tb_id = tb_id; tb_id 95 include/trace/events/fib.h __entry->tb_id, __entry->oif, __entry->iif, __entry->proto, tb_id 21 include/trace/events/fib6.h __field( u32, tb_id ) tb_id 41 include/trace/events/fib6.h __entry->tb_id = table->tb6_id; tb_id 83 include/trace/events/fib6.h __entry->tb_id, __entry->oif, __entry->iif, __entry->proto, tb_id 302 net/decnet/dn_table.c u32 tb_id, u8 type, u8 scope, void *dst, int dst_len, tb_id 317 net/decnet/dn_table.c rtm->rtm_table = tb_id; tb_id 323 net/decnet/dn_table.c if (nla_put_u32(skb, RTA_TABLE, tb_id) < 0) tb_id 382 net/decnet/dn_table.c static void dn_rtmsg_fib(int event, struct dn_fib_node *f, int z, u32 tb_id, tb_id 393 net/decnet/dn_table.c err = dn_fib_dump_info(skb, portid, nlh->nlmsg_seq, event, tb_id, tb_id 465 net/ipv4/af_inet.c u32 tb_id = RT_TABLE_LOCAL; tb_id 478 net/ipv4/af_inet.c tb_id = l3mdev_fib_table_by_index(net, sk->sk_bound_dev_if) ? : tb_id; tb_id 479 net/ipv4/af_inet.c chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); tb_id 129 net/ipv4/fib_frontend.c if (tb->tb_id == id) tb_id 145 net/ipv4/fib_frontend.c switch (new->tb_id) { tb_id 217 net/ipv4/fib_frontend.c __be32 addr, u32 tb_id) tb_id 231 net/ipv4/fib_frontend.c table = fib_get_table(net, tb_id); tb_id 246 net/ipv4/fib_frontend.c unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) tb_id 248 net/ipv4/fib_frontend.c return __inet_dev_addr_type(net, NULL, addr, tb_id); tb_id 1063 net/ipv4/fib_frontend.c u32 tb_id = l3mdev_fib_table(ifa->ifa_dev->dev); tb_id 1079 net/ipv4/fib_frontend.c if (!tb_id) tb_id 1080 net/ipv4/fib_frontend.c tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; tb_id 1082 net/ipv4/fib_frontend.c tb = fib_new_table(net, tb_id); tb_id 1086 net/ipv4/fib_frontend.c cfg.fc_table = tb->tb_id; tb_id 1348 net/ipv4/fib_frontend.c frn->tb_id = tb->tb_id; tb_id 17 net/ipv4/fib_lookup.h u32 tb_id; tb_id 38 net/ipv4/fib_lookup.h int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event, u32 tb_id, tb_id 42 net/ipv4/fib_lookup.h u32 tb_id, const struct nl_info *info, unsigned int nlm_flags); tb_id 110 net/ipv4/fib_rules.c u32 tb_id; tb_id 129 net/ipv4/fib_rules.c tb_id = fib_rule_get_table(rule, arg); tb_id 130 net/ipv4/fib_rules.c tbl = fib_get_table(rule->fr_net, tb_id); tb_id 247 net/ipv4/fib_rules.c rule->table = table->tb_id; tb_id 504 net/ipv4/fib_semantics.c int dst_len, u32 tb_id, const struct nl_info *info, tb_id 515 net/ipv4/fib_semantics.c err = fib_dump_info(skb, info->portid, seq, event, tb_id, tb_id 1317 net/ipv4/fib_semantics.c u32 tb_id = cfg->fc_table; tb_id 1320 net/ipv4/fib_semantics.c if (tb_id == RT_TABLE_MAIN) tb_id 1321 net/ipv4/fib_semantics.c tb_id = RT_TABLE_LOCAL; tb_id 1324 net/ipv4/fib_semantics.c fib_prefsrc, tb_id); tb_id 1326 net/ipv4/fib_semantics.c if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) { tb_id 1728 net/ipv4/fib_semantics.c u32 tb_id, u8 type, __be32 dst, int dst_len, u8 tos, tb_id 1744 net/ipv4/fib_semantics.c if (tb_id < 256) tb_id 1745 net/ipv4/fib_semantics.c rtm->rtm_table = tb_id; tb_id 1748 net/ipv4/fib_semantics.c if (nla_put_u32(skb, RTA_TABLE, tb_id)) tb_id 1817 net/ipv4/fib_semantics.c int tb_id = l3mdev_fib_table(dev) ? : RT_TABLE_MAIN; tb_id 1826 net/ipv4/fib_semantics.c fi->fib_tb_id != tb_id) tb_id 2008 net/ipv4/fib_semantics.c if (fa->tb_id != tb->tb_id) tb_id 87 net/ipv4/fib_trie.c .tb_id = fa->tb_id, tb_id 104 net/ipv4/fib_trie.c .tb_id = fa->tb_id, tb_id 983 net/ipv4/fib_trie.c u8 tos, u32 prio, u32 tb_id) tb_id 995 net/ipv4/fib_trie.c if (fa->tb_id > tb_id) tb_id 997 net/ipv4/fib_trie.c if (fa->tb_id != tb_id) tb_id 1083 net/ipv4/fib_trie.c (new->tb_id > last->tb_id)) tb_id 1140 net/ipv4/fib_trie.c pr_debug("Insert table=%u %08x/%d\n", tb->tb_id, key, plen); tb_id 1150 net/ipv4/fib_trie.c tb->tb_id) : NULL; tb_id 1180 net/ipv4/fib_trie.c (fa->tb_id != tb->tb_id) || tb_id 1215 net/ipv4/fib_trie.c new_fa->tb_id = tb->tb_id; tb_id 1226 net/ipv4/fib_trie.c tb->tb_id, &cfg->fc_nlinfo, nlflags); tb_id 1267 net/ipv4/fib_trie.c new_fa->tb_id = tb->tb_id; tb_id 1283 net/ipv4/fib_trie.c rtmsg_fib(RTM_NEWROUTE, htonl(key), new_fa, plen, new_fa->tb_id, tb_id 1330 net/ipv4/fib_trie.c trace_fib_table_lookup(tb->tb_id, flp, NULL, -EAGAIN); tb_id 1416 net/ipv4/fib_trie.c trace_fib_table_lookup(tb->tb_id, flp, tb_id 1462 net/ipv4/fib_trie.c trace_fib_table_lookup(tb->tb_id, flp, NULL, err); tb_id 1503 net/ipv4/fib_trie.c trace_fib_table_lookup(tb->tb_id, flp, nhc, err); tb_id 1567 net/ipv4/fib_trie.c fa = fib_find_alias(&l->leaf, slen, tos, 0, tb->tb_id); tb_id 1578 net/ipv4/fib_trie.c (fa->tb_id != tb->tb_id) || tb_id 1601 net/ipv4/fib_trie.c rtmsg_fib(RTM_DELROUTE, htonl(key), fa_to_delete, plen, tb->tb_id, tb_id 1757 net/ipv4/fib_trie.c if (local_tb->tb_id != fa->tb_id) tb_id 1840 net/ipv4/fib_trie.c if (tb->tb_id != fa->tb_id) { tb_id 1909 net/ipv4/fib_trie.c if (!fi || tb->tb_id != fa->tb_id || tb_id 1986 net/ipv4/fib_trie.c if (!fi || !fi->nh_updated || fa->tb_id != tb->tb_id) tb_id 1990 net/ipv4/fib_trie.c KEYLENGTH - fa->fa_slen, tb->tb_id, tb_id 2032 net/ipv4/fib_trie.c if (tb->tb_id != fa->tb_id) tb_id 2113 net/ipv4/fib_trie.c if (tb->tb_id != fa->tb_id) tb_id 2135 net/ipv4/fib_trie.c tb->tb_id, fa->fa_type, tb_id 2147 net/ipv4/fib_trie.c err = fib_dump_info_fnhe(skb, cb, tb->tb_id, fi, tb_id 2235 net/ipv4/fib_trie.c tb->tb_id = id; tb_id 2439 net/ipv4/fib_trie.c if (tb->tb_id == RT_TABLE_LOCAL) tb_id 2441 net/ipv4/fib_trie.c else if (tb->tb_id == RT_TABLE_MAIN) tb_id 2444 net/ipv4/fib_trie.c seq_printf(seq, "Id %d:\n", tb->tb_id); tb_id 2535 net/ipv4/fib_trie.c h = tb->tb_id & (FIB_TABLE_HASHSZ - 1); tb_id 2804 net/ipv4/fib_trie.c if (fa->tb_id != tb->tb_id) tb_id 648 net/ipv4/ipmr.c vifi_t vif_index, u32 tb_id) tb_id 651 net/ipv4/ipmr.c vif, vif_index, tb_id, tb_id 657 net/ipv4/ipmr.c struct mfc_cache *mfc, u32 tb_id) tb_id 660 net/ipv4/ipmr.c &mfc->_c, tb_id, &net->ipv4.ipmr_seq); tb_id 1180 net/ipv4/nexthop.c u32 tb_id = l3mdev_fib_table(cfg->dev); tb_id 1190 net/ipv4/nexthop.c err = fib_check_nh(net, fib_nh, tb_id, 0, extack); tb_id 719 net/ipv4/raw.c u32 tb_id = RT_TABLE_LOCAL; tb_id 727 net/ipv4/raw.c tb_id = l3mdev_fib_table_by_index(sock_net(sk), tb_id 728 net/ipv4/raw.c sk->sk_bound_dev_if) ? : tb_id; tb_id 731 net/ipv4/raw.c tb_id); tb_id 3176 net/ipv4/route.c table_id = res.table ? res.table->tb_id : 0; tb_id 2411 net/ipv6/addrconf.c u32 tb_id = l3mdev_fib_table(dev) ? : RT6_TABLE_PREFIX; tb_id 2413 net/ipv6/addrconf.c table = fib6_get_table(dev_net(dev), tb_id); tb_id 161 net/ipv6/fib6_rules.c u32 tb_id; tb_id 175 net/ipv6/fib6_rules.c tb_id = fib_rule_get_table(rule, arg); tb_id 176 net/ipv6/fib6_rules.c table = fib6_get_table(net, tb_id); tb_id 201 net/ipv6/fib6_rules.c u32 tb_id; tb_id 221 net/ipv6/fib6_rules.c tb_id = fib_rule_get_table(rule, arg); tb_id 222 net/ipv6/fib6_rules.c table = fib6_get_table(net, tb_id); tb_id 675 net/ipv6/ip6mr.c mifi_t vif_index, u32 tb_id) tb_id 678 net/ipv6/ip6mr.c vif, vif_index, tb_id, tb_id 684 net/ipv6/ip6mr.c struct mfc6_cache *mfc, u32 tb_id) tb_id 687 net/ipv6/ip6mr.c &mfc->_c, tb_id, &net->ipv6.ipmr_seq); tb_id 4124 net/ipv6/route.c u32 tb_id = l3mdev_fib_table(dev) ? : RT6_TABLE_INFO; tb_id 4130 net/ipv6/route.c table = fib6_get_table(net, tb_id); tb_id 4196 net/ipv6/route.c u32 tb_id = l3mdev_fib_table(dev) ? : RT6_TABLE_DFLT; tb_id 4200 net/ipv6/route.c table = fib6_get_table(net, tb_id); tb_id 71 net/l3mdev/l3mdev.c u32 tb_id = 0; tb_id 78 net/l3mdev/l3mdev.c tb_id = dev->l3mdev_ops->l3mdev_fib_table(dev); tb_id 89 net/l3mdev/l3mdev.c tb_id = master->l3mdev_ops->l3mdev_fib_table(master); tb_id 92 net/l3mdev/l3mdev.c return tb_id; tb_id 99 net/l3mdev/l3mdev.c u32 tb_id = 0; tb_id 108 net/l3mdev/l3mdev.c tb_id = l3mdev_fib_table_rcu(dev); tb_id 112 net/l3mdev/l3mdev.c return tb_id;