Searched refs:RT_TABLE_MAIN (Results 1 – 20 of 20) sorted by relevance
/linux/net/ipv4/ |
A D | fib_frontend.c | 55 main_table = fib_trie_table(RT_TABLE_MAIN, NULL); in fib4_rules_init() 81 id = RT_TABLE_MAIN; in fib_new_table() 87 alias = fib_new_table(net, RT_TABLE_MAIN); in fib_new_table() 94 case RT_TABLE_MAIN: in fib_new_table() 118 id = RT_TABLE_MAIN; in fib_get_table() 136 case RT_TABLE_MAIN: in fib_replace_table() 173 main_table = fib_get_table(net, RT_TABLE_MAIN); in fib_unmerge() 1073 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic()
|
A D | fib_rules.c | 62 if (rule->table != RT_TABLE_LOCAL && rule->table != RT_TABLE_MAIN && in fib4_rule_default() 400 err = fib_default_rule_add(ops, 0x7FFE, RT_TABLE_MAIN, 0); in fib_default_rules_init()
|
A D | fib_semantics.c | 1148 if (table && table != RT_TABLE_MAIN) in fib_check_nh_v4_gw() 1365 if (tb_id == RT_TABLE_MAIN) in fib_valid_prefsrc() 1874 int tb_id = l3mdev_fib_table(dev) ? : RT_TABLE_MAIN; in fib_sync_down_addr()
|
A D | fib_trie.c | 2609 else if (tb->tb_id == RT_TABLE_MAIN) in fib_table_print() 2877 tb = fib_get_table(seq_file_net(seq), RT_TABLE_MAIN); in fib_route_seq_start()
|
A D | nexthop.c | 2520 u32 tb_id = (cfg->dev ? l3mdev_fib_table(cfg->dev) : RT_TABLE_MAIN); in nh_create_ipv4()
|
A D | route.c | 3262 u32 table_id = RT_TABLE_MAIN; in inet_rtm_getroute()
|
/linux/net/phonet/ |
A D | pn_netlink.c | 175 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/include/net/ |
A D | ip6_fib.h | 396 #define RT6_TABLE_MAIN RT_TABLE_MAIN 406 #define FIB6_TABLE_MIN RT_TABLE_MAIN
|
A D | ip_fib.h | 285 #define TABLE_MAIN_INDEX (RT_TABLE_MAIN & (FIB_TABLE_HASHSZ - 1)) 314 tb = fib_get_table(net, RT_TABLE_MAIN); in fib_lookup()
|
/linux/net/decnet/ |
A D | dn_rules.c | 249 RT_TABLE_MAIN, 0)); in dn_fib_rules_init()
|
A D | dn_route.c | 1563 r->rtm_table = RT_TABLE_MAIN; in dn_rt_fill_info() 1572 if (nla_put_u32(skb, RTA_TABLE, RT_TABLE_MAIN) < 0 || in dn_rt_fill_info()
|
/linux/samples/bpf/ |
A D | xdp_router_ipv4_user.c | 163 if (rt_msg->rtm_table != RT_TABLE_MAIN) in read_route() 350 req.rt.rtm_table = RT_TABLE_MAIN; in get_route_table()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_nve_vxlan.c | 104 config->ul_tb_id = RT_TABLE_MAIN; in mlxsw_sp_nve_vxlan_config()
|
A D | spectrum_router.c | 816 tb_id = RT_TABLE_MAIN; in mlxsw_sp_fix_tb_id() 1075 tb_id = l3mdev_fib_table(d) ? : RT_TABLE_MAIN; in mlxsw_sp_ipip_dev_ul_tb_id() 1077 tb_id = RT_TABLE_MAIN; in mlxsw_sp_ipip_dev_ul_tb_id() 1408 u32 ul_tb_id = l3mdev_fib_table(ul_dev) ? : RT_TABLE_MAIN; in mlxsw_sp_ipip_entry_matches_decap() 1771 u32 ul_tb_id = l3mdev_fib_table(ul_dev) ? : RT_TABLE_MAIN; in mlxsw_sp_netdevice_ipip_ul_vrf_event() 6505 if (fib4_entry->tb_id == RT_TABLE_MAIN && in mlxsw_sp_fib4_allow_replace() 7194 if (rt->fib6_table->tb6_id == RT_TABLE_MAIN && in mlxsw_sp_fib6_allow_replace() 8164 vr = mlxsw_sp_vr_get(mlxsw_sp, tb_id ? : RT_TABLE_MAIN, extack); in mlxsw_sp_rif_create() 10228 err = mlxsw_sp_router_ul_rif_get(mlxsw_sp, RT_TABLE_MAIN, in mlxsw_sp_lb_rif_init()
|
/linux/include/uapi/linux/ |
A D | rtnetlink.h | 343 RT_TABLE_MAIN=254, enumerator
|
/linux/net/mpls/ |
A D | af_mpls.c | 1836 if (rtm->rtm_table != RT_TABLE_MAIN) { in rtm_to_route_config() 2000 rtm->rtm_table = RT_TABLE_MAIN; in mpls_dump_route() 2194 if ((filter.table_id && filter.table_id != RT_TABLE_MAIN) || in mpls_dump_routes() 2480 r->rtm_table = RT_TABLE_MAIN; in mpls_getroute()
|
/linux/tools/testing/selftests/net/ |
A D | udpgso.c | 386 rt->rtm_table = RT_TABLE_MAIN; in set_route_mtu()
|
A D | ipsec.c | 404 req.rt.rtm_table = RT_TABLE_MAIN; in ip4_route_set()
|
/linux/net/core/ |
A D | filter.c | 5420 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in bpf_ipv4_fib_lookup() 5545 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in bpf_ipv6_fib_lookup()
|
/linux/net/ipv6/ |
A D | route.c | 3360 u32 tbid = l3mdev_fib_table_rcu(dev) ? : RT_TABLE_MAIN; in ip6_route_check_nh_onlink()
|
Completed in 106 milliseconds