Home
last modified time | relevance | path

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

/net/mac80211/
Dmesh_hwmp.c391 u32 last_hop_metric, new_metric; in hwmp_route_info_get() local
430 new_metric = orig_metric + last_hop_metric; in hwmp_route_info_get()
431 if (new_metric < orig_metric) in hwmp_route_info_get()
432 new_metric = MAX_METRIC; in hwmp_route_info_get()
453 mult_frac(new_metric, 10, 9) : in hwmp_route_info_get()
454 new_metric) >= mpath->metric)) { in hwmp_route_info_get()
493 mpath->metric = new_metric; in hwmp_route_info_get()
556 return process ? new_metric : 0; in hwmp_route_info_get()
819 u32 orig_sn, new_metric, orig_metric, last_hop_metric, interval; in hwmp_rann_frame_process() local
848 new_metric = orig_metric + last_hop_metric; in hwmp_rann_frame_process()
[all …]
/net/ipv4/
Ddevinet.c960 u32 new_metric = ifa->ifa_rt_priority; in inet_rtm_newaddr() local
969 if (ifa->ifa_rt_priority != new_metric) { in inet_rtm_newaddr()
970 fib_modify_prefix_metric(ifa, new_metric); in inet_rtm_newaddr()
971 ifa->ifa_rt_priority = new_metric; in inet_rtm_newaddr()
Dfib_frontend.c1156 void fib_modify_prefix_metric(struct in_ifaddr *ifa, u32 new_metric) in fib_modify_prefix_metric() argument
1171 prefix, ifa->ifa_prefixlen, ifa, new_metric); in fib_modify_prefix_metric()