Home
last modified time | relevance | path

Searched refs:TCP_TICK_HZ (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DTcpProto.h93 #define TCP_TICK_HZ 5 ///< The frequence of TCP tick. macro
95 #define TCP_RTO_MIN TCP_TICK_HZ ///< The minium value of RTO.
96 #define TCP_RTO_MAX (TCP_TICK_HZ * 60) ///< The maxium value of RTO.
103 #define TCP_KEEPALIVE_IDLE_MIN (TCP_TICK_HZ * 60 * 60 * 2) ///< First keepalive.
104 #define TCP_KEEPALIVE_PERIOD (TCP_TICK_HZ * 60)
106 #define TCP_FIN_WAIT2_TIME (2 * TCP_TICK_HZ)
107 #define TCP_TIME_WAIT_TIME (2 * TCP_TICK_HZ)
108 #define TCP_PAWS_24DAY (24 * 24 * 60 * 60 * TCP_TICK_HZ)
109 #define TCP_CONNECT_TIME (75 * TCP_TICK_HZ)
127 #define TCP_CONNECT_TIME_MIN (60 * TCP_TICK_HZ)
[all …]
DTcpDispatcher.c117 Option->ConnectionTimeout = Tcb->ConnectTimeout / TCP_TICK_HZ; in Tcp4GetMode()
119 Option->FinTimeout = Tcb->FinWait2Timeout / TCP_TICK_HZ; in Tcp4GetMode()
120 Option->TimeWaitTimeout = Tcb->TimeWaitTimeout / TCP_TICK_HZ; in Tcp4GetMode()
122 Option->KeepAliveTime = Tcb->KeepAliveIdle / TCP_TICK_HZ; in Tcp4GetMode()
123 Option->KeepAliveInterval = Tcb->KeepAlivePeriod / TCP_TICK_HZ; in Tcp4GetMode()
195 Option->ConnectionTimeout = Tcb->ConnectTimeout / TCP_TICK_HZ; in Tcp6GetMode()
197 Option->FinTimeout = Tcb->FinWait2Timeout / TCP_TICK_HZ; in Tcp6GetMode()
198 Option->TimeWaitTimeout = Tcb->TimeWaitTimeout / TCP_TICK_HZ; in Tcp6GetMode()
200 Option->KeepAliveTime = Tcb->KeepAliveIdle / TCP_TICK_HZ; in Tcp6GetMode()
201 Option->KeepAliveInterval = Tcb->KeepAlivePeriod / TCP_TICK_HZ; in Tcp6GetMode()
[all …]
DTcpDriver.c123 (UINT64) (TICKS_PER_SECOND / TCP_TICK_HZ) in TcpCreateTimer()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DTcp4Proto.h100 #define TCP_TICK_HZ 5 ///< The frequence of TCP tick macro
102 #define TCP_RTO_MIN TCP_TICK_HZ ///< The minium value of RTO
103 #define TCP_RTO_MAX (TCP_TICK_HZ * 60) ///< The maxium value of RTO
110 #define TCP_KEEPALIVE_IDLE_MIN (TCP_TICK_HZ * 60 * 60 * 2) ///< First keep alive
111 #define TCP_KEEPALIVE_PERIOD (TCP_TICK_HZ * 60)
113 #define TCP_FIN_WAIT2_TIME (2 * TCP_TICK_HZ)
114 #define TCP_TIME_WAIT_TIME (2 * TCP_TICK_HZ)
115 #define TCP_PAWS_24DAY (24 * 24 * 60 * 60 * TCP_TICK_HZ)
116 #define TCP_CONNECT_TIME (75 * TCP_TICK_HZ)
134 #define TCP_CONNECT_TIME_MIN (60 * TCP_TICK_HZ)
[all …]
DTcp4Dispatcher.c118 Option->ConnectionTimeout = Tcb->ConnectTimeout / TCP_TICK_HZ; in Tcp4GetMode()
120 Option->FinTimeout = Tcb->FinWait2Timeout / TCP_TICK_HZ; in Tcp4GetMode()
121 Option->TimeWaitTimeout = Tcb->TimeWaitTimeout / TCP_TICK_HZ; in Tcp4GetMode()
123 Option->KeepAliveTime = Tcb->KeepAliveIdle / TCP_TICK_HZ; in Tcp4GetMode()
124 Option->KeepAliveInterval = Tcb->KeepAlivePeriod / TCP_TICK_HZ; in Tcp4GetMode()
437 Tcb->Rto = 3 * TCP_TICK_HZ; in Tcp4ConfigurePcb()
517 (UINT32) (Option->FinTimeout * TCP_TICK_HZ) in Tcp4ConfigurePcb()
525 (UINT32) (Option->TimeWaitTimeout * TCP_TICK_HZ) in Tcp4ConfigurePcb()
544 (UINT32) (Option->KeepAliveTime * TCP_TICK_HZ) in Tcp4ConfigurePcb()
550 (UINT32) (Option->KeepAliveInterval * TCP_TICK_HZ) in Tcp4ConfigurePcb()
[all …]
DTcp4Driver.c103 (UINT64) (TICKS_PER_SECOND / TCP_TICK_HZ) in Tcp4CreateTimer()