Home | History | Annotate | Download | only in MnpDxe

Lines Matching defs:RxData

324   EFI_MANAGED_NETWORK_RECEIVE_DATA      *RxData;

367 RxData = &RxDataWrap->RxData;
373 RxData->MediaHeader = NetbufGetByte (RxDataWrap->Nbuf, 0, NULL);
374 RxData->DestinationAddress = RxData->MediaHeader;
375 RxData->SourceAddress = (UINT8 *) RxData->MediaHeader + SnpMode->HwAddressSize;
376 RxData->PacketData = (UINT8 *) RxData->MediaHeader + SnpMode->MediaHeaderSize;
391 RxToken->Packet.RxData = &RxDataWrap->RxData;
428 Recycle the RxData and other resources used to hold and deliver the received
464 gBS->CloseEvent (RxDataWrap->RxData.RecycleEvent);
533 @param[in] RxData Pointer to the EFI_MANAGED_NETWORK_RECEIVE_DATA.
546 IN EFI_MANAGED_NETWORK_RECEIVE_DATA *RxData,
562 if ((ConfigData->ProtocolTypeFilter != 0) && (ConfigData->ProtocolTypeFilter != RxData->ProtocolType)) {
583 if (ConfigData->EnableMulticastReceive && RxData->MulticastFlag) {
613 @param[in, out] RxData Pointer to the buffer used to save the analysed
626 IN OUT EFI_MANAGED_NETWORK_RECEIVE_DATA *RxData,
648 RxData->BroadcastFlag = FALSE;
649 RxData->MulticastFlag = FALSE;
650 RxData->PromiscuousFlag = FALSE;
663 RxData->BroadcastFlag = TRUE;
673 RxData->MulticastFlag = TRUE;
678 if (!RxData->MulticastFlag) {
684 RxData->PromiscuousFlag = TRUE;
694 RxData->PromiscuousFlag = TRUE;
698 ZeroMem (&RxData->Timestamp, sizeof (EFI_TIME));
701 // Fill the common parts of RxData.
703 RxData->PacketLength = Nbuf->TotalSize;
704 RxData->HeaderLength = SnpMode->MediaHeaderSize;
705 RxData->AddressLength = SnpMode->HwAddressSize;
706 RxData->DataLength = RxData->PacketLength - RxData->HeaderLength;
707 RxData->ProtocolType = NTOHS (*(UINT16 *) (BufPtr + 2 * SnpMode->HwAddressSize));
712 Wrap the RxData.
715 @param[in] RxData Pointer to the receive data to wrap.
717 @return Pointer to a MNP_RXDATA_WRAP which wraps the RxData.
723 IN EFI_MANAGED_NETWORK_RECEIVE_DATA *RxData
741 // Fill the RxData in RxDataWrap,
743 CopyMem (&RxDataWrap->RxData, RxData, sizeof (RxDataWrap->RxData));
753 &RxDataWrap->RxData.RecycleEvent
783 EFI_MANAGED_NETWORK_RECEIVE_DATA RxData;
793 MnpAnalysePacket (MnpServiceData, Nbuf, &RxData, &GroupAddress, &PktAttr);
795 if (RxData.PromiscuousFlag && (MnpServiceData->MnpDeviceData->PromiscuousCount == 0)) {
817 if (MnpMatchPacket (Instance, &RxData, GroupAddress, PktAttr)) {
819 // Wrap the RxData.
821 RxDataWrap = MnpWrapRxData (Instance, &RxData);