TianoCore EDK2 master
|
#include "TcpMain.h"
Go to the source code of this file.
Functions | |
VOID | TcpConnectTimeout (IN OUT TCP_CB *Tcb) |
VOID | TcpRexmitTimeout (IN OUT TCP_CB *Tcb) |
VOID | TcpProbeTimeout (IN OUT TCP_CB *Tcb) |
VOID | TcpKeepaliveTimeout (IN OUT TCP_CB *Tcb) |
VOID | TcpFinwait2Timeout (IN OUT TCP_CB *Tcb) |
VOID | Tcp2MSLTimeout (IN OUT TCP_CB *Tcb) |
VOID | TcpClose (IN OUT TCP_CB *Tcb) |
VOID | TcpBackoffRto (IN OUT TCP_CB *Tcb) |
VOID | TcpUpdateTimer (IN OUT TCP_CB *Tcb) |
VOID | TcpSetTimer (IN OUT TCP_CB *Tcb, IN UINT16 Timer, IN UINT32 TimeOut) |
VOID | TcpClearTimer (IN OUT TCP_CB *Tcb, IN UINT16 Timer) |
VOID | TcpClearAllTimer (IN OUT TCP_CB *Tcb) |
VOID | TcpSetProbeTimer (IN OUT TCP_CB *Tcb) |
VOID | TcpSetKeepaliveTimer (IN OUT TCP_CB *Tcb) |
VOID EFIAPI | TcpTickingDpc (IN VOID *Context) |
VOID EFIAPI | TcpTicking (IN EFI_EVENT Event, IN VOID *Context) |
Variables | |
UINT32 | mTcpTick = 1000 |
TCP_TIMER_HANDLER | mTcpTimerHandler [TCP_TIMER_NUMBER] |
TCP timer related functions.
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file TcpTimer.c.
Timeout handler for 2MSL timer.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 310 of file TcpTimer.c.
Backoff the RTO.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 113 of file TcpTimer.c.
Clear all TCP timers.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 400 of file TcpTimer.c.
Clear one TCP timer.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
[in] | Timer | The index of the timer to be cleared. |
Definition at line 384 of file TcpTimer.c.
Close the TCP connection.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 96 of file TcpTimer.c.
Connect timeout handler.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 143 of file TcpTimer.c.
Timeout handler for FIN_WAIT_2 timer.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 290 of file TcpTimer.c.
Timeout handler for keepalive timer.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 261 of file TcpTimer.c.
Timeout handler for window probe timer.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 234 of file TcpTimer.c.
Timeout handler for TCP retransmission timer.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 179 of file TcpTimer.c.
Enable the keepalive timer and set the timeout value.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 442 of file TcpTimer.c.
Enable the window prober timer and set the timeout value.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 415 of file TcpTimer.c.
Enable a TCP timer.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
[in] | Timer | The index of the timer to be enabled. |
[in] | TimeOut | The timeout value of this timer. |
Definition at line 364 of file TcpTimer.c.
Heart beat timer handler, queues the DPC at TPL_CALLBACK.
[in] | Event | Timer event signaled, ignored. |
[in] | Context | Context of the timer event, ignored. |
Definition at line 563 of file TcpTimer.c.
VOID EFIAPI TcpTickingDpc | ( | IN VOID * | Context | ) |
Heart beat timer handler.
[in] | Context | Context of the timer event, ignored. |
Definition at line 476 of file TcpTimer.c.
Update the timer status and the next expire time according to the timers to expire in a specific future time slot.
[in,out] | Tcb | Pointer to the TCP_CB of this TCP instance. |
Definition at line 331 of file TcpTimer.c.
UINT32 mTcpTick = 1000 |
Definition at line 12 of file TcpTimer.c.
TCP_TIMER_HANDLER mTcpTimerHandler[TCP_TIMER_NUMBER] |
Definition at line 80 of file TcpTimer.c.