Home
last modified time | relevance | path

Searched refs:RT_TABLE_MAIN (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/net/ipv4/
Dfib_frontend.c55 main_table = fib_trie_table(RT_TABLE_MAIN, NULL); in fib4_rules_init()
86 id = RT_TABLE_MAIN; in fib_new_table()
92 alias = fib_new_table(net, RT_TABLE_MAIN); in fib_new_table()
99 case RT_TABLE_MAIN: in fib_new_table()
123 id = RT_TABLE_MAIN; in fib_get_table()
146 case RT_TABLE_MAIN: in fib_replace_table()
183 main_table = fib_get_table(net, RT_TABLE_MAIN); in fib_unmerge()
1078 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic()
Dfib_rules.c61 if (rule->table != RT_TABLE_LOCAL && rule->table != RT_TABLE_MAIN && in fib4_rule_default()
394 err = fib_default_rule_add(ops, 0x7FFE, RT_TABLE_MAIN, 0); in fib_default_rules_init()
Dfib_semantics.c1320 if (tb_id == RT_TABLE_MAIN) in fib_valid_prefsrc()
1817 int tb_id = l3mdev_fib_table(dev) ? : RT_TABLE_MAIN; in fib_sync_down_addr()
Dfib_trie.c2435 else if (tb->tb_id == RT_TABLE_MAIN) in fib_table_print()
2700 tb = fib_get_table(seq_file_net(seq), RT_TABLE_MAIN); in fib_route_seq_start()
Droute.c3079 u32 table_id = RT_TABLE_MAIN; in inet_rtm_getroute()
/Linux-v5.4/net/phonet/
Dpn_netlink.c175 rtm->rtm_table = RT_TABLE_MAIN; in fill_route()
242 if (rtm->rtm_table != RT_TABLE_MAIN || rtm->rtm_type != RTN_UNICAST) in route_doit()
/Linux-v5.4/include/net/
Dip6_fib.h358 #define RT6_TABLE_MAIN RT_TABLE_MAIN
368 #define FIB6_TABLE_MIN RT_TABLE_MAIN
Dip_fib.h272 #define TABLE_MAIN_INDEX (RT_TABLE_MAIN & (FIB_TABLE_HASHSZ - 1))
301 tb = fib_get_table(net, RT_TABLE_MAIN); in fib_lookup()
/Linux-v5.4/net/decnet/
Ddn_rules.c249 RT_TABLE_MAIN, 0)); in dn_fib_rules_init()
Ddn_route.c1560 r->rtm_table = RT_TABLE_MAIN; in dn_rt_fill_info()
1569 if (nla_put_u32(skb, RTA_TABLE, RT_TABLE_MAIN) < 0 || in dn_rt_fill_info()
/Linux-v5.4/samples/bpf/
Dxdp_router_ipv4_user.c163 if (rt_msg->rtm_table != RT_TABLE_MAIN) in read_route()
346 req.rt.rtm_table = RT_TABLE_MAIN; in get_route_table()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_nve_vxlan.c100 config->ul_tb_id = RT_TABLE_MAIN; in mlxsw_sp_nve_vxlan_config()
Dspectrum_router.c735 tb_id = RT_TABLE_MAIN; in mlxsw_sp_fix_tb_id()
995 return l3mdev_fib_table(d) ? : RT_TABLE_MAIN; in mlxsw_sp_ipip_dev_ul_tb_id()
997 return RT_TABLE_MAIN; in mlxsw_sp_ipip_dev_ul_tb_id()
1286 u32 ul_tb_id = l3mdev_fib_table(ul_dev) ? : RT_TABLE_MAIN; in mlxsw_sp_ipip_entry_matches_decap()
6518 vr = mlxsw_sp_vr_get(mlxsw_sp, tb_id ? : RT_TABLE_MAIN, extack); in mlxsw_sp_rif_create()
/Linux-v5.4/include/uapi/linux/
Drtnetlink.h313 RT_TABLE_MAIN=254, enumerator
/Linux-v5.4/net/mpls/
Daf_mpls.c1816 if (rtm->rtm_table != RT_TABLE_MAIN) { in rtm_to_route_config()
1980 rtm->rtm_table = RT_TABLE_MAIN; in mpls_dump_route()
2178 if ((filter.table_id && filter.table_id != RT_TABLE_MAIN) || in mpls_dump_routes()
2464 r->rtm_table = RT_TABLE_MAIN; in mpls_getroute()
/Linux-v5.4/tools/testing/selftests/net/
Dudpgso.c386 rt->rtm_table = RT_TABLE_MAIN; in set_route_mtu()
/Linux-v5.4/net/core/
Dfilter.c4651 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in bpf_ipv4_fib_lookup()
4773 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in bpf_ipv6_fib_lookup()
/Linux-v5.4/net/ipv6/
Droute.c3220 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in ip6_route_check_nh_onlink()