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
415 orig_sn = PREQ_IE_ORIG_SN(hwmp_ie); in hwmp_route_info_get()
427 orig_sn = PREP_IE_TARGET_SN(hwmp_ie); in hwmp_route_info_get()
455 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get()
456 (mpath->sn == orig_sn && in hwmp_route_info_get()
468 newer_sn = have_sn && SN_GT(orig_sn, mpath->sn); in hwmp_route_info_get()
470 (SN_DELTA(orig_sn, mpath->sn) > in hwmp_route_info_get()
502 mpath->sn = orig_sn; in hwmp_route_info_get()
582 u32 orig_sn, target_sn, lifetime, target_metric = 0; in hwmp_preq_frame_process() local
591 orig_sn = PREQ_IE_ORIG_SN(preq_elem); in hwmp_preq_frame_process()
657 orig_sn, 0, target_addr, in hwmp_preq_frame_process()
689 orig_sn, target_flags, target_addr, in hwmp_preq_frame_process()
718 u32 target_sn, orig_sn, lifetime; in hwmp_prep_frame_process() local
755 orig_sn = PREP_IE_ORIG_SN(prep_elem); in hwmp_prep_frame_process()
757 mesh_path_sel_frame_tx(MPATH_PREP, flags, orig_addr, orig_sn, 0, in hwmp_prep_frame_process()
833 u32 orig_sn, new_metric, orig_metric, last_hop_metric, interval; in hwmp_rann_frame_process() local
840 orig_sn = le32_to_cpu(rann->rann_seq); in hwmp_rann_frame_process()
876 if (!(SN_LT(mpath->sn, orig_sn)) && in hwmp_rann_frame_process()
877 !(mpath->sn == orig_sn && new_metric < mpath->rann_metric)) { in hwmp_rann_frame_process()
894 mpath->sn = orig_sn; in hwmp_rann_frame_process()
913 orig_sn, 0, NULL, 0, broadcast_addr, in hwmp_rann_frame_process()