Home
last modified time | relevance | path

Searched refs:new_metric (Results 1 – 2 of 2) sorted by relevance

/linux/net/mac80211/
H A Dmesh_hwmp.c404 u32 last_hop_metric, new_metric; in hwmp_route_info_get() local
444 new_metric = orig_metric + last_hop_metric; in hwmp_route_info_get()
445 if (new_metric < orig_metric) in hwmp_route_info_get()
446 new_metric = MAX_METRIC; in hwmp_route_info_get()
467 !is_metric_better(new_metric, mpath->metric) : in hwmp_route_info_get()
468 new_metric >= mpath->metric))) { in hwmp_route_info_get()
509 mpath->metric = new_metric; in hwmp_route_info_get()
578 return process ? new_metric : 0; in hwmp_route_info_get()
843 u32 orig_sn, new_metric, orig_metric, last_hop_metric, interval; in hwmp_rann_frame_process() local
872 new_metric = orig_metric + last_hop_metric; in hwmp_rann_frame_process()
[all …]
/linux/net/ipv4/
H A Ddevinet.c1003 u32 new_metric = ifa->ifa_rt_priority; in inet_rtm_newaddr() local
1016 if (ifa->ifa_rt_priority != new_metric) { in inet_rtm_newaddr()
1017 fib_modify_prefix_metric(ifa, new_metric); in inet_rtm_newaddr()
1018 ifa->ifa_rt_priority = new_metric; in inet_rtm_newaddr()