Lines Matching refs:metric
109 u32 lifetime, u32 metric, u32 preq_id, in mesh_path_sel_frame_tx() argument
182 put_unaligned_le32(metric, pos); in mesh_path_sel_frame_tx()
440 new_metric >= mpath->metric)) { in hwmp_route_info_get()
457 mpath->metric = new_metric; in hwmp_route_info_get()
483 (last_hop_metric > mpath->metric))) in hwmp_route_info_get()
496 mpath->metric = last_hop_metric; in hwmp_route_info_get()
513 const u8 *preq_elem, u32 metric) in hwmp_preq_frame_process() argument
531 orig_metric = metric; in hwmp_preq_frame_process()
542 metric = 0; in hwmp_preq_frame_process()
559 metric = 0; in hwmp_preq_frame_process()
577 metric = mpath->metric; in hwmp_preq_frame_process()
596 lifetime, metric, 0, sdata); in hwmp_preq_frame_process()
622 metric = orig_metric; in hwmp_preq_frame_process()
628 metric, preq_id, sdata); in hwmp_preq_frame_process()
648 const u8 *prep_elem, u32 metric) in hwmp_prep_frame_process() argument
696 ttl, lifetime, metric, 0, sdata); in hwmp_prep_frame_process()
766 u32 orig_sn, metric, metric_txsta, interval; in hwmp_rann_frame_process() local
777 metric = le32_to_cpu(rann->rann_metric); in hwmp_rann_frame_process()
807 !(mpath->sn == orig_sn && metric < mpath->rann_metric)) { in hwmp_rann_frame_process()
825 mpath->rann_metric = metric + metric_txsta; in hwmp_rann_frame_process()
845 metric + metric_txsta, 0, sdata); in hwmp_rann_frame_process()