Lines Matching refs:timer_id

176         timer_id: RtxTimerId,  field
185 timer_id: RtxTimerId::T1Init, in default()
194 async fn on_retransmission_timeout(&mut self, timer_id: RtxTimerId, n_rtos: usize) { in on_retransmission_timeout()
200 assert_eq!(self.timer_id, timer_id, "unexpected timer ID: {timer_id}"); in on_retransmission_timeout()
209 async fn on_retransmission_failure(&mut self, timer_id: RtxTimerId) { in on_retransmission_failure()
212 assert_eq!(self.timer_id, timer_id, "unexpted timer ID: {timer_id}"); in on_retransmission_failure()
225 let timer_id = RtxTimerId::T1Init; in test_rtx_timer_callback_interval() localVariable
229 timer_id, in test_rtx_timer_callback_interval()
232 let rt = RtxTimer::new(Arc::downgrade(&obs), timer_id, PATH_MAX_RETRANS); in test_rtx_timer_callback_interval()
252 let timer_id = RtxTimerId::T3RTX; in test_rtx_timer_last_start_wins() localVariable
256 timer_id, in test_rtx_timer_last_start_wins()
259 let rt = RtxTimer::new(Arc::downgrade(&obs), timer_id, PATH_MAX_RETRANS); in test_rtx_timer_last_start_wins()
280 let timer_id = RtxTimerId::T3RTX; in test_rtx_timer_stop_right_after_start() localVariable
284 timer_id, in test_rtx_timer_stop_right_after_start()
287 let rt = RtxTimer::new(Arc::downgrade(&obs), timer_id, PATH_MAX_RETRANS); in test_rtx_timer_stop_right_after_start()
305 let timer_id = RtxTimerId::T1Cookie; in test_rtx_timer_start_stop_then_start() localVariable
309 timer_id, in test_rtx_timer_start_stop_then_start()
312 let rt = RtxTimer::new(Arc::downgrade(&obs), timer_id, PATH_MAX_RETRANS); in test_rtx_timer_start_stop_then_start()
334 let timer_id = RtxTimerId::T2Shutdown; in test_rtx_timer_start_and_stop_in_atight_loop() localVariable
338 timer_id, in test_rtx_timer_start_and_stop_in_atight_loop()
341 let rt = RtxTimer::new(Arc::downgrade(&obs), timer_id, PATH_MAX_RETRANS); in test_rtx_timer_start_and_stop_in_atight_loop()
360 let timer_id = RtxTimerId::Reconfig; in test_rtx_timer_should_stop_after_rtx_failure() localVariable
364 timer_id, in test_rtx_timer_should_stop_after_rtx_failure()
370 let rt = RtxTimer::new(Arc::downgrade(&obs), timer_id, PATH_MAX_RETRANS); in test_rtx_timer_should_stop_after_rtx_failure()
409 let timer_id = RtxTimerId::Reconfig; in test_rtx_timer_should_not_stop_if_max_retrans_is_zero() localVariable
414 timer_id, in test_rtx_timer_should_not_stop_if_max_retrans_is_zero()
421 let rt = RtxTimer::new(Arc::downgrade(&obs), timer_id, 0); in test_rtx_timer_should_not_stop_if_max_retrans_is_zero()
462 let timer_id = RtxTimerId::Reconfig; in test_rtx_timer_stop_timer_that_is_not_running_is_noop() localVariable
464 timer_id, in test_rtx_timer_stop_timer_that_is_not_running_is_noop()
469 let rt = RtxTimer::new(Arc::downgrade(&obs), timer_id, PATH_MAX_RETRANS); in test_rtx_timer_stop_timer_that_is_not_running_is_noop()
488 let timer_id = RtxTimerId::Reconfig; in test_rtx_timer_closed_timer_wont_start() localVariable
492 timer_id, in test_rtx_timer_closed_timer_wont_start()
495 let rt = RtxTimer::new(Arc::downgrade(&obs), timer_id, PATH_MAX_RETRANS); in test_rtx_timer_closed_timer_wont_start()