Searched refs:new_metric (Results 1 – 4 of 4) sorted by relevance
391 u32 last_hop_metric, new_metric; in hwmp_route_info_get() local431 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()849 if (new_metric < orig_metric) in hwmp_rann_frame_process()850 new_metric = MAX_METRIC; in hwmp_rann_frame_process()881 mpath->rann_metric = new_metric; in hwmp_rann_frame_process()[all …]
240 void fib_modify_prefix_metric(struct in_ifaddr *ifa, u32 new_metric);
961 u32 new_metric = ifa->ifa_rt_priority; in inet_rtm_newaddr() local970 if (ifa->ifa_rt_priority != new_metric) { in inet_rtm_newaddr()971 fib_modify_prefix_metric(ifa, new_metric); in inet_rtm_newaddr()972 ifa->ifa_rt_priority = new_metric; in inet_rtm_newaddr()
1135 void fib_modify_prefix_metric(struct in_ifaddr *ifa, u32 new_metric) in fib_modify_prefix_metric() argument1150 prefix, ifa->ifa_prefixlen, ifa, new_metric); in fib_modify_prefix_metric()
Completed in 13 milliseconds