Lines Matching refs:sn

457 				if (SN_GT(mpath->sn, orig_sn) ||  in hwmp_route_info_get()
458 (mpath->sn == orig_sn && in hwmp_route_info_get()
470 newer_sn = have_sn && SN_GT(orig_sn, mpath->sn); in hwmp_route_info_get()
472 (SN_DELTA(orig_sn, mpath->sn) > in hwmp_route_info_get()
504 mpath->sn = orig_sn; in hwmp_route_info_get()
607 if (SN_GT(target_sn, ifmsh->sn)) in hwmp_preq_frame_process()
608 ifmsh->sn = target_sn; in hwmp_preq_frame_process()
613 ++ifmsh->sn; in hwmp_preq_frame_process()
616 target_sn = ifmsh->sn; in hwmp_preq_frame_process()
625 target_sn = ++ifmsh->sn; in hwmp_preq_frame_process()
638 SN_LT(mpath->sn, target_sn)) { in hwmp_preq_frame_process()
639 mpath->sn = target_sn; in hwmp_preq_frame_process()
645 target_sn = mpath->sn; in hwmp_preq_frame_process()
806 SN_GT(target_sn, mpath->sn) || target_sn == 0)) { in hwmp_perr_frame_process()
809 mpath->sn = target_sn; in hwmp_perr_frame_process()
811 mpath->sn += 1; in hwmp_perr_frame_process()
878 if (!(SN_LT(mpath->sn, orig_sn)) && in hwmp_rann_frame_process()
879 !(mpath->sn == orig_sn && new_metric < mpath->rann_metric)) { in hwmp_rann_frame_process()
896 mpath->sn = orig_sn; in hwmp_rann_frame_process()
1105 ++ifmsh->sn; in mesh_path_start_discovery()
1123 mesh_path_sel_frame_tx(MPATH_PREQ, 0, sdata->vif.addr, ifmsh->sn, in mesh_path_start_discovery()
1124 target_flags, mpath->dst, mpath->sn, da, 0, in mesh_path_start_discovery()
1332 ++ifmsh->sn, 0, NULL, 0, broadcast_addr, in mesh_path_tx_root_frame()
1344 ++ifmsh->sn, target_flags, in mesh_path_tx_root_frame()