Lines Matching refs:TcpWrap
62 Wrap->HttpToken->Status = Wrap->TcpWrap.Tx4Token.CompletionToken.Status; in HttpTcpTransmitNotifyDpc()
68 if (Wrap->TcpWrap.Tx4Token.Packet.TxData->FragmentTable[0].FragmentBuffer != NULL) { in HttpTcpTransmitNotifyDpc()
69 FreePool (Wrap->TcpWrap.Tx4Token.Packet.TxData->FragmentTable[0].FragmentBuffer); in HttpTcpTransmitNotifyDpc()
72 if (Wrap->TcpWrap.Tx4Token.CompletionToken.Event != NULL) { in HttpTcpTransmitNotifyDpc()
73 gBS->CloseEvent (Wrap->TcpWrap.Tx4Token.CompletionToken.Event); in HttpTcpTransmitNotifyDpc()
77 Wrap->HttpToken->Status = Wrap->TcpWrap.Tx6Token.CompletionToken.Status; in HttpTcpTransmitNotifyDpc()
83 if (Wrap->TcpWrap.Tx6Token.Packet.TxData->FragmentTable[0].FragmentBuffer != NULL) { in HttpTcpTransmitNotifyDpc()
84 FreePool (Wrap->TcpWrap.Tx6Token.Packet.TxData->FragmentTable[0].FragmentBuffer); in HttpTcpTransmitNotifyDpc()
87 if (Wrap->TcpWrap.Tx6Token.CompletionToken.Event != NULL) { in HttpTcpTransmitNotifyDpc()
88 gBS->CloseEvent (Wrap->TcpWrap.Tx6Token.CompletionToken.Event); in HttpTcpTransmitNotifyDpc()
93 Wrap->TcpWrap.IsTxDone = TRUE; in HttpTcpTransmitNotifyDpc()
150 gBS->CloseEvent (Wrap->TcpWrap.Rx6Token.CompletionToken.Event); in HttpTcpReceiveNotifyDpc()
151 Wrap->TcpWrap.Rx6Token.CompletionToken.Event = NULL; in HttpTcpReceiveNotifyDpc()
153 if (EFI_ERROR (Wrap->TcpWrap.Rx6Token.CompletionToken.Status)) { in HttpTcpReceiveNotifyDpc()
154 …DEBUG ((EFI_D_ERROR, "HttpTcpReceiveNotifyDpc: %r!\n", Wrap->TcpWrap.Rx6Token.CompletionToken.Stat… in HttpTcpReceiveNotifyDpc()
155 Wrap->HttpToken->Status = Wrap->TcpWrap.Rx6Token.CompletionToken.Status; in HttpTcpReceiveNotifyDpc()
170 gBS->CloseEvent (Wrap->TcpWrap.Rx4Token.CompletionToken.Event); in HttpTcpReceiveNotifyDpc()
171 Wrap->TcpWrap.Rx4Token.CompletionToken.Event = NULL; in HttpTcpReceiveNotifyDpc()
173 if (EFI_ERROR (Wrap->TcpWrap.Rx4Token.CompletionToken.Status)) { in HttpTcpReceiveNotifyDpc()
174 …DEBUG ((EFI_D_ERROR, "HttpTcpReceiveNotifyDpc: %r!\n", Wrap->TcpWrap.Rx4Token.CompletionToken.Stat… in HttpTcpReceiveNotifyDpc()
175 Wrap->HttpToken->Status = Wrap->TcpWrap.Rx4Token.CompletionToken.Status; in HttpTcpReceiveNotifyDpc()
195 Length = (UINTN) Wrap->TcpWrap.Rx6Data.FragmentTable[0].FragmentLength; in HttpTcpReceiveNotifyDpc()
197 Length = (UINTN) Wrap->TcpWrap.Rx4Data.FragmentTable[0].FragmentLength; in HttpTcpReceiveNotifyDpc()
243 Wrap->TcpWrap.IsRxDone = TRUE; in HttpTcpReceiveNotifyDpc()
245 Wrap->HttpToken->Status = Wrap->TcpWrap.Rx6Token.CompletionToken.Status; in HttpTcpReceiveNotifyDpc()
247 Wrap->HttpToken->Status = Wrap->TcpWrap.Rx4Token.CompletionToken.Status; in HttpTcpReceiveNotifyDpc()
423 HTTP_TCP_TOKEN_WRAP *TcpWrap; in HttpCreateTcpTxEvent() local
426 TcpWrap = &Wrap->TcpWrap; in HttpCreateTcpTxEvent()
434 &TcpWrap->Tx4Token.CompletionToken.Event in HttpCreateTcpTxEvent()
440 TcpWrap->Tx4Data.Push = TRUE; in HttpCreateTcpTxEvent()
441 TcpWrap->Tx4Data.Urgent = FALSE; in HttpCreateTcpTxEvent()
442 TcpWrap->Tx4Data.FragmentCount = 1; in HttpCreateTcpTxEvent()
443 TcpWrap->Tx4Token.Packet.TxData = &Wrap->TcpWrap.Tx4Data; in HttpCreateTcpTxEvent()
444 TcpWrap->Tx4Token.CompletionToken.Status = EFI_NOT_READY; in HttpCreateTcpTxEvent()
452 &TcpWrap->Tx6Token.CompletionToken.Event in HttpCreateTcpTxEvent()
458 TcpWrap->Tx6Data.Push = TRUE; in HttpCreateTcpTxEvent()
459 TcpWrap->Tx6Data.Urgent = FALSE; in HttpCreateTcpTxEvent()
460 TcpWrap->Tx6Data.FragmentCount = 1; in HttpCreateTcpTxEvent()
461 TcpWrap->Tx6Token.Packet.TxData = &Wrap->TcpWrap.Tx6Data; in HttpCreateTcpTxEvent()
462 TcpWrap->Tx6Token.CompletionToken.Status =EFI_NOT_READY; in HttpCreateTcpTxEvent()
539 HTTP_TCP_TOKEN_WRAP *TcpWrap; in HttpCreateTcpRxEvent() local
542 TcpWrap = &Wrap->TcpWrap; in HttpCreateTcpRxEvent()
549 &TcpWrap->Rx4Token.CompletionToken.Event in HttpCreateTcpRxEvent()
555 TcpWrap->Rx4Data.FragmentCount = 1; in HttpCreateTcpRxEvent()
556 TcpWrap->Rx4Token.Packet.RxData = &Wrap->TcpWrap.Rx4Data; in HttpCreateTcpRxEvent()
557 TcpWrap->Rx4Token.CompletionToken.Status = EFI_NOT_READY; in HttpCreateTcpRxEvent()
565 &TcpWrap->Rx6Token.CompletionToken.Event in HttpCreateTcpRxEvent()
571 TcpWrap->Rx6Data.FragmentCount = 1; in HttpCreateTcpRxEvent()
572 TcpWrap->Rx6Token.Packet.RxData = &Wrap->TcpWrap.Rx6Data; in HttpCreateTcpRxEvent()
573 TcpWrap->Rx6Token.CompletionToken.Status = EFI_NOT_READY; in HttpCreateTcpRxEvent()
596 if (Wrap->TcpWrap.Rx6Token.CompletionToken.Event != NULL) { in HttpCloseTcpRxEvent()
597 gBS->CloseEvent (Wrap->TcpWrap.Rx6Token.CompletionToken.Event); in HttpCloseTcpRxEvent()
605 if (Wrap->TcpWrap.Rx4Token.CompletionToken.Event != NULL) { in HttpCloseTcpRxEvent()
606 gBS->CloseEvent (Wrap->TcpWrap.Rx4Token.CompletionToken.Event); in HttpCloseTcpRxEvent()
1520 Tx4Token = &Wrap->TcpWrap.Tx4Token; in HttpTransmitTcp()
1534 Wrap->TcpWrap.IsTxDone = FALSE; in HttpTransmitTcp()
1543 Tx6Token = &Wrap->TcpWrap.Tx6Token; in HttpTransmitTcp()
1557 Wrap->TcpWrap.IsTxDone = FALSE; in HttpTransmitTcp()
1626 if (!ValueInItem->TcpWrap.IsTxDone) { in HttpTcpNotReady()
1663 if (ValueInItem->TcpWrap.IsTxDone) { in HttpTcpTransmit()
2033 Rx6Token = &Wrap->TcpWrap.Rx6Token; in HttpTcpReceiveBody()
2045 Rx4Token = &Wrap->TcpWrap.Rx4Token; in HttpTcpReceiveBody()
2083 Rx6Token = &Wrap->TcpWrap.Rx6Token; in HttpTcpTokenCleanup()
2105 Rx4Token = &Wrap->TcpWrap.Rx4Token; in HttpTcpTokenCleanup()