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()
224 * @ttl: allowed remaining hops
237 u8 ttl, const u8 *target, u32 target_sn, in mesh_path_error_tx() argument
274 /* ttl */ in mesh_path_error_tx()
275 *pos++ = ttl; in mesh_path_error_tx()
589 u8 target_flags, ttl, flags; in hwmp_preq_frame_process() local
661 ttl = ifmsh->mshcfg.element_ttl; in hwmp_preq_frame_process()
662 if (ttl != 0) { in hwmp_preq_frame_process()
666 target_sn, mgmt->sa, 0, ttl, in hwmp_preq_frame_process()
678 ttl = PREQ_IE_TTL(preq_elem); in hwmp_preq_frame_process()
680 if (ttl <= 1) { in hwmp_preq_frame_process()
685 --ttl; in hwmp_preq_frame_process()
698 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process()
724 u8 ttl, hopcount, flags; in hwmp_prep_frame_process() local
739 ttl = PREP_IE_TTL(prep_elem); in hwmp_prep_frame_process()
740 if (ttl <= 1) { in hwmp_prep_frame_process()
757 --ttl; in hwmp_prep_frame_process()
767 ttl, lifetime, metric, 0, sdata); in hwmp_prep_frame_process()
785 u8 ttl; in hwmp_perr_frame_process() local
791 ttl = PERR_IE_TTL(perr_elem); in hwmp_perr_frame_process()
792 if (ttl <= 1) { in hwmp_perr_frame_process()
796 ttl--; in hwmp_perr_frame_process()
821 mesh_path_error_tx(sdata, ttl, target_addr, in hwmp_perr_frame_process()
839 u8 ttl, flags, hopcount; in hwmp_rann_frame_process() local
844 ttl = rann->rann_ttl; in hwmp_rann_frame_process()
894 !(mpath->flags & MESH_PATH_FIXED) && (ttl != 0)) { in hwmp_rann_frame_process()
912 if (ttl <= 1) { in hwmp_rann_frame_process()
917 ttl--; in hwmp_rann_frame_process()
922 hopcount, ttl, interval, in hwmp_rann_frame_process()
1060 u8 ttl, target_flags = 0; in mesh_path_start_discovery() local
1115 ttl = sdata->u.mesh.mshcfg.element_ttl; in mesh_path_start_discovery()
1116 if (ttl == 0) { in mesh_path_start_discovery()
1131 ttl, lifetime, 0, ifmsh->preq_id++, sdata); in mesh_path_start_discovery()