Lines Matching refs:ttl
105 u8 hop_count, u8 ttl, in mesh_path_sel_frame_tx() argument
161 *pos++ = ttl; in mesh_path_sel_frame_tx()
237 u8 ttl, const u8 *target, u32 target_sn, in mesh_path_error_tx() argument
276 *pos++ = ttl; in mesh_path_error_tx()
532 u8 target_flags, ttl, flags; in hwmp_preq_frame_process() local
600 ttl = ifmsh->mshcfg.element_ttl; in hwmp_preq_frame_process()
601 if (ttl != 0) { in hwmp_preq_frame_process()
605 target_sn, mgmt->sa, 0, ttl, in hwmp_preq_frame_process()
617 ttl = PREQ_IE_TTL(preq_elem); in hwmp_preq_frame_process()
619 if (ttl <= 1) { in hwmp_preq_frame_process()
624 --ttl; in hwmp_preq_frame_process()
637 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process()
663 u8 ttl, hopcount, flags; in hwmp_prep_frame_process() local
678 ttl = PREP_IE_TTL(prep_elem); in hwmp_prep_frame_process()
679 if (ttl <= 1) { in hwmp_prep_frame_process()
696 --ttl; in hwmp_prep_frame_process()
706 ttl, lifetime, metric, 0, sdata); in hwmp_prep_frame_process()
724 u8 ttl; in hwmp_perr_frame_process() local
730 ttl = PERR_IE_TTL(perr_elem); in hwmp_perr_frame_process()
731 if (ttl <= 1) { in hwmp_perr_frame_process()
735 ttl--; in hwmp_perr_frame_process()
759 mesh_path_error_tx(sdata, ttl, target_addr, in hwmp_perr_frame_process()
777 u8 ttl, flags, hopcount; in hwmp_rann_frame_process() local
782 ttl = rann->rann_ttl; in hwmp_rann_frame_process()
829 !(mpath->flags & MESH_PATH_FIXED) && (ttl != 0)) { in hwmp_rann_frame_process()
847 if (ttl <= 1) { in hwmp_rann_frame_process()
852 ttl--; in hwmp_rann_frame_process()
857 hopcount, ttl, interval, in hwmp_rann_frame_process()
991 u8 ttl, target_flags = 0; in mesh_path_start_discovery() local
1042 ttl = sdata->u.mesh.mshcfg.element_ttl; in mesh_path_start_discovery()
1043 if (ttl == 0) { in mesh_path_start_discovery()
1058 ttl, lifetime, 0, ifmsh->preq_id++, sdata); in mesh_path_start_discovery()