Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcDhcp4.c455 EFI_DHCP4_PACKET *Offer; in PxeBcParseDhcp4Packet() local
470 Offer = &Cache4->Packet.Offer; in PxeBcParseDhcp4Packet()
479 Offer->Dhcp4.Option, in PxeBcParseDhcp4Packet()
480 GET_OPTION_BUFFER_LEN (Offer), in PxeBcParseDhcp4Packet()
494 (UINT8 *) Offer->Dhcp4.Header.BootFileName, in PxeBcParseDhcp4Packet()
495 sizeof (Offer->Dhcp4.Header.BootFileName), in PxeBcParseDhcp4Packet()
505 (UINT8 *) Offer->Dhcp4.Header.ServerName, in PxeBcParseDhcp4Packet()
506 sizeof (Offer->Dhcp4.Header.ServerName), in PxeBcParseDhcp4Packet()
517 if (Offer->Dhcp4.Header.YourAddr.Addr[0] == 0) { in PxeBcParseDhcp4Packet()
553 } else if (Offer->Dhcp4.Header.BootFileName[0] != 0) { in PxeBcParseDhcp4Packet()
[all …]
DPxeBcDhcp6.c448 EFI_DHCP6_PACKET *Offer; in PxeBcParseDhcp6Packet() local
460 Offer = &Cache6->Packet.Offer; in PxeBcParseDhcp6Packet()
465 Option = (EFI_DHCP6_PACKET_OPTION *) (Offer->Dhcp6.Option); in PxeBcParseDhcp6Packet()
467 Length = GET_DHCP6_OPTION_SIZE (Offer); in PxeBcParseDhcp6Packet()
488 Option = (EFI_DHCP6_PACKET_OPTION *) (Offer->Dhcp6.Option + Offset); in PxeBcParseDhcp6Packet()
587 EFI_DHCP6_PACKET *Offer; in PxeBcCopyDhcp6Proxy() local
593 Offer = &Private->OfferBuffer[OfferIndex].Dhcp6.Packet.Offer; in PxeBcCopyDhcp6Proxy()
598 PxeBcCacheDhcp6Packet (&Private->ProxyOffer.Dhcp6.Packet.Offer, Offer); in PxeBcCopyDhcp6Proxy()
604 CopyMem (&Mode->ProxyOffer.Dhcpv6, &Offer->Dhcp6, Offer->Length); in PxeBcCopyDhcp6Proxy()
686 ProxyOffer = &Private->OfferBuffer[Index].Dhcp6.Packet.Offer; in PxeBcRequestBootService()
[all …]
DPxeBcDhcp4.h191 #define IS_PROXY_DHCP_OFFER(Offer) \ argument
192 EFI_IP4_EQUAL (&(Offer)->Dhcp4.Header.YourAddr, &mZeroIp4Addr)
307 EFI_DHCP4_PACKET Offer; member
DPxeBcDhcp6.h127 EFI_DHCP6_PACKET Offer; member
DPxeBcImpl.c105 Private->ProxyOffer.Dhcp6.Packet.Offer.Size = PXEBC_DHCP6_PACKET_MAX_SIZE; in EfiPxeBcStart()
110 Private->OfferBuffer[Index].Dhcp6.Packet.Offer.Size = PXEBC_DHCP6_PACKET_MAX_SIZE; in EfiPxeBcStart()
157 Private->ProxyOffer.Dhcp4.Packet.Offer.Size = PXEBC_DHCP4_PACKET_MAX_SIZE; in EfiPxeBcStart()
162 Private->OfferBuffer[Index].Dhcp4.Packet.Offer.Size = PXEBC_DHCP4_PACKET_MAX_SIZE; in EfiPxeBcStart()
DPxeBcBoot.c516 &Cache4->Packet.Offer.Dhcp4.Header.ServerAddr, in PxeBcDhcp4BootInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.c104 EFI_DHCP4_PACKET *Offer; in PxeBcCopyProxyOffer() local
110 Offer = &Private->Dhcp4Offers[OfferIndex].Packet.Offer; in PxeBcCopyProxyOffer()
112 PxeBcCopyEfiDhcp4Packet (&Private->ProxyOffer.Packet.Offer, Offer); in PxeBcCopyProxyOffer()
113 CopyMem (&Mode->ProxyOffer, &Offer->Dhcp4, Offer->Length); in PxeBcCopyProxyOffer()
134 EFI_DHCP4_PACKET *Offer; in PxeBcParseCachedDhcpPacket() local
145 Offer = &CachedPacket->Packet.Offer; in PxeBcParseCachedDhcpPacket()
154 Offer->Dhcp4.Option, in PxeBcParseCachedDhcpPacket()
155 GET_OPTION_BUFFER_LEN (Offer), in PxeBcParseCachedDhcpPacket()
169 (UINT8 *) Offer->Dhcp4.Header.BootFileName, in PxeBcParseCachedDhcpPacket()
170 sizeof (Offer->Dhcp4.Header.BootFileName), in PxeBcParseCachedDhcpPacket()
[all …]
DPxeBcDhcp.h273 EFI_DHCP4_PACKET Offer; member
290 #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.c2679 if (EFI_IP4_EQUAL (&Packet->Packet.Offer.Dhcp4.Header.ServerAddr, &mZeroIp4Addr)) { in DiscoverBootFile()
2688 &Packet->Packet.Offer.Dhcp4.Header.ServerAddr, in DiscoverBootFile()
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootDhcp4.c250 EFI_DHCP4_PACKET *Offer; in HttpBootParseDhcp4Packet() local
270 Offer = &Cache4->Packet.Offer; in HttpBootParseDhcp4Packet()
279 Offer->Dhcp4.Option, in HttpBootParseDhcp4Packet()
280 GET_OPTION_BUFFER_LEN (Offer), in HttpBootParseDhcp4Packet()
294 (UINT8 *) Offer->Dhcp4.Header.BootFileName, in HttpBootParseDhcp4Packet()
295 sizeof (Offer->Dhcp4.Header.BootFileName), in HttpBootParseDhcp4Packet()
305 (UINT8 *) Offer->Dhcp4.Header.ServerName, in HttpBootParseDhcp4Packet()
306 sizeof (Offer->Dhcp4.Header.ServerName), in HttpBootParseDhcp4Packet()
317 if (Offer->Dhcp4.Header.YourAddr.Addr[0] == 0) { in HttpBootParseDhcp4Packet()
354 } else if (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()
355 EFI_DHCP6_PACKET *Offer; in HttpBootCacheDhcp6Offer() local
359 Offer = &Cache6->Packet.Offer; in HttpBootCacheDhcp6Offer()
364 HttpBootCacheDhcp6Packet(Offer, RcvdOffer); in HttpBootCacheDhcp6Offer()
448 SelectAd = &Private->OfferBuffer[Private->SelectIndex - 1].Dhcp6.Packet.Offer; in HttpBootDhcp6CallBack()
DHttpBootImpl.c64 Private->OfferBuffer[Index].Dhcp4.Packet.Offer.Size = HTTP_BOOT_DHCP4_PACKET_MAX_SIZE; in HttpBootStart()
68 Private->OfferBuffer[Index].Dhcp6.Packet.Offer.Size = HTTP_BOOT_DHCP6_PACKET_MAX_SIZE; in HttpBootStart()
DHttpBootDhcp6.h104 EFI_DHCP6_PACKET Offer; member
DHttpBootDhcp4.h220 EFI_DHCP4_PACKET Offer; member
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4/
DPxeDhcp4.h255 DHCP4_PACKET Offer; member