Searched refs:TxData (Results 1 - 25 of 42) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/MnpDxe/
H A DMnpIo.c35 EFI_MANAGED_NETWORK_TRANSMIT_DATA *TxData; local
43 TxData = Token->Packet.TxData;
45 if ((Token->Event == NULL) || (TxData == NULL) || (TxData->FragmentCount == 0)) {
47 // The token is invalid if the Event is NULL, or the TxData is NULL, or
54 if ((TxData->DestinationAddress != NULL) && (TxData->HeaderLength != 0)) {
64 FragmentTable = TxData->FragmentTable;
65 for (Index = 0; Index < TxData
118 MnpBuildTxPacket( IN MNP_SERVICE_DATA *MnpServiceData, IN EFI_MANAGED_NETWORK_TRANSMIT_DATA *TxData, OUT UINT8 **PktBuf, OUT UINT32 *PktLen ) argument
201 EFI_MANAGED_NETWORK_TRANSMIT_DATA *TxData; local
[all...]
H A DMnpVlan.h62 Build the packet to transmit from the TxData passed in.
65 @param TxData Pointer to the transmit data containing the
76 IN EFI_MANAGED_NETWORK_TRANSMIT_DATA *TxData,
H A DMnpVlan.c174 Build the packet to transmit from the TxData passed in.
177 @param TxData Pointer to the transmit data containing the
188 IN EFI_MANAGED_NETWORK_TRANSMIT_DATA *TxData,
201 *ProtocolType = TxData->ProtocolType;
214 if (TxData->HeaderLength != 0) {
229 *EtherType = HTONS (TxData->ProtocolType);
186 MnpInsertVlanTag( IN MNP_SERVICE_DATA *MnpServiceData, IN EFI_MANAGED_NETWORK_TRANSMIT_DATA *TxData, OUT UINT16 *ProtocolType, IN OUT UINT8 **Packet, IN OUT UINT32 *Length ) argument
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/IScsiDxe/
H A DIScsiTcp4Io.c349 EFI_TCP4_TRANSMIT_DATA *TxData; local
353 TxData = AllocatePool (sizeof (EFI_TCP4_TRANSMIT_DATA) + (Packet->BlockOpNum - 1) * sizeof (EFI_TCP4_FRAGMENT_DATA));
354 if (TxData == NULL) {
358 TxData->Push = TRUE;
359 TxData->Urgent = FALSE;
360 TxData->DataLength = Packet->TotalSize;
365 TxData->FragmentCount = Packet->BlockOpNum;
366 NetbufBuildExt (Packet, (NET_FRAGMENT *) &TxData->FragmentTable[0], &TxData->FragmentCount);
368 Tcp4Io->TxToken.Packet.TxData
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/
H A DIp6Impl.c1057 EFI_IP6_TRANSMIT_DATA *TxData; local
1065 TxData = Token->Packet.TxData;
1067 if (TxData == NULL || (TxData->ExtHdrsLength != 0 && TxData->ExtHdrs == NULL)) {
1071 if (TxData->FragmentCount == 0 || TxData->DataLength == 0) {
1075 for (DataLength = 0, Index = 0; Index < TxData->FragmentCount; Index++) {
1076 if (TxData
1260 EFI_IP6_TRANSMIT_DATA *TxData; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/TcpDxe/
H A DTcpMain.c356 NULL == Token->Packet.TxData ||
357 0 == Token->Packet.TxData->FragmentCount ||
358 0 == Token->Packet.TxData->DataLength
364 Token->Packet.TxData->DataLength,
365 Token->Packet.TxData->FragmentCount,
366 Token->Packet.TxData->FragmentTable
822 - Token->Packet.TxData is NULL.
853 NULL == Token->Packet.TxData ||
854 0 == Token->Packet.TxData->FragmentCount ||
855 0 == Token->Packet.TxData
[all...]
H A DSockInterface.c524 EFI_TCP4_TRANSMIT_DATA *TxData; local
549 TxData = (EFI_TCP4_TRANSMIT_DATA *) SndToken->Packet.TxData;
572 DataLen = TxData->DataLength;
611 Status = SockProcessTcpSndData (Sock, TxData);
H A DSockImpl.c250 EFI_TCP4_TRANSMIT_DATA *TxData; local
282 TxData = SndToken->Packet.TxData;
284 DataLen = TxData->DataLength;
285 Status = SockProcessTcpSndData (Sock, TxData);
371 EFI_TCP4_TRANSMIT_DATA *TxData; local
373 TxData = (EFI_TCP4_TRANSMIT_DATA *) TcpTxData;
376 // transform this TxData into a NET_BUFFER
380 (NET_FRAGMENT *) TxData->FragmentTable,
381 TxData
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/UefiPxeBcDxe/
H A DPxeBcSupport.c638 EFI_UDP4_TRANSMIT_DATA *TxData; local
650 TxData = (EFI_UDP4_TRANSMIT_DATA *) AllocateZeroPool (TxLength);
651 if (TxData == NULL) {
655 TxData->FragmentCount = FragCount;
656 TxData->FragmentTable[FragCount - 1].FragmentLength = (UINT32) *BufferSize;
657 TxData->FragmentTable[FragCount - 1].FragmentBuffer = BufferPtr;
661 TxData->FragmentTable[0].FragmentLength = (UINT32) *HeaderSize;
662 TxData->FragmentTable[0].FragmentBuffer = HeaderPtr;
667 TxData->GatewayAddress = Gateway;
670 TxData
742 EFI_UDP6_TRANSMIT_DATA *TxData; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Ip4Dxe/
H A DIp4Impl.c214 @retval EFI_BUFFER_TOO_SMALL Token.Packet.TxData.TotalDataLength is too
218 Token.Packet.TxData.OverrideData.
1641 EFI_IP4_TRANSMIT_DATA *TxData; local
1649 if ((Token == NULL) || (Token->Event == NULL) || (Token->Packet.TxData == NULL)) {
1653 TxData = Token->Packet.TxData;
1658 if (TxData->OptionsLength != 0) {
1659 if ((TxData->OptionsLength > 40) || (TxData->OptionsBuffer == NULL)) {
1663 if (!Ip4OptionIsValid (TxData
1882 EFI_IP4_TRANSMIT_DATA *TxData; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Tcp4Dxe/
H A DTcp4Main.c435 NULL == Token->Packet.TxData ||
436 0 == Token->Packet.TxData->FragmentCount ||
437 0 == Token->Packet.TxData->DataLength
443 (UINT32) Token->Packet.TxData->DataLength,
444 (UINT32) Token->Packet.TxData->FragmentCount,
445 Token->Packet.TxData->FragmentTable
H A DSockInterface.c508 EFI_TCP4_TRANSMIT_DATA *TxData; local
530 TxData = (EFI_TCP4_TRANSMIT_DATA *) SndToken->Packet.TxData;
553 DataLen = (UINT32) TxData->DataLength;
589 Status = SockProcessTcpSndData (Sock, TxData);
H A DSockImpl.c261 EFI_TCP4_TRANSMIT_DATA *TxData; local
263 TxData = (EFI_TCP4_TRANSMIT_DATA *) TcpTxData;
266 // transform this TxData into a NET_BUFFER
270 (NET_FRAGMENT *) TxData->FragmentTable,
271 (UINT32) TxData->FragmentCount,
290 if (TxData->Urgent) {
298 if (TxData->Push) {
482 EFI_TCP4_TRANSMIT_DATA *TxData; local
515 TxData = SndToken->Packet.TxData;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Application/Ping6/
H A DPing6.c134 EFI_IP6_TRANSMIT_DATA *TxData; local
146 TxData = TxInfo->Token->Packet.TxData;
147 if (TxData != NULL) {
149 if (TxData->OverrideData != NULL) {
150 FreePool (TxData->OverrideData);
153 if (TxData->ExtHdrs != NULL) {
154 FreePool (TxData->ExtHdrs);
157 for (Index = 0; Index < TxData->FragmentCount; Index++) {
158 FragData = TxData
353 EFI_IP6_TRANSMIT_DATA *TxData; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/EfiSocketLib/
H A DIp4.c377 pSocket->TxPacketOffset = OFFSET_OF ( ESL_PACKET, Op.Ip4Tx.TxData );
379 pSocket->TxTokenOffset = OFFSET_OF ( EFI_IP4_COMPLETION_TOKEN, Packet.TxData );
1019 pTxData->TxData.DestinationAddress.Addr[0] = pIp4->DestinationAddress.Addr[0];
1020 pTxData->TxData.DestinationAddress.Addr[1] = pIp4->DestinationAddress.Addr[1];
1021 pTxData->TxData.DestinationAddress.Addr[2] = pIp4->DestinationAddress.Addr[2];
1022 pTxData->TxData.DestinationAddress.Addr[3] = pIp4->DestinationAddress.Addr[3];
1023 pTxData->TxData.OverrideData = NULL;
1024 pTxData->TxData.OptionsLength = 0;
1025 pTxData->TxData.OptionsBuffer = NULL;
1026 pTxData->TxData
[all...]
H A DUdp4.c247 pSocket->TxPacketOffset = OFFSET_OF ( ESL_PACKET, Op.Udp4Tx.TxData );
249 pSocket->TxTokenOffset = OFFSET_OF ( EFI_UDP4_COMPLETION_TOKEN, Packet.TxData );
828 pTxData->TxData.GatewayAddress = NULL;
829 pTxData->TxData.UdpSessionData = NULL;
830 pTxData->TxData.DataLength = (UINT32) BufferLength;
831 pTxData->TxData.FragmentCount = 1;
832 pTxData->TxData.FragmentTable[0].FragmentLength = (UINT32) BufferLength;
833 pTxData->TxData.FragmentTable[0].FragmentBuffer = &pPacket->Op.Udp4Tx.Buffer[0];
839 pTxData->TxData.UdpSessionData = NULL;
856 pTxData->TxData
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellNetwork1CommandsLib/
H A DPing.c66 VOID *TxData; member in union:__anon12898
338 if (TxInfo->Token->Packet.TxData != NULL) {
340 Ip6TxData = TxInfo->Token->Packet.TxData;
357 Ip4TxData = TxInfo->Token->Packet.TxData;
574 VOID *TxData; local
583 TxData = AllocateZeroPool (Private->IpChoice==PING_IP_CHOICE_IP6?sizeof (EFI_IP6_TRANSMIT_DATA):sizeof (EFI_IP4_TRANSMIT_DATA));
584 if (TxData == NULL) {
591 FreePool (TxData);
608 ((EFI_IP6_TRANSMIT_DATA*)TxData)->ExtHdrsLength = 0;
609 ((EFI_IP6_TRANSMIT_DATA*)TxData)
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/ArpDxe/
H A DArpImpl.c347 EFI_MANAGED_NETWORK_TRANSMIT_DATA *TxData; local
352 TxData = TxToken->Packet.TxData;
363 FreePool (TxData->FragmentTable[0].FragmentBuffer);
364 FreePool (TxData);
1024 EFI_MANAGED_NETWORK_TRANSMIT_DATA *TxData; local
1045 TxData = NULL;
1064 // Allocate memory for the TxData used in the TxToken.
1066 TxData = AllocatePool (sizeof(EFI_MANAGED_NETWORK_TRANSMIT_DATA));
1067 if (TxData
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Udp4Dxe/
H A DUdp4Main.c514 EFI_UDP4_TRANSMIT_DATA *TxData; local
555 TxData = Token->Packet.TxData;
561 (NET_FRAGMENT *)TxData->FragmentTable,
562 TxData->FragmentCount,
592 UdpSessionData = TxData->UdpSessionData;
647 if (TxData->GatewayAddress != NULL) {
648 CopyMem (&Override.Ip4OverrideData.GatewayAddress, TxData->GatewayAddress, sizeof (EFI_IPv4_ADDRESS));
H A DUdp4Impl.c764 Token.Packet.TxData is NULL.
765 Token.Packet.TxData.FragmentCount is zero.
766 Token.Packet.TxData.DataLength is not equal to the
768 Token.Packet.TxData.FragmentTable[].
770 Token.Packet.TxData.FragmentTable[].
772 Token.Packet.TxData. GatewayAddress is not a
774 more IPv4 addresses in Token.Packet.TxData.
787 EFI_UDP4_TRANSMIT_DATA *TxData; local
799 TxData = TxToken->Packet.TxData;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/DxeIpIoLib/
H A DDxeIpIoLib.c632 IP_IO_IP_TX_DATA *TxData; local
641 TxData = NULL;
666 // Allocate resource for TxData
668 TxData = (IP_IO_IP_TX_DATA *) AllocatePool (
672 if (NULL == TxData) {
680 ExtFragment = (NET_FRAGMENT *) TxData->Ip4TxData.FragmentTable;
682 ExtFragment = (NET_FRAGMENT *) TxData->Ip6TxData.FragmentTable;
700 // Set other fields of TxData except the fragment table
704 Ip4TxData = &TxData->Ip4TxData;
718 SndEntry->SndToken.Ip4Token.Packet.TxData
793 IP_IO_IP_TX_DATA *TxData; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Udp6Dxe/
H A DUdp6Main.c418 Token.Packet.TxData is NULL.
419 Token.Packet.TxData.FragmentCount is zero.
420 Token.Packet.TxData.DataLength is not equal to the
423 Token.Packet.TxData.FragmentTable[].FragmentLength
426 Token.Packet.TxData.FragmentTable[].FragmentBuffer
428 Token.Packet.TxData.UdpSessionData.DestinationAddres
431 Token.Packet.TxData.UdpSessionData.
433 Token.Packet.TxData.UdpSessionData.
436 Token.Packet.TxData.UdpSessionData is NULL and this
466 EFI_UDP6_TRANSMIT_DATA *TxData; local
[all...]
H A DUdp6Impl.c756 Token.Packet.TxData is NULL;
757 Token.Packet.TxData.FragmentCount is zero;
758 Token.Packet.TxData.DataLength is not equal to the
761 Token.Packet.TxData.FragmentTable[].FragmentLength
764 Token.Packet.TxData.FragmentTable[].FragmentBuffer
782 EFI_UDP6_TRANSMIT_DATA *TxData; local
793 TxData = TxToken->Packet.TxData;
795 if ((TxData == NULL) || (TxData
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/
H A DManagedNetwork.h144 /// When this token is used for transmitting, TxData is a pointer to the EFI_MANAGED_NETWORK_TRANSMIT_DATA.
146 EFI_MANAGED_NETWORK_TRANSMIT_DATA *TxData; member in union:__anon12213::__anon12214
H A DUdp6.h248 /// When used for transmitting, the Event and TxData fields must be filled in by the EFI UDPv6
288 /// When this token is used for transmitting, TxData is a pointer to EFI_UDP6_TRANSMIT_DATA.
290 EFI_UDP6_TRANSMIT_DATA *TxData; member in union:__anon12368::__anon12369
425 - Token.Packet.TxData is NULL.
426 - Token.Packet.TxData.FragmentCount is zero.
427 - Token.Packet.TxData.DataLength is not equal to the sum of fragment
429 - One or more of the Token.Packet.TxData.FragmentTable[].FragmentLength
431 - One or more of the Token.Packet.TxData.FragmentTable[].FragmentBuffer
433 - Token.Packet.TxData.UdpSessionData.DestinationAddress is not zero
435 - Token.Packet.TxData
[all...]

Completed in 121 milliseconds

12