Lines Matching refs:sn
431 if (SN_GT(mpath->sn, orig_sn) || in hwmp_route_info_get()
432 (mpath->sn == orig_sn && in hwmp_route_info_get()
441 newer_sn = have_sn && SN_GT(orig_sn, mpath->sn); in hwmp_route_info_get()
443 (SN_DELTA(orig_sn, mpath->sn) > in hwmp_route_info_get()
471 mpath->sn = orig_sn; in hwmp_route_info_get()
558 ++ifmsh->sn; in hwmp_preq_frame_process()
561 target_sn = ifmsh->sn; in hwmp_preq_frame_process()
570 target_sn = ++ifmsh->sn; in hwmp_preq_frame_process()
583 SN_LT(mpath->sn, target_sn)) { in hwmp_preq_frame_process()
584 mpath->sn = target_sn; in hwmp_preq_frame_process()
590 target_sn = mpath->sn; in hwmp_preq_frame_process()
750 SN_GT(target_sn, mpath->sn) || target_sn == 0)) { in hwmp_perr_frame_process()
753 mpath->sn = target_sn; in hwmp_perr_frame_process()
755 mpath->sn += 1; in hwmp_perr_frame_process()
819 if (!(SN_LT(mpath->sn, orig_sn)) && in hwmp_rann_frame_process()
820 !(mpath->sn == orig_sn && metric < mpath->rann_metric)) { in hwmp_rann_frame_process()
837 mpath->sn = orig_sn; in hwmp_rann_frame_process()
1038 ++ifmsh->sn; in mesh_path_start_discovery()
1056 mesh_path_sel_frame_tx(MPATH_PREQ, 0, sdata->vif.addr, ifmsh->sn, in mesh_path_start_discovery()
1057 target_flags, mpath->dst, mpath->sn, da, 0, in mesh_path_start_discovery()
1219 ++ifmsh->sn, 0, NULL, 0, broadcast_addr, in mesh_path_tx_root_frame()
1230 ++ifmsh->sn, target_flags, in mesh_path_tx_root_frame()