Home
last modified time | relevance | path

Searched refs:Offer (Results 1 – 16 of 16) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcDhcp4.c462 EFI_DHCP4_PACKET *Offer; in PxeBcParseDhcp4Packet() local
479 Offer = &Cache4->Packet.Offer; in PxeBcParseDhcp4Packet()
488 Offer->Dhcp4.Option, in PxeBcParseDhcp4Packet()
489 GET_OPTION_BUFFER_LEN (Offer), in PxeBcParseDhcp4Packet()
504 (UINT8 *) Offer->Dhcp4.Header.BootFileName, in PxeBcParseDhcp4Packet()
505 sizeof (Offer->Dhcp4.Header.BootFileName), in PxeBcParseDhcp4Packet()
515 (UINT8 *) Offer->Dhcp4.Header.ServerName, in PxeBcParseDhcp4Packet()
516 sizeof (Offer->Dhcp4.Header.ServerName), in PxeBcParseDhcp4Packet()
527 if (Offer->Dhcp4.Header.YourAddr.Addr[0] == 0) { in PxeBcParseDhcp4Packet()
563 } else if (!FileFieldOverloaded && Offer->Dhcp4.Header.BootFileName[0] != 0) { in PxeBcParseDhcp4Packet()
[all …]
DPxeBcDhcp6.c657 EFI_DHCP6_PACKET *Offer; in PxeBcParseDhcp6Packet() local
669 Offer = &Cache6->Packet.Offer; in PxeBcParseDhcp6Packet()
674 Option = (EFI_DHCP6_PACKET_OPTION *) (Offer->Dhcp6.Option); in PxeBcParseDhcp6Packet()
676 Length = GET_DHCP6_OPTION_SIZE (Offer); in PxeBcParseDhcp6Packet()
699 Option = (EFI_DHCP6_PACKET_OPTION *) (Offer->Dhcp6.Option + Offset); in PxeBcParseDhcp6Packet()
810 EFI_DHCP6_PACKET *Offer; in PxeBcCopyDhcp6Proxy() local
817 Offer = &Private->OfferBuffer[OfferIndex].Dhcp6.Packet.Offer; in PxeBcCopyDhcp6Proxy()
822 Status = PxeBcCacheDhcp6Packet (&Private->ProxyOffer.Dhcp6.Packet.Offer, Offer); in PxeBcCopyDhcp6Proxy()
831 CopyMem (&Mode->ProxyOffer.Dhcpv6, &Offer->Dhcp6, Offer->Length); in PxeBcCopyDhcp6Proxy()
915 ProxyOffer = &Private->OfferBuffer[Index].Dhcp6.Packet.Offer; in PxeBcRequestBootService()
[all …]
DPxeBcDhcp4.h151 #define IS_PROXY_DHCP_OFFER(Offer) \ argument
152 EFI_IP4_EQUAL (&(Offer)->Dhcp4.Header.YourAddr, &mZeroIp4Addr)
269 EFI_DHCP4_PACKET Offer; member
DPxeBcDhcp6.h107 EFI_DHCP6_PACKET Offer; member
DPxeBcImpl.c105 Private->ProxyOffer.Dhcp6.Packet.Offer.Size = PXEBC_CACHED_DHCP6_PACKET_MAX_SIZE; in EfiPxeBcStart()
110 Private->OfferBuffer[Index].Dhcp6.Packet.Offer.Size = PXEBC_CACHED_DHCP6_PACKET_MAX_SIZE; in EfiPxeBcStart()
157 Private->ProxyOffer.Dhcp4.Packet.Offer.Size = PXEBC_CACHED_DHCP4_PACKET_MAX_SIZE; in EfiPxeBcStart()
162 Private->OfferBuffer[Index].Dhcp4.Packet.Offer.Size = PXEBC_CACHED_DHCP4_PACKET_MAX_SIZE; in EfiPxeBcStart()
DPxeBcBoot.c517 &Cache4->Packet.Offer.Dhcp4.Header.ServerAddr, in PxeBcDhcp4BootInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.c113 EFI_DHCP4_PACKET *Offer; in PxeBcCopyProxyOffer() local
120 Offer = &Private->Dhcp4Offers[OfferIndex].Packet.Offer; in PxeBcCopyProxyOffer()
122 Status = PxeBcCopyEfiDhcp4Packet (&Private->ProxyOffer.Packet.Offer, Offer); in PxeBcCopyProxyOffer()
126 CopyMem (&Mode->ProxyOffer, &Offer->Dhcp4, Offer->Length); in PxeBcCopyProxyOffer()
148 EFI_DHCP4_PACKET *Offer; in PxeBcParseCachedDhcpPacket() local
159 Offer = &CachedPacket->Packet.Offer; in PxeBcParseCachedDhcpPacket()
168 Offer->Dhcp4.Option, in PxeBcParseCachedDhcpPacket()
169 GET_OPTION_BUFFER_LEN (Offer), in PxeBcParseCachedDhcpPacket()
183 (UINT8 *) Offer->Dhcp4.Header.BootFileName, in PxeBcParseCachedDhcpPacket()
184 sizeof (Offer->Dhcp4.Header.BootFileName), in PxeBcParseCachedDhcpPacket()
[all …]
DPxeBcDhcp.h234 EFI_DHCP4_PACKET Offer; member
251 #define IS_PROXY_DHCP_OFFER(Offer) EFI_IP4_EQUAL (&((Offer)->Dhcp4.Header.YourAddr), &mZeroIp4Addr) argument
DPxeBcDriver.c169 Private->ProxyOffer.Packet.Offer.Size = PXEBC_CACHED_DHCP4_PACKET_MAX_SIZE; in PxeBcDriverBindingStart()
174 Private->Dhcp4Offers[Index].Packet.Offer.Size = PXEBC_CACHED_DHCP4_PACKET_MAX_SIZE; in PxeBcDriverBindingStart()
DPxeBcImpl.c2691 if (EFI_IP4_EQUAL (&Packet->Packet.Offer.Dhcp4.Header.ServerAddr, &mZeroIp4Addr)) { in DiscoverBootFile()
2700 &Packet->Packet.Offer.Dhcp4.Header.ServerAddr, in DiscoverBootFile()
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootDhcp4.c257 EFI_DHCP4_PACKET *Offer; in HttpBootParseDhcp4Packet() local
279 Offer = &Cache4->Packet.Offer; in HttpBootParseDhcp4Packet()
288 Offer->Dhcp4.Option, in HttpBootParseDhcp4Packet()
289 GET_OPTION_BUFFER_LEN (Offer), in HttpBootParseDhcp4Packet()
304 (UINT8 *) Offer->Dhcp4.Header.BootFileName, in HttpBootParseDhcp4Packet()
305 sizeof (Offer->Dhcp4.Header.BootFileName), in HttpBootParseDhcp4Packet()
315 (UINT8 *) Offer->Dhcp4.Header.ServerName, in HttpBootParseDhcp4Packet()
316 sizeof (Offer->Dhcp4.Header.ServerName), in HttpBootParseDhcp4Packet()
327 if (Offer->Dhcp4.Header.YourAddr.Addr[0] == 0) { in HttpBootParseDhcp4Packet()
364 } else if (!FileFieldOverloaded && Offer->Dhcp4.Header.BootFileName[0] != 0) { in HttpBootParseDhcp4Packet()
[all …]
DHttpBootDhcp6.c183 EFI_DHCP6_PACKET *Offer; in HttpBootParseDhcp6Packet() local
200 Offer = &Cache6->Packet.Offer; in HttpBootParseDhcp6Packet()
205 Option = (EFI_DHCP6_PACKET_OPTION *) (Offer->Dhcp6.Option); in HttpBootParseDhcp6Packet()
207 Length = GET_DHCP6_OPTION_SIZE (Offer); in HttpBootParseDhcp6Packet()
230 Option = (EFI_DHCP6_PACKET_OPTION *) (Offer->Dhcp6.Option + Offset); in HttpBootParseDhcp6Packet()
369 EFI_DHCP6_PACKET *Offer; in HttpBootCacheDhcp6Offer() local
374 Offer = &Cache6->Packet.Offer; in HttpBootCacheDhcp6Offer()
379 Status = HttpBootCacheDhcp6Packet(Offer, RcvdOffer); in HttpBootCacheDhcp6Offer()
473 SelectAd = &Private->OfferBuffer[Private->SelectIndex - 1].Dhcp6.Packet.Offer; in HttpBootDhcp6CallBack()
DHttpBootDhcp6.h81 EFI_DHCP6_PACKET Offer; member
DHttpBootImpl.c129 Private->OfferBuffer[Index].Dhcp4.Packet.Offer.Size = HTTP_CACHED_DHCP4_PACKET_MAX_SIZE; in HttpBootStart()
133 Private->OfferBuffer[Index].Dhcp6.Packet.Offer.Size = HTTP_CACHED_DHCP6_PACKET_MAX_SIZE; in HttpBootStart()
DHttpBootDhcp4.h184 EFI_DHCP4_PACKET Offer; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4/
DPxeDhcp4.h255 DHCP4_PACKET Offer; member