Searched refs:mrt (Results 1 – 8 of 8) sorted by relevance
/linux/net/ipv4/ |
H A D | ipmr_base.c | 41 mrt = kzalloc(sizeof(*mrt), GFP_KERNEL); in mr_table_alloc() 42 if (!mrt) in mr_table_alloc() 44 mrt->id = id; in mr_table_alloc() 50 kfree(mrt); in mr_table_alloc() 60 return mrt; in mr_table_alloc() 116 struct mr_table *mrt = iter->mrt; in mr_vif_seq_idx() local 132 struct mr_table *mrt = iter->mrt; in mr_vif_seq_next() local 150 struct mr_table *mrt = it->mrt; in mr_mfc_seq_idx() local 177 struct mr_table *mrt = it->mrt; in mr_mfc_seq_next() local 377 for (mrt = iter(net, NULL); mrt; mrt = iter(net, mrt)) { in mr_rtm_dumproute() [all …]
|
H A D | ipmr.c | 128 if (!mrt) in ipmr_mr_table_iter() 168 *mrt = res.mrt; in ipmr_fib_lookup() 193 if (!mrt) in ipmr_rule_action() 195 res->mrt = mrt; in ipmr_rule_action() 303 for (mrt = net->ipv4.mrt; mrt; mrt = NULL) 321 *mrt = net->ipv4.mrt; in ipmr_fib_lookup() 332 net->ipv4.mrt = mrt; in ipmr_rules_init() 407 if (mrt) in ipmr_new_table() 2927 iter->mrt = mrt; in ipmr_vif_seq_start() 2942 struct mr_table *mrt = iter->mrt; in ipmr_vif_seq_show() local [all …]
|
/linux/net/ipv6/ |
H A D | ip6mr.c | 116 if (!mrt) in ip6mr_mr_table_iter() 156 *mrt = res.mrt; in ip6mr_fib_lookup() 181 if (!mrt) in ip6mr_rule_action() 183 res->mrt = mrt; in ip6mr_rule_action() 292 for (mrt = net->ipv6.mrt6; mrt; mrt = NULL) 297 if (!mrt) in ip6mr_mr_table_iter() 386 if (mrt) in ip6mr_new_table() 415 if (!mrt) in ip6mr_vif_seq_start() 418 iter->mrt = mrt; in ip6mr_vif_seq_start() 433 struct mr_table *mrt = iter->mrt; in ip6mr_vif_seq_show() local [all …]
|
H A D | addrconf.c | 111 static inline s32 rfc3315_s14_backoff_update(s32 rt, s32 mrt) in rfc3315_s14_backoff_update() argument 116 if ((s32)tmp > mrt) { in rfc3315_s14_backoff_update() 118 tmp = get_random_u32_inclusive(900000, 1100000) * (u64)mrt; in rfc3315_s14_backoff_update()
|
/linux/include/linux/ |
H A D | mroute_base.h | 298 struct mr_table *mrt), 299 int (*fill)(struct mr_table *mrt, 310 struct mr_table *mrt), 349 struct mr_table *mrt), in mr_rtm_dumproute() argument 350 int (*fill)(struct mr_table *mrt, in mr_rtm_dumproute() argument 365 struct mr_table *mrt), in mr_dump() argument 380 struct mr_table *mrt; member 386 struct mr_table *mrt; member 417 it->mrt = mrt; in mr_mfc_seq_start() 429 struct mr_table *mrt = it->mrt; in mr_mfc_seq_stop() local [all …]
|
/linux/include/net/netns/ |
H A D | ipv4.h | 252 struct mr_table *mrt; member
|
/linux/Documentation/networking/net_cachelines/ |
H A D | netns_ipv4_sysctl.rst | 147 struct_mr_table* mrt …
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 7656 struct mlxsw_sp_mr_table *mrt; in mlxsw_sp_router_fibmr_add() local 7663 mrt = mlxsw_sp_router_fibmr_family_to_table(vr, men_info->info.family); in mlxsw_sp_router_fibmr_add() 7664 return mlxsw_sp_mr_route_add(mrt, men_info->mfc, replace); in mlxsw_sp_router_fibmr_add() 7670 struct mlxsw_sp_mr_table *mrt; in mlxsw_sp_router_fibmr_del() local 7677 mrt = mlxsw_sp_router_fibmr_family_to_table(vr, men_info->info.family); in mlxsw_sp_router_fibmr_del() 7678 mlxsw_sp_mr_route_del(mrt, men_info->mfc); in mlxsw_sp_router_fibmr_del() 7686 struct mlxsw_sp_mr_table *mrt; in mlxsw_sp_router_fibmr_vif_add() local 7694 mrt = mlxsw_sp_router_fibmr_family_to_table(vr, ven_info->info.family); in mlxsw_sp_router_fibmr_vif_add() 7696 return mlxsw_sp_mr_vif_add(mrt, ven_info->dev, in mlxsw_sp_router_fibmr_vif_add() 7705 struct mlxsw_sp_mr_table *mrt; in mlxsw_sp_router_fibmr_vif_del() local [all …]
|