Lines Matching full:ttl
104 u8 hop_count, u8 ttl, in mesh_path_sel_frame_tx() argument
159 *pos++ = ttl; in mesh_path_sel_frame_tx()
223 * @ttl: allowed remaining hops
235 u8 ttl, const u8 *target, u32 target_sn, in mesh_path_error_tx() argument
272 /* ttl */ in mesh_path_error_tx()
273 *pos++ = ttl; in mesh_path_error_tx()
567 u8 target_flags, ttl, flags; in hwmp_preq_frame_process() local
639 ttl = ifmsh->mshcfg.element_ttl; in hwmp_preq_frame_process()
640 if (ttl != 0) { in hwmp_preq_frame_process()
644 target_sn, mgmt->sa, 0, ttl, in hwmp_preq_frame_process()
656 ttl = PREQ_IE_TTL(preq_elem); in hwmp_preq_frame_process()
658 if (ttl <= 1) { in hwmp_preq_frame_process()
663 --ttl; in hwmp_preq_frame_process()
676 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process()
702 u8 ttl, hopcount, flags; in hwmp_prep_frame_process() local
717 ttl = PREP_IE_TTL(prep_elem); in hwmp_prep_frame_process()
718 if (ttl <= 1) { in hwmp_prep_frame_process()
735 --ttl; in hwmp_prep_frame_process()
745 ttl, lifetime, metric, 0, sdata); in hwmp_prep_frame_process()
763 u8 ttl; in hwmp_perr_frame_process() local
769 ttl = PERR_IE_TTL(perr_elem); in hwmp_perr_frame_process()
770 if (ttl <= 1) { in hwmp_perr_frame_process()
774 ttl--; in hwmp_perr_frame_process()
799 mesh_path_error_tx(sdata, ttl, target_addr, in hwmp_perr_frame_process()
817 u8 ttl, flags, hopcount; in hwmp_rann_frame_process() local
822 ttl = rann->rann_ttl; in hwmp_rann_frame_process()
872 !(mpath->flags & MESH_PATH_FIXED) && (ttl != 0)) { in hwmp_rann_frame_process()
890 if (ttl <= 1) { in hwmp_rann_frame_process()
895 ttl--; in hwmp_rann_frame_process()
900 hopcount, ttl, interval, in hwmp_rann_frame_process()
1034 u8 ttl, target_flags = 0; in mesh_path_start_discovery() local
1089 ttl = sdata->u.mesh.mshcfg.element_ttl; in mesh_path_start_discovery()
1090 if (ttl == 0) { in mesh_path_start_discovery()
1105 ttl, lifetime, 0, ifmsh->preq_id++, sdata); in mesh_path_start_discovery()