Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/mac80211/
A Dmesh_hwmp.c396 u32 last_hop_metric, new_metric; in hwmp_route_info_get() local
436 if (new_metric < orig_metric) in hwmp_route_info_get()
437 new_metric = MAX_METRIC; in hwmp_route_info_get()
458 mult_frac(new_metric, 10, 9) : in hwmp_route_info_get()
459 new_metric) >= mpath->metric)) { in hwmp_route_info_get()
498 mpath->metric = new_metric; in hwmp_route_info_get()
561 return process ? new_metric : 0; in hwmp_route_info_get()
854 if (new_metric < orig_metric) in hwmp_rann_frame_process()
855 new_metric = MAX_METRIC; in hwmp_rann_frame_process()
886 mpath->rann_metric = new_metric; in hwmp_rann_frame_process()
[all …]
/linux-6.3-rc2/include/net/
A Droute.h246 void fib_modify_prefix_metric(struct in_ifaddr *ifa, u32 new_metric);
/linux-6.3-rc2/net/ipv4/
A Ddevinet.c964 u32 new_metric = ifa->ifa_rt_priority; in inet_rtm_newaddr() local
973 if (ifa->ifa_rt_priority != new_metric) { in inet_rtm_newaddr()
974 fib_modify_prefix_metric(ifa, new_metric); in inet_rtm_newaddr()
975 ifa->ifa_rt_priority = new_metric; in inet_rtm_newaddr()
A Dfib_frontend.c1152 void fib_modify_prefix_metric(struct in_ifaddr *ifa, u32 new_metric) in fib_modify_prefix_metric() argument
1167 prefix, ifa->ifa_prefixlen, ifa, new_metric); in fib_modify_prefix_metric()

Completed in 16 milliseconds