Searched refs:RxData (Results 1 - 25 of 45) sorted by relevance

12

/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/MnpDxe/
H A DMnpIo.c331 EFI_MANAGED_NETWORK_RECEIVE_DATA *RxData; local
374 RxData = &RxDataWrap->RxData;
380 RxData->MediaHeader = NetbufGetByte (RxDataWrap->Nbuf, 0, NULL);
381 RxData->DestinationAddress = RxData->MediaHeader;
382 RxData->SourceAddress = (UINT8 *) RxData->MediaHeader + SnpMode->HwAddressSize;
383 RxData->PacketData = (UINT8 *) RxData
551 MnpMatchPacket( IN MNP_INSTANCE_DATA *Instance, IN EFI_MANAGED_NETWORK_RECEIVE_DATA *RxData, IN MNP_GROUP_ADDRESS *GroupAddress OPTIONAL, IN UINT8 PktAttr ) argument
630 MnpAnalysePacket( IN MNP_SERVICE_DATA *MnpServiceData, IN NET_BUF *Nbuf, IN OUT EFI_MANAGED_NETWORK_RECEIVE_DATA *RxData, OUT MNP_GROUP_ADDRESS **GroupAddress, OUT UINT8 *PktAttr ) argument
790 EFI_MANAGED_NETWORK_RECEIVE_DATA RxData; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/UefiPxeBcDxe/
H A DPxeBcSupport.c232 EFI_IP4_RECEIVE_DATA *RxData; local
244 RxData = Private->IcmpToken.Packet.RxData;
256 if (RxData == NULL) {
264 gBS->SignalEvent (RxData->RecycleSignal);
268 if (EFI_IP4 (RxData->Header->SourceAddress) != 0 &&
269 !NetIp4IsUnicast (EFI_NTOHL (RxData->Header->SourceAddress), 0)) {
273 gBS->SignalEvent (RxData->RecycleSignal);
277 if (!EFI_IP4_EQUAL (&RxData->Header->DestinationAddress, &Mode->StationIp.v4)) {
281 gBS->SignalEvent (RxData
368 EFI_IP6_RECEIVE_DATA *RxData; local
1142 EFI_UDP4_RECEIVE_DATA *RxData; local
1246 EFI_UDP6_RECEIVE_DATA *RxData; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/IScsiDxe/
H A DIScsiTcp4Io.c418 EFI_TCP4_RECEIVE_DATA RxData; local
434 RxData.FragmentCount = 1;
435 Tcp4Io->RxToken.Packet.RxData = &RxData;
441 RxData.DataLength = Fragment[CurrentFragment].Len;
442 RxData.FragmentTable[0].FragmentLength = Fragment[CurrentFragment].Len;
443 RxData.FragmentTable[0].FragmentBuffer = Fragment[CurrentFragment].Bulk;
474 Fragment[CurrentFragment].Len -= RxData.FragmentTable[0].FragmentLength;
478 Fragment[CurrentFragment].Bulk += RxData.FragmentTable[0].FragmentLength;
483 Tcp4Io->RxToken.Packet.RxData
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/TcpDxe/
H A DTcpMain.c421 NULL == Token->Packet.RxData ||
422 0 == Token->Packet.RxData->FragmentCount ||
423 0 == Token->Packet.RxData->DataLength
429 Token->Packet.RxData->DataLength,
430 Token->Packet.RxData->FragmentCount,
431 Token->Packet.RxData->FragmentTable
881 EFI TCPv6 Protocol driver updates the Token->CompletionToken.Status and Token->Packet.RxData
900 - Token->Packet.RxData is NULL.
901 - Token->Packet.RxData->DataLength is 0.
902 - The Token->Packet.RxData
[all...]
H A DSockImpl.c202 EFI_TCP4_RECEIVE_DATA *RxData; local
205 RxData = (EFI_TCP4_RECEIVE_DATA *) TcpRxData;
209 ASSERT (RxData->DataLength >= RcvdBytes);
211 RxData->DataLength = RcvdBytes;
212 RxData->UrgentFlag = IsUrg;
215 // Copy the CopyBytes data from socket receive buffer to RxData.
217 for (Index = 0; (Index < RxData->FragmentCount) && (RcvdBytes > 0); Index++) {
219 Fragment = &RxData->FragmentTable[Index];
325 EFI_TCP4_RECEIVE_DATA *RxData; local
332 RxData
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Tcp4Dxe/
H A DTcp4Main.c466 Token->CompletionToken.Status and Token->Packet.RxData fields and the
517 NULL == Token->Packet.RxData ||
518 0 == Token->Packet.RxData->FragmentCount ||
519 0 == Token->Packet.RxData->DataLength
525 (UINT32) Token->Packet.RxData->DataLength,
526 (UINT32) Token->Packet.RxData->FragmentCount,
527 Token->Packet.RxData->FragmentTable
H A DSockImpl.c167 EFI_TCP4_RECEIVE_DATA *RxData; local
170 RxData = (EFI_TCP4_RECEIVE_DATA *) TcpRxData;
174 ASSERT (RxData->DataLength >= RcvdBytes);
176 RxData->DataLength = RcvdBytes;
177 RxData->UrgentFlag = IsOOB;
179 for (Index = 0; (Index < RxData->FragmentCount) && (RcvdBytes > 0); Index++) {
181 Fragment = &RxData->FragmentTable[Index];
214 EFI_TCP4_RECEIVE_DATA *RxData; local
221 RxData = RcvToken->Packet.RxData;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Udp4Dxe/
H A DUdp4Impl.c154 This function wraps the Packet and the RxData.
159 @param[in] RxData Pointer to the EFI_UDP4_RECEIVE_DATA of this
162 @return Pointer to the structure wrapping the RxData and the Packet.
169 IN EFI_UDP4_RECEIVE_DATA *RxData
178 @param[in] RxData Pointer to the EFI_UDP4_RECEIVE_DATA of this
188 IN EFI_UDP4_RECEIVE_DATA *RxData
436 // Remove this RxData if it timeouts.
1372 gBS->CloseEvent (Wrap->RxData.RecycleSignal);
1379 This function wraps the Packet and the RxData.
1384 @param[in] RxData Pointe
1506 EFI_UDP4_RECEIVE_DATA *RxData; local
1607 EFI_UDP4_RECEIVE_DATA RxData; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Udp6Dxe/
H A DUdp6Impl.c153 This function wraps the Packet into RxData.
158 @param[in] RxData Pointer to the EFI_UDP6_RECEIVE_DATA of this
161 @return Pointer to the structure wrapping the RxData and the Packet.
168 IN EFI_UDP6_RECEIVE_DATA *RxData
177 @param[in] RxData Pointer to the EFI_UDP6_RECEIVE_DATA of this
187 IN EFI_UDP6_RECEIVE_DATA *RxData
443 // Remove this RxData if it timeouts.
1358 gBS->CloseEvent (Wrap->RxData.RecycleSignal);
1365 This function wraps the Packet into RxData.
1370 @param[in] RxData Pointe
1491 EFI_UDP6_RECEIVE_DATA *RxData; local
1593 EFI_UDP6_RECEIVE_DATA RxData; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/DxeIpIoLib/
H A DDxeIpIoLib.c913 if (IpInfo->DummyRcvToken.Ip4Token.Packet.RxData != NULL) {
914 RecycleEvent = IpInfo->DummyRcvToken.Ip4Token.Packet.RxData->RecycleSignal;
919 if (IpInfo->DummyRcvToken.Ip6Token.Packet.RxData != NULL) {
920 RecycleEvent = IpInfo->DummyRcvToken.Ip6Token.Packet.RxData->RecycleSignal;
933 // Recycle the RxData.
993 IP_IO_IP_RX_DATA *RxData; local
1001 RxData = (IP_IO_IP_RX_DATA *) IpIo->RcvToken.Ip4Token.Packet.RxData;
1004 RxData = (IP_IO_IP_RX_DATA *) IpIo->RcvToken.Ip6Token.Packet.RxData;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/Ip4Dxe/
H A DIp4Input.c1139 gBS->CloseEvent (Wrap->RxData.RecycleSignal);
1148 in the IP4_RXDATA_WRAP. The IP4_RXDATA_WRAP->RxData is passed
1166 EFI_IP4_RECEIVE_DATA *RxData; local
1179 RxData = &Wrap->RxData;
1181 ZeroMem (&RxData->TimeStamp, sizeof (EFI_TIME));
1188 &RxData->RecycleSignal
1201 RxData->HeaderLength = (Packet->Ip.Ip4->HeadLen << 2);
1202 RxData->Header = (EFI_IP4_HEADER *) Ip4NtohHead (Packet->Ip.Ip4);
1204 RxData
[all...]
H A DIp4Impl.h114 EFI_IP4_RECEIVE_DATA RxData; member in struct:__anon11223
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/DxeUdpIoLib/
H A DDxeUdpIoLib.c143 gBS->SignalEvent (RxToken->Token.Udp4.Packet.RxData->RecycleSignal);
145 gBS->SignalEvent (RxToken->Token.Udp6.Packet.RxData->RecycleSignal);
170 VOID *RxData; local
194 RxData = ((EFI_UDP4_COMPLETION_TOKEN *) Token)->Packet.RxData;
198 RxData = ((EFI_UDP6_COMPLETION_TOKEN *) Token)->Packet.RxData;
202 if (EFI_ERROR (Status) || RxData == NULL) {
220 (NET_FRAGMENT *)((EFI_UDP4_RECEIVE_DATA *) RxData)->FragmentTable,
221 ((EFI_UDP4_RECEIVE_DATA *) RxData)
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Library/DxeTcpIoLib/
H A DDxeTcpIoLib.c152 EFI_TCP4_RECEIVE_DATA *RxData; local
368 RxData = (EFI_TCP4_RECEIVE_DATA *) AllocateZeroPool (sizeof (EFI_TCP4_RECEIVE_DATA));
369 if (RxData == NULL) {
374 TcpIo->RxToken.Tcp4Token.Packet.RxData = RxData;
459 if (TcpIo->RxToken.Tcp4Token.Packet.RxData != NULL) {
460 FreePool (TcpIo->RxToken.Tcp4Token.Packet.RxData);
885 EFI_TCP4_RECEIVE_DATA *RxData; local
895 RxData = TcpIo->RxToken.Tcp4Token.Packet.RxData;
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
H A DPxeBcImpl.c148 EFI_IP4_RECEIVE_DATA *RxData; local
159 RxData = Private->IcmpErrorRcvToken.Packet.RxData;
169 if (EFI_ERROR (Status) || (RxData == NULL)) {
171 // Only process the normal packets and the icmp error packets, if RxData is NULL
178 if (EFI_IP4 (RxData->Header->SourceAddress) != 0 &&
179 !NetIp4IsUnicast (EFI_NTOHL (RxData->Header->SourceAddress), 0)) {
186 if (!EFI_IP4_EQUAL (&RxData->Header->DestinationAddress, &Mode->StationIp.v4)) {
199 for (Index = 0; Index < RxData->FragmentCount; Index ++) {
200 CopiedLen += RxData
1630 EFI_UDP4_RECEIVE_DATA *RxData; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/
H A DIp6Input.c1192 gBS->CloseEvent (Wrap->RxData.RecycleSignal);
1200 in the IP6_RXDATA_WRAP. The IP6_RXDATA_WRAP->RxData is passed
1217 EFI_IP6_RECEIVE_DATA *RxData; local
1230 RxData = &Wrap->RxData;
1232 ZeroMem (&RxData->TimeStamp, sizeof (EFI_TIME));
1239 &RxData->RecycleSignal
1252 RxData->HeaderLength = sizeof (EFI_IP6_HEADER);
1253 RxData->Header = (EFI_IP6_HEADER *) Ip6NtohHead (Packet->Ip.Ip6);
1254 RxData
[all...]
H A DIp6If.c454 EFI_MANAGED_NETWORK_RECEIVE_DATA *RxData; local
456 RxData = (EFI_MANAGED_NETWORK_RECEIVE_DATA *) Context;
458 gBS->SignalEvent (RxData->RecycleEvent);
498 MnpRxData = MnpToken->Packet.RxData;
512 Packet = NetbufFromExt (&Netfrag, 1, IP6_MAX_HEADLEN, 0, Ip6RecycleFrame, Token->MnpToken.Packet.RxData);
/vbox/src/VBox/Devices/EFI/Firmware/ShellPkg/Library/UefiShellNetwork1CommandsLib/
H A DPing.c65 VOID *RxData; member in union:__anon12898
459 if (Private->RxToken.Packet.RxData == NULL) {
464 Reply = ((EFI_IP6_RECEIVE_DATA*)Private->RxToken.Packet.RxData)->FragmentTable[0].FragmentBuffer;
465 PayLoad = ((EFI_IP6_RECEIVE_DATA*)Private->RxToken.Packet.RxData)->DataLength;
466 if (((EFI_IP6_RECEIVE_DATA*)Private->RxToken.Packet.RxData)->Header->NextHeader != IP6_ICMP) {
470 !EFI_IP6_EQUAL (&((EFI_IP6_RECEIVE_DATA*)Private->RxToken.Packet.RxData)->Header->SourceAddress, (EFI_IPv6_ADDRESS*)&Private->DstAddress)) {
478 Reply = ((EFI_IP4_RECEIVE_DATA*)Private->RxToken.Packet.RxData)->FragmentTable[0].FragmentBuffer;
479 PayLoad = ((EFI_IP4_RECEIVE_DATA*)Private->RxToken.Packet.RxData)->DataLength;
481 !EFI_IP4_EQUAL (&((EFI_IP4_RECEIVE_DATA*)Private->RxToken.Packet.RxData)->Header->SourceAddress, (EFI_IPv4_ADDRESS*)&Private->DstAddress)) {
524 Private->IpChoice == PING_IP_CHOICE_IP6?((EFI_IP6_RECEIVE_DATA*)Private->RxToken.Packet.RxData)
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/StdLib/EfiSocketLib/
H A DTcp4.c1221 *pRxBytes -= pPacket->Op.Tcp4Rx.RxData.DataLength;
1752 // | | RxData --> | | |
1766 pPacket->pBuffer = pPacket->Op.Tcp4Rx.RxData.FragmentTable[0].FragmentBuffer;
1767 LengthInBytes = pPacket->Op.Tcp4Rx.RxData.DataLength;
1774 bUrgent = pPacket->Op.Tcp4Rx.RxData.UrgentFlag;
1810 pIo->Token.Tcp4Rx.Packet.RxData = &pPacket->Op.Tcp4Rx.RxData;
1811 pPacket->Op.Tcp4Rx.RxData.DataLength = sizeof ( pPacket->Op.Tcp4Rx.Buffer );
1812 pPacket->Op.Tcp4Rx.RxData.FragmentCount = 1;
1813 pPacket->Op.Tcp4Rx.RxData
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/Protocol/
H A DManagedNetwork.h140 /// When this token is used for receiving, RxData is a pointer to the EFI_MANAGED_NETWORK_RECEIVE_DATA.
142 EFI_MANAGED_NETWORK_RECEIVE_DATA *RxData; member in union:__anon12213::__anon12214
H A DUdp6.h211 /// packets, the CompletionToken.Packet.RxData field is updated to this incoming packet and
252 /// client. After a packet is received, RxData and Status are filled in by the EFI UDPv6 Protocol
266 /// - EFI_NETWORK_UNREACHABLE: The destination network is unreachable. RxData is set to
268 /// - EFI_HOST_UNREACHABLE: The destination host is unreachable. RxData is set to NULL in
271 /// RxData is set to NULL in this situation.
272 /// - EFI_PORT_UNREACHABLE: No service is listening on the remote port. RxData is set to
276 /// and the destination sent an ICMP source quench report. RxData is set to NULL in this situation.
284 /// When this token is used for receiving, RxData is a pointer to EFI_UDP6_RECEIVE_DATA.
286 EFI_UDP6_RECEIVE_DATA *RxData; member in union:__anon12368::__anon12369
466 and Token.Packet.RxData field
[all...]
H A DIp4.h254 /// When this token is used for receiving, RxData is a pointer to the EFI_IP4_RECEIVE_DATA.
256 EFI_IP4_RECEIVE_DATA *RxData; member in union:__anon12170::__anon12171
486 driver updates the Token.Status and Token.Packet.RxData fields and the Token.Event
H A DTcp4.h206 /// When this token is used for receiving, RxData is a pointer to EFI_TCP4_RECEIVE_DATA.
208 EFI_TCP4_RECEIVE_DATA *RxData; member in union:__anon12334::__anon12335
437 - Token->Packet.RxData is NULL.
438 - Token->Packet.RxData->DataLength is 0.
439 - The Token->Packet.RxData->DataLength is not
H A DTcp6.h348 /// Token->Packet.RxData then signal the Token->CompletionToken.Event.
442 /// When this token is used for receiving, RxData is a pointer to
445 EFI_TCP6_RECEIVE_DATA *RxData; member in union:__anon12349::__anon12350
693 EFI TCPv6 Protocol driver updates the Token->CompletionToken.Status and Token->Packet.RxData
712 - Token->Packet.RxData is NULL.
713 - Token->Packet.RxData->DataLength is 0.
714 - The Token->Packet.RxData->DataLength is not the
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Application/Ping6/
H A DPing6.c241 EFI_IP6_RECEIVE_DATA *RxData; local
254 RxData = RxToken->Packet.RxData;
255 Reply = RxData->FragmentTable[0].FragmentBuffer;
256 PayLoad = RxData->DataLength;
258 if (RxData->Header->NextHeader != IP6_ICMP) {
263 !EFI_IP6_EQUAL (&RxData->Header->SourceAddress, &Private->DstAddress)) {
304 RxData->Header->HopLimit,
331 gBS->SignalEvent (RxData->RecycleSignal);

Completed in 351 milliseconds

12