Home | History | Annotate | Download | only in UefiPxeBcDxe

Lines Matching refs:Mode

399   EFI_SIMPLE_NETWORK_MODE    Mode;

403 // Get IfType and HwAddressSize from SNP mode data.
405 Udp4->GetModeData (Udp4, NULL, NULL, NULL, &Mode);
412 Header->HwType = Mode.IfType;
413 Header->HwAddrLen = (UINT8) Mode.HwAddressSize;
414 CopyMem (Header->ClientHwAddr, &Mode.CurrentAddress, Header->HwAddrLen);
628 @param[in] Verified If TRUE, parse the ACK packet and store info into mode data.
641 EFI_PXE_BASE_CODE_MODE *Mode;
644 Mode = Private->PxeBc.Mode;
653 // Parse the ack packet and store it into mode data if needed.
656 CopyMem (&Mode->DhcpAck.Dhcpv4, &Ack->Dhcp4, Ack->Length);
657 Mode->DhcpAckReceived = TRUE;
680 EFI_PXE_BASE_CODE_MODE *Mode;
687 Mode = Private->PxeBc.Mode;
701 // Store this packet into mode data.
703 CopyMem (&Mode->ProxyOffer.Dhcpv4, &Offer->Dhcp4, Offer->Length);
704 Mode->ProxyOfferReceived = TRUE;
794 // Store the reply into mode data.
796 Private->PxeBc.Mode->ProxyOfferReceived = TRUE;
797 CopyMem (&Private->PxeBc.Mode->ProxyOffer.Dhcpv4, &Reply->Dhcp4, Reply->Length);
1039 EFI_PXE_BASE_CODE_MODE *Mode;
1144 Mode = Private->PxeBc.Mode;
1159 Mode->DhcpDiscoverValid = TRUE;
1198 EFI_PXE_BASE_CODE_MODE *Mode;
1213 Mode = Private->PxeBc.Mode;
1260 // Cache the DHCPv4 discover packet to mode data directly.
1263 CopyMem (&Mode->DhcpDiscover.Dhcpv4, &Packet->Dhcp4, Packet->Length);
1274 if (Mode->SendGUID) {
1322 // Cache the DHCPv4 ack to Private->Dhcp4Ack, but it's not the final ack in mode data
1370 EFI_PXE_BASE_CODE_MODE *Mode;
1388 Mode = Private->PxeBc.Mode;
1463 if (Mode->SendGUID) {
1559 // Especially for PXE discover packet, store it into mode data here.
1566 CopyMem (&Mode->PxeDiscover, &Token.Packet->Dhcp4, Token.Packet->Length);
1656 EFI_DHCP4_MODE_DATA Mode;
1665 PxeMode = Private->PxeBc.Mode;
1673 ZeroMem (&Mode, sizeof (EFI_DHCP4_MODE_DATA));
1715 Status = Dhcp4->GetModeData (Dhcp4, &Mode);
1720 ASSERT (Mode.State == Dhcp4Bound);
1722 CopyMem (&Private->StationIp, &Mode.ClientAddress, sizeof (EFI_IPv4_ADDRESS));
1723 CopyMem (&Private->SubnetMask, &Mode.SubnetMask, sizeof (EFI_IPv4_ADDRESS));
1724 CopyMem (&Private->GatewayIp, &Mode.RouterAddress, sizeof (EFI_IPv4_ADDRESS));