Home | History | Annotate | Download | only in TcpDxe

Lines Matching refs:Timer

2   TCP timer related functions.

32 Timeout handler for TCP retransmission timer.
43 Timeout handler for window probe timer.
54 Timeout handler for keepalive timer.
65 Timeout handler for FIN_WAIT_2 timer.
76 Timeout handler for 2MSL timer.
158 "TcpConnectTimeout: connection closed because conenction timer timeout for TCB %p\n",
169 "TcpConnectTimeout: send reset because connection timer timeout for TCB %p\n",
183 Timeout handler for TCP retransmission timer.
239 Timeout handler for window probe timer.
250 // This is the timer for sender's SWSA. RFC1122 requires
251 // a timer set for sender's SWSA, and suggest combine it
252 // with window probe timer. If data is sent, don't set
253 // the probe timer, since retransmit timer is on.
267 Timeout handler for keepalive timer.
297 Timeout handler for FIN_WAIT_2 timer.
309 "TcpFinwait2Timeout: connection closed because FIN_WAIT2 timer timeouts for TCB %p\n",
317 Timeout handler for 2MSL timer.
329 "Tcp2MSLTimeout: connection closed because TIME_WAIT timer timeouts for TCB %p\n",
337 Update the timer status and the next expire time according to the timers
360 TCP_TIME_LT (Tcb->Timer[Index], mTcpTick + Tcb->NextExpire)
363 Tcb->NextExpire = TCP_SUB_TIME (Tcb->Timer[Index], mTcpTick);
370 Enable a TCP timer.
373 @param[in] Timer The index of the timer to be enabled.
374 @param[in] TimeOut The timeout value of this timer.
380 IN UINT16 Timer,
384 TCP_SET_TIMER (Tcb->EnabledTimer, Timer);
385 Tcb->Timer[Timer] = mTcpTick + TimeOut;
391 Clear one TCP timer.
394 @param[in] Timer The index of the timer to be cleared.
400 IN UINT16 Timer
403 TCP_CLEAR_TIMER (Tcb->EnabledTimer, Timer);
423 Enable the window prober timer and set the timeout value.
453 Enable the keepalive timer and set the timeout value.
469 // Set the timer to KeepAliveIdle if either
470 // 1. the keepalive timer is off
471 // 2. The keepalive timer is on, but the idle
489 Heart beat timer handler.
491 @param[in] Context Context of the timer event, ignored.
538 // No timer is active or no timer expired
546 // Call the timeout handler for each expired timer.
550 if (TCP_TIMER_ON (Tcb->EnabledTimer, Index) && TCP_TIME_LEQ (Tcb->Timer[Index], mTcpTick)) {
552 // disable the timer before calling the handler
559 // The Tcb may have been deleted by the timer, or
560 // no other timer is set.
569 // If the Tcb still exist or some timer is set, update the timer
578 Heart beat timer handler, queues the DPC at TPL_CALLBACK.
580 @param[in] Event Timer event signaled, ignored.
581 @param[in] Context Context of the timer event, ignored.