Home
last modified time | relevance | path

Searched refs:Sk (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/
DTcpDispatcher.c81 Sock = Tcb->Sk; in Tcp4GetMode()
113 Option->ReceiveBufferSize = GET_RCV_BUFFSIZE (Tcb->Sk); in Tcp4GetMode()
114 Option->SendBufferSize = GET_SND_BUFFSIZE (Tcb->Sk); in Tcp4GetMode()
115 Option->MaxSynBackLog = GET_BACKLOG (Tcb->Sk); in Tcp4GetMode()
164 Sock = Tcb->Sk; in Tcp6GetMode()
191 Option->ReceiveBufferSize = GET_RCV_BUFFSIZE (Tcb->Sk); in Tcp6GetMode()
192 Option->SendBufferSize = GET_SND_BUFFSIZE (Tcb->Sk); in Tcp6GetMode()
193 Option->MaxSynBackLog = GET_BACKLOG (Tcb->Sk); in Tcp6GetMode()
311 Sock = Tcb->Sk; in TcpFlushPcb()
348 IN SOCKET *Sk in TcpAttachPcb() argument
[all …]
DTcpMisc.c60 if (Tcb->Sk->IpVersion == IP_VERSION_4) { in TcpInitTcbLocal()
83 Tcb->RcvWnd = GET_RCV_BUFFSIZE (Tcb->Sk); in TcpInitTcbLocal()
126 RcvMss = TcpGetRcvMss (Tcb->Sk); in TcpInitTcbPeer()
261 if ((Version != Node->Sk->IpVersion) || in TcpLocateListenTcb()
330 if ((Version == Tcb->Sk->IpVersion) && in TcpFindTcbByPeer()
342 if ((Version == Tcb->Sk->IpVersion) && in TcpFindTcbByPeer()
395 if ((Version == Tcb->Sk->IpVersion) && in TcpLocateTcb()
461 if (TCP_PEER_EQUAL (&Tcb->LocalEnd, &Node->LocalEnd, Tcb->Sk->IpVersion) && in TcpInsertTcb()
462 TCP_PEER_EQUAL (&Tcb->RemoteEnd, &Node->RemoteEnd, Tcb->Sk->IpVersion) in TcpInsertTcb()
507 Clone->Sk = SockClone (Tcb->Sk); in TcpCloneTcb()
[all …]
DTcpOutput.c73 SOCKET *Sk; in TcpRcvWinNow() local
78 Sk = Tcb->Sk; in TcpRcvWinNow()
79 ASSERT (Sk != NULL); in TcpRcvWinNow()
83 Win = SockGetFreeSpace (Sk, SOCK_RCV_BUF); in TcpRcvWinNow()
95 if ((Increase > Tcb->SndMss) || (2 * Increase >= GET_RCV_BUFFSIZE (Sk))) { in TcpRcvWinNow()
126 Wnd = GET_RCV_BUFFSIZE (Tcb->Sk); in TcpComputeWnd()
181 SOCKET *Sk; in TcpDataToSend() local
187 Sk = Tcb->Sk; in TcpDataToSend()
188 ASSERT (Sk != NULL); in TcpDataToSend()
215 Left = GET_SND_DATASIZE (Sk) + TCP_SUB_SEQ (TcpGetMaxSndNxt (Tcb), Tcb->SndNxt); in TcpDataToSend()
[all …]
DTcpTimer.c162 if (EFI_ABORTED == Tcb->Sk->SockError) { in TcpConnectTimeout()
163 SOCK_ERROR (Tcb->Sk, EFI_TIMEOUT); in TcpConnectTimeout()
221 if (EFI_ABORTED == Tcb->Sk->SockError) { in TcpRexmitTimeout()
222 SOCK_ERROR (Tcb->Sk, EFI_TIMEOUT); in TcpRexmitTimeout()
284 if (EFI_ABORTED == Tcb->Sk->SockError) { in TcpKeepaliveTimeout()
285 SOCK_ERROR (Tcb->Sk, EFI_TIMEOUT); in TcpKeepaliveTimeout()
DTcpIo.c105 Sock = Tcb->Sk; in TcpSendIpPacket()
185 Sock = Tcb->Sk; in Tcp6RefreshNeighbor()
DTcpInput.c403 ASSERT ((Tcb != NULL) && (Tcb->Sk != NULL)); in TcpDeliverData()
544 SockDataRcvd (Tcb->Sk, Nbuf, Urgent); in TcpDeliverData()
549 SockNoMoreData (Tcb->Sk); in TcpDeliverData()
930 SOCK_ERROR (Tcb->Sk, EFI_CONNECTION_RESET); in TcpInput()
1058 SOCK_ERROR (Tcb->Sk, EFI_CONNECTION_REFUSED); in TcpInput()
1072 SOCK_ERROR (Tcb->Sk, EFI_CONNECTION_RESET); in TcpInput()
1100 SOCK_ERROR (Tcb->Sk, EFI_CONNECTION_RESET); in TcpInput()
1514 ASSERT ((Tcb != NULL) && (Tcb->Sk != NULL)); in TcpInput()
1535 ASSERT (Tcb->Sk != NULL); in TcpInput()
1601 Tcb->Sk->IpVersion, in TcpIcmpInput()
[all …]
DTcpOption.c87 ASSERT ((Tcb != NULL) && (Tcb->Sk != NULL)); in TcpComputeScale()
89 BufSize = GET_RCV_BUFFSIZE (Tcb->Sk); in TcpComputeScale()
DTcpProto.h245 SOCKET *Sk; ///< The socket it controled. member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/
DTcp4Dispatcher.c84 Sock = Tcb->Sk; in Tcp4GetMode()
114 Option->ReceiveBufferSize = GET_RCV_BUFFSIZE (Tcb->Sk); in Tcp4GetMode()
115 Option->SendBufferSize = GET_SND_BUFFSIZE (Tcb->Sk); in Tcp4GetMode()
116 Option->MaxSynBackLog = GET_BACKLOG (Tcb->Sk); in Tcp4GetMode()
223 Sock = Tcb->Sk; in Tcp4FlushPcb()
257 IN SOCKET *Sk in Tcp4AttachPcb() argument
275 ProtoData = (TCP4_PROTO_DATA *) Sk->ProtoReserved; in Tcp4AttachPcb()
296 Sk->SockHandle, in Tcp4AttachPcb()
309 Tcb->Sk = Sk; in Tcp4AttachPcb()
323 IN SOCKET *Sk in Tcp4DetachPcb() argument
[all …]
DTcp4Output.c74 SOCKET *Sk; in TcpRcvWinNow() local
79 Sk = Tcb->Sk; in TcpRcvWinNow()
80 ASSERT (Sk != NULL); in TcpRcvWinNow()
84 Win = SockGetFreeSpace (Sk, SOCK_RCV_BUF); in TcpRcvWinNow()
97 (2 * Increase >= GET_RCV_BUFFSIZE (Sk))) { in TcpRcvWinNow()
129 Wnd = GET_RCV_BUFFSIZE (Tcb->Sk); in TcpComputeWnd()
186 SOCKET *Sk; in TcpDataToSend() local
192 Sk = Tcb->Sk; in TcpDataToSend()
193 ASSERT (Sk != NULL); in TcpDataToSend()
220 Left = GET_SND_DATASIZE (Sk) + in TcpDataToSend()
[all …]
DTcp4Timer.c127 if (EFI_ABORTED == Tcb->Sk->SockError) { in TcpConnectTimeout()
128 SOCK_ERROR (Tcb->Sk, EFI_TIMEOUT); in TcpConnectTimeout()
178 if (EFI_ABORTED == Tcb->Sk->SockError) { in TcpRexmitTimeout()
179 SOCK_ERROR (Tcb->Sk, EFI_TIMEOUT); in TcpRexmitTimeout()
242 if (EFI_ABORTED == Tcb->Sk->SockError) { in TcpKeepaliveTimeout()
243 SOCK_ERROR (Tcb->Sk, EFI_TIMEOUT); in TcpKeepaliveTimeout()
DTcp4Misc.c75 Tcb->RcvWnd = GET_RCV_BUFFSIZE (Tcb->Sk); in TcpInitTcbLocal()
120 RcvMss = TcpGetRcvMss (Tcb->Sk); in TcpInitTcbPeer()
432 Clone->Sk = SockClone (Tcb->Sk); in TcpCloneTcb()
433 if (Clone->Sk == NULL) { in TcpCloneTcb()
439 ((TCP4_PROTO_DATA *) (Clone->Sk->ProtoReserved))->TcpPcb = Clone; in TcpCloneTcb()
519 SockConnEstablished (Tcb->Sk); in TcpSetState()
526 TcpInstallDevicePath (Tcb->Sk); in TcpSetState()
533 SockConnClosed (Tcb->Sk); in TcpSetState()
706 if (!IsListEmpty (&Tcb->RcvQue) || GET_RCV_DATASIZE (Tcb->Sk) != 0) { in TcpOnAppClose()
DTcp4Input.c381 ASSERT ((Tcb != NULL) && (Tcb->Sk != NULL)); in TcpDeliverData()
511 SockDataRcvd (Tcb->Sk, Nbuf, Urgent); in TcpDeliverData()
516 SockNoMoreData (Tcb->Sk); in TcpDeliverData()
858 SOCK_ERROR (Tcb->Sk, EFI_CONNECTION_RESET); in TcpInput()
972 SOCK_ERROR (Tcb->Sk, EFI_CONNECTION_REFUSED); in TcpInput()
985 SOCK_ERROR (Tcb->Sk, EFI_CONNECTION_RESET); in TcpInput()
1011 SOCK_ERROR (Tcb->Sk, EFI_CONNECTION_RESET); in TcpInput()
1378 ASSERT ((Tcb != NULL) && (Tcb->Sk != NULL)); in TcpInput()
1399 ASSERT (Tcb->Sk != NULL); in TcpInput()
1468 SOCK_ERROR (Tcb->Sk, IcmpErrStatus); in TcpIcmpInput()
DTcp4Option.c87 ASSERT ((Tcb != NULL) && (Tcb->Sk != NULL)); in TcpComputeScale()
89 BufSize = GET_RCV_BUFFSIZE (Tcb->Sk); in TcpComputeScale()
DTcp4Io.c91 Sock = Tcb->Sk; in TcpSendIpPacket()
DTcp4Proto.h168 SOCKET *Sk; ///< The socket it controled. member
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/
DCryptTs.c534 STACK_OF(X509_ATTRIBUTE) *Sk; in ImageTimestampVerify()
605 Sk = SignInfo->unauth_attr; in ImageTimestampVerify()
606 if (Sk == NULL) { // No timestamp counterSignature. in ImageTimestampVerify()
611 for (Index = 0; Index < (UINTN) sk_X509_ATTRIBUTE_num (Sk); Index++) { in ImageTimestampVerify()
615 Xa = sk_X509_ATTRIBUTE_value (Sk, (int)Index); in ImageTimestampVerify()