15#define TCP_COMP_VAL(Min, Max, Default, Val) \
16 ((((Val) <= (Max)) && ((Val) >= (Min))) ? (Val) : (Default))
99 IN TCP_PORTNO LocalPort,
101 IN TCP_PORTNO RemotePort,
610 IN VOID *Context OPTIONAL
684 IN VOID *Data OPTIONAL
EFI_STATUS Tcp6RefreshNeighbor(IN TCP_CB *Tcb, IN EFI_IP_ADDRESS *Neighbor, IN UINT32 Timeout)
VOID EFIAPI TcpTicking(IN EFI_EVENT Event, IN VOID *Context)
INTN TcpOnAppSend(IN OUT TCP_CB *Tcb)
VOID TcpClose(IN OUT TCP_CB *Tcb)
EFI_STATUS TcpInitTcbLocal(IN OUT TCP_CB *Tcb)
INTN TcpRetransmit(IN TCP_CB *Tcb, IN TCP_SEQNO Seq)
VOID TcpClearTimer(IN OUT TCP_CB *Tcb, IN UINT16 Timer)
INTN TcpVerifySegment(IN NET_BUF *Nbuf)
INTN TcpSendReset(IN TCP_CB *Tcb, IN TCP_HEAD *Head, IN INT32 Len, IN EFI_IP_ADDRESS *Local, IN EFI_IP_ADDRESS *Remote, IN UINT8 Version)
EFI_STATUS TcpDispatcher(IN SOCKET *Sock, IN UINT8 Request, IN VOID *Data OPTIONAL)
INTN TcpToSendData(IN OUT TCP_CB *Tcb, IN INTN Force)
VOID TcpSetProbeTimer(IN OUT TCP_CB *Tcb)
UINT32 TcpRcvWinNow(IN TCP_CB *Tcb)
INTN TcpInsertTcb(IN TCP_CB *Tcb)
VOID TcpOnAppConsume(IN TCP_CB *Tcb)
VOID TcpSetTimer(IN OUT TCP_CB *Tcb, IN UINT16 Timer, IN UINT32 TimeOut)
UINT32 TcpRcvWinOld(IN TCP_CB *Tcb)
INTN TcpSendIpPacket(IN TCP_CB *Tcb, IN NET_BUF *Nbuf, IN EFI_IP_ADDRESS *Src, IN EFI_IP_ADDRESS *Dest, IN UINT8 Version)
EFI_STATUS TcpOnAppConnect(IN OUT TCP_CB *Tcb)
VOID TcpOnAppClose(IN OUT TCP_CB *Tcb)
BOOLEAN TcpFindTcbByPeer(IN EFI_IP_ADDRESS *Addr, IN TCP_PORTNO Port, IN UINT8 Version)
VOID TcpSetState(IN TCP_CB *Tcb, IN UINT8 State)
VOID EFIAPI TcpRxCallback(IN EFI_STATUS Status, IN UINT8 IcmpErr, IN EFI_NET_SESSION_DATA *NetSession, IN NET_BUF *Pkt, IN VOID *Context OPTIONAL)
TCP_CB * TcpLocateTcb(IN TCP_PORTNO LocalPort, IN EFI_IP_ADDRESS *LocalIp, IN TCP_PORTNO RemotePort, IN EFI_IP_ADDRESS *RemoteIp, IN UINT8 Version, IN BOOLEAN Syn)
VOID(* TCP_TIMER_HANDLER)(IN OUT TCP_CB *Tcb)
VOID TcpIcmpInput(IN NET_BUF *Nbuf, IN UINT8 IcmpErr, IN EFI_IP_ADDRESS *Src, IN EFI_IP_ADDRESS *Dst, IN UINT8 Version)
VOID TcpOnAppAbort(IN TCP_CB *Tcb)
VOID TcpResetConnection(IN TCP_CB *Tcb)
EFI_STATUS TcpInstallDevicePath(IN SOCKET *Sock)
TCP_CB * TcpCloneTcb(IN TCP_CB *Tcb)
TCP_SEG * TcpFormatNetbuf(IN TCP_CB *Tcb, IN OUT NET_BUF *Nbuf)
INTN TcpSendZeroProbe(IN OUT TCP_CB *Tcb)
VOID TcpInitTcbPeer(IN OUT TCP_CB *Tcb, IN TCP_SEG *Seg, IN TCP_OPTION *Opt)
VOID TcpSendAck(IN OUT TCP_CB *Tcb)
VOID TcpClearAllTimer(IN OUT TCP_CB *Tcb)
UINT16 TcpGetRcvMss(IN SOCKET *Sock)
UINT32 TcpDataToSend(IN TCP_CB *Tcb, IN INTN Force)
TCP_SEQNO TcpGetMaxSndNxt(IN TCP_CB *Tcb)
INTN TcpInput(IN NET_BUF *Nbuf, IN EFI_IP_ADDRESS *Src, IN EFI_IP_ADDRESS *Dst, IN UINT8 Version)
VOID TcpSetKeepaliveTimer(IN OUT TCP_CB *Tcb)
VOID TcpToSendAck(IN OUT TCP_CB *Tcb)
UINT16 TcpChecksum(IN NET_BUF *Nbuf, IN UINT16 HeadSum)