/net/l3mdev/ |
D | l3mdev.c | 57 u32 tb_id = 0; in l3mdev_fib_table_rcu() local 64 tb_id = dev->l3mdev_ops->l3mdev_fib_table(dev); in l3mdev_fib_table_rcu() 75 tb_id = master->l3mdev_ops->l3mdev_fib_table(master); in l3mdev_fib_table_rcu() 78 return tb_id; in l3mdev_fib_table_rcu() 85 u32 tb_id = 0; in l3mdev_fib_table_by_index() local 94 tb_id = l3mdev_fib_table_rcu(dev); in l3mdev_fib_table_by_index() 98 return tb_id; in l3mdev_fib_table_by_index()
|
/net/ipv4/ |
D | fib_trie.c | 111 u8 tos, u8 type, u32 tb_id, u32 nlflags) in call_fib_entry_notifiers() argument 119 .tb_id = tb_id, in call_fib_entry_notifiers() 991 u8 tos, u32 prio, u32 tb_id) in fib_find_alias() argument 1003 if (fa->tb_id > tb_id) in fib_find_alias() 1005 if (fa->tb_id != tb_id) in fib_find_alias() 1088 (new->tb_id > last->tb_id)) in fib_insert_alias() 1128 pr_debug("Insert table=%u %08x/%d\n", tb->tb_id, key, plen); in fib_table_insert() 1141 tb->tb_id) : NULL; in fib_table_insert() 1171 (fa->tb_id != tb->tb_id) || in fib_table_insert() 1206 new_fa->tb_id = tb->tb_id; in fib_table_insert() [all …]
|
D | fib_lookup.h | 15 u32 tb_id; member 33 int fib_dump_info(struct sk_buff *skb, u32 pid, u32 seq, int event, u32 tb_id, 37 u32 tb_id, const struct nl_info *info, unsigned int nlm_flags);
|
D | fib_frontend.c | 126 if (tb->tb_id == id) in fib_get_table() 137 switch (new->tb_id) { in fib_replace_table() 209 __be32 addr, u32 tb_id) in __inet_dev_addr_type() argument 223 table = fib_get_table(net, tb_id); in __inet_dev_addr_type() 236 unsigned int inet_addr_type_table(struct net *net, __be32 addr, u32 tb_id) in inet_addr_type_table() argument 238 return __inet_dev_addr_type(net, NULL, addr, tb_id); in inet_addr_type_table() 814 u32 tb_id = l3mdev_fib_table(ifa->ifa_dev->dev); in fib_magic() local 829 if (!tb_id) in fib_magic() 830 tb_id = (type == RTN_UNICAST) ? RT_TABLE_MAIN : RT_TABLE_LOCAL; in fib_magic() 832 tb = fib_new_table(net, tb_id); in fib_magic() [all …]
|
D | fib_semantics.c | 403 int dst_len, u32 tb_id, const struct nl_info *info, in rtmsg_fib() argument 414 err = fib_dump_info(skb, info->portid, seq, event, tb_id, in rtmsg_fib() 935 u32 tb_id = cfg->fc_table; in fib_valid_prefsrc() local 938 if (tb_id == RT_TABLE_MAIN) in fib_valid_prefsrc() 939 tb_id = RT_TABLE_LOCAL; in fib_valid_prefsrc() 942 fib_prefsrc, tb_id); in fib_valid_prefsrc() 944 if (rc != RTN_LOCAL && tb_id != RT_TABLE_LOCAL) { in fib_valid_prefsrc() 1233 u32 tb_id, u8 type, __be32 dst, int dst_len, u8 tos, in fib_dump_info() argument 1248 if (tb_id < 256) in fib_dump_info() 1249 rtm->rtm_table = tb_id; in fib_dump_info() [all …]
|
D | fib_rules.c | 82 u32 tb_id; in fib4_rule_action() local 101 tb_id = fib_rule_get_table(rule, arg); in fib4_rule_action() 102 tbl = fib_get_table(rule->fr_net, tb_id); in fib4_rule_action() 206 rule->table = table->tb_id; in fib4_rule_configure()
|
D | af_inet.c | 448 u32 tb_id = RT_TABLE_LOCAL; in inet_bind() local 470 tb_id = l3mdev_fib_table_by_index(net, sk->sk_bound_dev_if) ? : tb_id; in inet_bind() 471 chk_addr_ret = inet_addr_type_table(net, addr->sin_addr.s_addr, tb_id); in inet_bind()
|
D | route.c | 1705 rth->rt_table_id = res->table->tb_id; in __mkroute_input() 1939 rth->rt_table_id = res.table->tb_id; in ip_route_input_slow() 2145 rth->rt_table_id = res->table->tb_id; in __mkroute_output()
|
/net/ipv6/ |
D | fib6_rules.c | 62 u32 tb_id; in fib6_rule_action() local 82 tb_id = fib_rule_get_table(rule, arg); in fib6_rule_action() 83 table = fib6_get_table(net, tb_id); in fib6_rule_action()
|
D | route.c | 2362 u32 tb_id = l3mdev_fib_table(dev) ? : addrconf_rt_table(dev, RT6_TABLE_INFO); in rt6_get_route_info() local 2367 table = fib6_get_table(net, tb_id); in rt6_get_route_info() 2424 u32 tb_id = l3mdev_fib_table(dev) ? : addrconf_rt_table(dev, RT6_TABLE_MAIN); in rt6_get_dflt_router() local 2428 table = fib6_get_table(dev_net(dev), tb_id); in rt6_get_dflt_router() 2601 u32 tb_id; in addrconf_dst_alloc() local 2632 tb_id = l3mdev_fib_table(idev->dev) ? : RT6_TABLE_LOCAL; in addrconf_dst_alloc() 2633 rt->rt6i_table = fib6_get_table(net, tb_id); in addrconf_dst_alloc()
|
D | addrconf.c | 2277 u32 tb_id = l3mdev_fib_table(dev) ? : addrconf_rt_table(dev, RT6_TABLE_PREFIX); in addrconf_get_prefix_route() local 2279 table = fib6_get_table(dev_net(dev), tb_id); in addrconf_get_prefix_route()
|
/net/decnet/ |
D | dn_table.c | 300 u32 tb_id, u8 type, u8 scope, void *dst, int dst_len, in dn_fib_dump_info() argument 315 rtm->rtm_table = tb_id; in dn_fib_dump_info() 321 if (nla_put_u32(skb, RTA_TABLE, tb_id) < 0) in dn_fib_dump_info() 379 static void dn_rtmsg_fib(int event, struct dn_fib_node *f, int z, u32 tb_id, in dn_rtmsg_fib() argument 390 err = dn_fib_dump_info(skb, portid, nlh->nlmsg_seq, event, tb_id, in dn_rtmsg_fib()
|