Searched refs:new_metric (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/net/mac80211/ |
D | mesh_hwmp.c | 387 u32 last_hop_metric, new_metric; in hwmp_route_info_get() local 423 new_metric = orig_metric + last_hop_metric; in hwmp_route_info_get() 424 if (new_metric < orig_metric) in hwmp_route_info_get() 425 new_metric = MAX_METRIC; in hwmp_route_info_get() 444 new_metric >= mpath->metric)) { in hwmp_route_info_get() 481 mpath->metric = new_metric; in hwmp_route_info_get() 538 return process ? new_metric : 0; in hwmp_route_info_get() 801 u32 orig_sn, new_metric, orig_metric, last_hop_metric, interval; in hwmp_rann_frame_process() local 830 new_metric = orig_metric + last_hop_metric; in hwmp_rann_frame_process() 831 if (new_metric < orig_metric) in hwmp_rann_frame_process() [all …]
|
/Linux-v4.19/include/net/ |
D | route.h | 228 void fib_modify_prefix_metric(struct in_ifaddr *ifa, u32 new_metric);
|
/Linux-v4.19/net/ipv4/ |
D | devinet.c | 913 u32 new_metric = ifa->ifa_rt_priority; in inet_rtm_newaddr() local 922 if (ifa->ifa_rt_priority != new_metric) { in inet_rtm_newaddr() 923 fib_modify_prefix_metric(ifa, new_metric); in inet_rtm_newaddr() 924 ifa->ifa_rt_priority = new_metric; in inet_rtm_newaddr()
|
D | fib_frontend.c | 936 void fib_modify_prefix_metric(struct in_ifaddr *ifa, u32 new_metric) in fib_modify_prefix_metric() argument 951 prefix, ifa->ifa_prefixlen, ifa, new_metric); in fib_modify_prefix_metric()
|