Searched refs:new_metric (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/net/mac80211/ |
H A D | mesh_hwmp.c | 396 u32 last_hop_metric, new_metric; in hwmp_route_info_get() local 436 new_metric = orig_metric + last_hop_metric; in hwmp_route_info_get() 437 if (new_metric < orig_metric) in hwmp_route_info_get() 438 new_metric = MAX_METRIC; in hwmp_route_info_get() 459 mult_frac(new_metric, 10, 9) : in hwmp_route_info_get() 460 new_metric) >= mpath->metric)) { in hwmp_route_info_get() 501 mpath->metric = new_metric; in hwmp_route_info_get() 570 return process ? new_metric : 0; in hwmp_route_info_get() 833 u32 orig_sn, new_metric, orig_metric, last_hop_metric, interval; in hwmp_rann_frame_process() local 862 new_metric = orig_metric + last_hop_metric; in hwmp_rann_frame_process() [all …]
|
/openbmc/linux/include/net/ |
H A D | route.h | 244 void fib_modify_prefix_metric(struct in_ifaddr *ifa, u32 new_metric);
|
/openbmc/linux/net/ipv4/ |
H A D | devinet.c | 990 u32 new_metric = ifa->ifa_rt_priority; in inet_rtm_newaddr() local 1002 if (ifa->ifa_rt_priority != new_metric) { in inet_rtm_newaddr() 1003 fib_modify_prefix_metric(ifa, new_metric); in inet_rtm_newaddr() 1004 ifa->ifa_rt_priority = new_metric; in inet_rtm_newaddr()
|
H A D | fib_frontend.c | 1155 void fib_modify_prefix_metric(struct in_ifaddr *ifa, u32 new_metric) in fib_modify_prefix_metric() argument 1170 prefix, ifa->ifa_prefixlen, ifa, new_metric); in fib_modify_prefix_metric()
|