Enable a TCP timer. @param[in, out] Tcb Pointer to the TCP_CB of this TCP instance. @param[in] Timer The index of the timer to be enabled. @param[in] TimeOut The timeout value of this timer. **/
| 369 | |
| 370 | **/ |
| 371 | VOID |
| 372 | TcpSetTimer ( |
| 373 | IN OUT TCP_CB *Tcb, |
| 374 | IN UINT16 Timer, |
| 375 | IN UINT32 TimeOut |
| 376 | ) |
| 377 | { |
| 378 | TCP_SET_TIMER (Tcb->EnabledTimer, Timer); |
| 379 | Tcb->Timer[Timer] = mTcpTick + TimeOut; |
| 380 | |
| 381 | TcpUpdateTimer (Tcb); |
| 382 | } |
| 383 | |
| 384 | /** |
| 385 | Clear one TCP timer. |
no test coverage detected