Lines Matching refs:sn

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()
596 if (SN_GT(target_sn, ifmsh->sn)) in hwmp_preq_frame_process()
597 ifmsh->sn = target_sn; in hwmp_preq_frame_process()
602 ++ifmsh->sn; in hwmp_preq_frame_process()
605 target_sn = ifmsh->sn; in hwmp_preq_frame_process()
614 target_sn = ++ifmsh->sn; in hwmp_preq_frame_process()
627 SN_LT(mpath->sn, target_sn)) { in hwmp_preq_frame_process()
628 mpath->sn = target_sn; in hwmp_preq_frame_process()
634 target_sn = mpath->sn; in hwmp_preq_frame_process()
795 SN_GT(target_sn, mpath->sn) || target_sn == 0)) { in hwmp_perr_frame_process()
798 mpath->sn = target_sn; in hwmp_perr_frame_process()
800 mpath->sn += 1; in hwmp_perr_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()
1094 ++ifmsh->sn; in mesh_path_start_discovery()
1112 mesh_path_sel_frame_tx(MPATH_PREQ, 0, sdata->vif.addr, ifmsh->sn, in mesh_path_start_discovery()
1113 target_flags, mpath->dst, mpath->sn, da, 0, in mesh_path_start_discovery()
1311 ++ifmsh->sn, 0, NULL, 0, broadcast_addr, in mesh_path_tx_root_frame()
1323 ++ifmsh->sn, target_flags, in mesh_path_tx_root_frame()