Lines Matching refs:fri

1011 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
1046 fa_match = fib_find_matching_alias(net, fri); in fib_alias_hw_flags_set()
1050 if (fa_match->offload == fri->offload && fa_match->trap == fri->trap && in fib_alias_hw_flags_set()
1051 fa_match->offload_failed == fri->offload_failed) in fib_alias_hw_flags_set()
1054 fa_match->offload = fri->offload; in fib_alias_hw_flags_set()
1055 fa_match->trap = fri->trap; in fib_alias_hw_flags_set()
1059 fa_match->offload_failed == fri->offload_failed) in fib_alias_hw_flags_set()
1062 fa_match->offload_failed = fri->offload_failed; in fib_alias_hw_flags_set()
1073 err = fib_dump_info(skb, 0, 0, RTM_NEWROUTE, fri, 0); in fib_alias_hw_flags_set()
2292 struct fib_rt_info fri; in fn_trie_dump_leaf() local
2294 fri.fi = fi; in fn_trie_dump_leaf()
2295 fri.tb_id = tb->tb_id; in fn_trie_dump_leaf()
2296 fri.dst = xkey; in fn_trie_dump_leaf()
2297 fri.dst_len = KEYLENGTH - fa->fa_slen; in fn_trie_dump_leaf()
2298 fri.tos = fa->fa_tos; in fn_trie_dump_leaf()
2299 fri.type = fa->fa_type; in fn_trie_dump_leaf()
2300 fri.offload = fa->offload; in fn_trie_dump_leaf()
2301 fri.trap = fa->trap; in fn_trie_dump_leaf()
2302 fri.offload_failed = fa->offload_failed; in fn_trie_dump_leaf()
2306 RTM_NEWROUTE, &fri, flags); in fn_trie_dump_leaf()