Lines Matching refs:orig_sn
101 const u8 *orig_addr, u32 orig_sn, in mesh_path_sel_frame_tx() argument
172 put_unaligned_le32(orig_sn, pos); in mesh_path_sel_frame_tx()
189 put_unaligned_le32(orig_sn, pos); in mesh_path_sel_frame_tx()
394 u32 orig_sn, orig_metric; in hwmp_route_info_get() local
414 orig_sn = PREQ_IE_ORIG_SN(hwmp_ie); in hwmp_route_info_get()
426 orig_sn = PREP_IE_TARGET_SN(hwmp_ie); in hwmp_route_info_get()
454 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get()
455 (mpath->sn == orig_sn && in hwmp_route_info_get()
467 newer_sn = have_sn && SN_GT(orig_sn, mpath->sn); in hwmp_route_info_get()
469 (SN_DELTA(orig_sn, mpath->sn) > in hwmp_route_info_get()
499 mpath->sn = orig_sn; in hwmp_route_info_get()
573 u32 orig_sn, target_sn, lifetime, target_metric = 0; in hwmp_preq_frame_process() local
582 orig_sn = PREQ_IE_ORIG_SN(preq_elem); in hwmp_preq_frame_process()
648 orig_sn, 0, target_addr, in hwmp_preq_frame_process()
680 orig_sn, target_flags, target_addr, in hwmp_preq_frame_process()
709 u32 target_sn, orig_sn, lifetime; in hwmp_prep_frame_process() local
746 orig_sn = PREP_IE_ORIG_SN(prep_elem); in hwmp_prep_frame_process()
748 mesh_path_sel_frame_tx(MPATH_PREP, flags, orig_addr, orig_sn, 0, in hwmp_prep_frame_process()
824 u32 orig_sn, new_metric, orig_metric, last_hop_metric, interval; in hwmp_rann_frame_process() local
831 orig_sn = le32_to_cpu(rann->rann_seq); in hwmp_rann_frame_process()
867 if (!(SN_LT(mpath->sn, orig_sn)) && in hwmp_rann_frame_process()
868 !(mpath->sn == orig_sn && new_metric < mpath->rann_metric)) { in hwmp_rann_frame_process()
885 mpath->sn = orig_sn; in hwmp_rann_frame_process()
904 orig_sn, 0, NULL, 0, broadcast_addr, in hwmp_rann_frame_process()