Home
last modified time | relevance | path

Searched refs:fri (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dfib.c277 struct fib_rt_info fri; in nsim_fib4_rt_hw_flags_set() local
279 fri.fi = fib4_rt->fi; in nsim_fib4_rt_hw_flags_set()
280 fri.tb_id = fib4_rt->common.key.tb_id; in nsim_fib4_rt_hw_flags_set()
281 fri.dst = cpu_to_be32(*p_dst); in nsim_fib4_rt_hw_flags_set()
282 fri.dst_len = dst_len; in nsim_fib4_rt_hw_flags_set()
283 fri.tos = fib4_rt->tos; in nsim_fib4_rt_hw_flags_set()
284 fri.type = fib4_rt->type; in nsim_fib4_rt_hw_flags_set()
285 fri.offload = false; in nsim_fib4_rt_hw_flags_set()
286 fri.trap = trap; in nsim_fib4_rt_hw_flags_set()
287 fib_alias_hw_flags_set(net, &fri); in nsim_fib4_rt_hw_flags_set()
/kernel/linux/linux-5.10/net/ipv4/
Dfib_semantics.c516 struct fib_rt_info fri; in rtmsg_fib() local
525 fri.fi = fa->fa_info; in rtmsg_fib()
526 fri.tb_id = tb_id; in rtmsg_fib()
527 fri.dst = key; in rtmsg_fib()
528 fri.dst_len = dst_len; in rtmsg_fib()
529 fri.tos = fa->fa_tos; in rtmsg_fib()
530 fri.type = fa->fa_type; in rtmsg_fib()
531 fri.offload = fa->offload; in rtmsg_fib()
532 fri.trap = fa->trap; in rtmsg_fib()
533 err = fib_dump_info(skb, info->portid, seq, event, &fri, nlm_flags); in rtmsg_fib()
[all …]
Dfib_trie.c1011 fib_find_matching_alias(struct net *net, const struct fib_rt_info *fri) in fib_find_matching_alias() argument
1013 u8 slen = KEYLENGTH - fri->dst_len; in fib_find_matching_alias()
1019 tb = fib_get_table(net, fri->tb_id); in fib_find_matching_alias()
1024 l = fib_find_node(t, &tp, be32_to_cpu(fri->dst)); in fib_find_matching_alias()
1029 if (fa->fa_slen == slen && fa->tb_id == fri->tb_id && in fib_find_matching_alias()
1030 fa->fa_tos == fri->tos && fa->fa_info == fri->fi && in fib_find_matching_alias()
1031 fa->fa_type == fri->type) in fib_find_matching_alias()
1038 void fib_alias_hw_flags_set(struct net *net, const struct fib_rt_info *fri) in fib_alias_hw_flags_set() argument
1044 fa_match = fib_find_matching_alias(net, fri); in fib_alias_hw_flags_set()
1048 fa_match->offload = fri->offload; in fib_alias_hw_flags_set()
[all …]
Dfib_lookup.h42 struct fib_rt_info *fri, unsigned int flags);
Droute.c3315 struct fib_rt_info fri; in inet_rtm_getroute() local
3323 fri.fi = res.fi; in inet_rtm_getroute()
3324 fri.tb_id = table_id; in inet_rtm_getroute()
3325 fri.dst = res.prefix; in inet_rtm_getroute()
3326 fri.dst_len = res.prefixlen; in inet_rtm_getroute()
3327 fri.tos = fl4.flowi4_tos; in inet_rtm_getroute()
3328 fri.type = rt->rt_type; in inet_rtm_getroute()
3329 fri.offload = 0; in inet_rtm_getroute()
3330 fri.trap = 0; in inet_rtm_getroute()
3335 u8 slen = 32 - fri.dst_len; in inet_rtm_getroute()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c4166 struct fib_rt_info fri; in mlxsw_sp_fib4_entry_hw_flags_set() local
4172 fri.fi = fi; in mlxsw_sp_fib4_entry_hw_flags_set()
4173 fri.tb_id = fib4_entry->tb_id; in mlxsw_sp_fib4_entry_hw_flags_set()
4174 fri.dst = cpu_to_be32(*p_dst); in mlxsw_sp_fib4_entry_hw_flags_set()
4175 fri.dst_len = dst_len; in mlxsw_sp_fib4_entry_hw_flags_set()
4176 fri.tos = fib4_entry->tos; in mlxsw_sp_fib4_entry_hw_flags_set()
4177 fri.type = fib4_entry->type; in mlxsw_sp_fib4_entry_hw_flags_set()
4178 fri.offload = should_offload; in mlxsw_sp_fib4_entry_hw_flags_set()
4179 fri.trap = !should_offload; in mlxsw_sp_fib4_entry_hw_flags_set()
4180 fib_alias_hw_flags_set(mlxsw_sp_net(mlxsw_sp), &fri); in mlxsw_sp_fib4_entry_hw_flags_set()
[all …]
/kernel/linux/linux-5.10/tools/memory-model/
Dlock.cat141 let fri = fr & int
/kernel/linux/linux-5.10/include/net/
Dip_fib.h489 void fib_alias_hw_flags_set(struct net *net, const struct fib_rt_info *fri);
/kernel/linux/linux-5.10/tools/memory-model/Documentation/
Dexplanation.txt20 12. THE FROM-READS RELATION: fr, fri, and fre
682 THE FROM-READS RELATION: fr, fri, and fre
710 As with rf, rfi, and rfe, we subdivide the fr relation into fri (when