MCPcopy Create free account
hub / github.com/CloverHackyColor/CloverBootloader / TcpSetTimer

Function TcpSetTimer

NetworkPkg/TcpDxe/TcpTimer.c:371–382  ·  view source on GitHub ↗

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. **/

Source from the content-addressed store, hash-verified

369
370**/
371VOID
372TcpSetTimer (
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.

Callers 7

TcpOnAppConnectFunction · 0.85
TcpToSendDataFunction · 0.85
TcpDeliverDataFunction · 0.85
TcpInputFunction · 0.85
TcpRexmitTimeoutFunction · 0.85
TcpSetProbeTimerFunction · 0.85
TcpSetKeepaliveTimerFunction · 0.85

Calls 1

TcpUpdateTimerFunction · 0.85

Tested by

no test coverage detected