Home
last modified time | relevance | path

Searched refs:Dhcp4 (Results 1 – 25 of 36) sorted by relevance

12

/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcDhcp4.c408 Seed->Length = sizeof (Seed->Dhcp4); in PxeBcSeedDhcp4Packet()
409 Header = &Seed->Dhcp4.Header; in PxeBcSeedDhcp4Packet()
416 Seed->Dhcp4.Magik = PXEBC_DHCP4_MAGIC; in PxeBcSeedDhcp4Packet()
417 Seed->Dhcp4.Option[0] = DHCP4_TAG_EOP; in PxeBcSeedDhcp4Packet()
441 CopyMem (&Dst->Dhcp4, &Src->Dhcp4, Src->Length); in PxeBcCacheDhcp4Packet()
488 Offer->Dhcp4.Option, 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()
[all …]
DPxeBcBoot.c87 OfferType = Mode->UsingIpv6 ? Cache->Dhcp6.OfferType : Cache->Dhcp4.OfferType; in PxeBcSelectBootPrompt()
101 VendorOpt = &Cache->Dhcp4.VendorOpt; in PxeBcSelectBootPrompt()
109 Cache->Dhcp4.OptList[PXEBC_DHCP4_TAG_INDEX_BOOTFILE] != NULL) { in PxeBcSelectBootPrompt()
298 OfferType = Mode->UsingIpv6 ? Cache->Dhcp6.OfferType : Cache->Dhcp4.OfferType; in PxeBcSelectBootMenu()
306 VendorOpt = &Cache->Dhcp4.VendorOpt; in PxeBcSelectBootMenu()
484 Cache4 = &Private->PxeReply.Dhcp4; in PxeBcDhcp4BootInfo()
486 Cache4 = &Private->ProxyOffer.Dhcp4; in PxeBcDhcp4BootInfo()
488 Cache4 = &Private->DhcpAck.Dhcp4; in PxeBcDhcp4BootInfo()
517 &Cache4->Packet.Offer.Dhcp4.Header.ServerAddr, in PxeBcDhcp4BootInfo()
746 Cache4 = (Mode->ProxyOfferReceived) ? &Private->ProxyOffer.Dhcp4 : &Private->DhcpAck.Dhcp4; in PxeBcExtractDiscoverInfo()
[all …]
DPxeBcDhcp4.h152 EFI_IP4_EQUAL (&(Offer)->Dhcp4.Header.YourAddr, &mZeroIp4Addr)
266 #define PXEBC_CACHED_DHCP4_PACKET_MAX_SIZE (OFFSET_OF (EFI_DHCP4_PACKET, Dhcp4) + PXEBC_DHCP4_PACK…
367 IN EFI_DHCP4_PROTOCOL *Dhcp4
DPxeBcImpl.h86 PXEBC_DHCP4_PACKET_CACHE Dhcp4; member
123 EFI_DHCP4_PROTOCOL *Dhcp4; member
DPxeBcImpl.c157 Private->ProxyOffer.Dhcp4.Packet.Offer.Size = PXEBC_CACHED_DHCP4_PACKET_MAX_SIZE; in EfiPxeBcStart()
158 Private->DhcpAck.Dhcp4.Packet.Ack.Size = PXEBC_CACHED_DHCP4_PACKET_MAX_SIZE; in EfiPxeBcStart()
159 Private->PxeReply.Dhcp4.Packet.Ack.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()
346 Private->Dhcp4->Stop (Private->Dhcp4); in EfiPxeBcStop()
347 Private->Dhcp4->Configure (Private->Dhcp4, NULL); in EfiPxeBcStop()
466 Status = PxeBcDhcp4Dora (Private, Private->Dhcp4); in EfiPxeBcDhcp()
730 Status = PxeBcParseDhcp4Packet (&Private->PxeReply.Dhcp4); in EfiPxeBcDiscover()
734 &Private->PxeReply.Dhcp4.Packet.Ack.Dhcp4, in EfiPxeBcDiscover()
735 Private->PxeReply.Dhcp4.Packet.Ack.Length in EfiPxeBcDiscover()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiDhcp.c260 IN EFI_DHCP4_PROTOCOL *Dhcp4, in IScsiParseDhcpAck() argument
270 Status = Dhcp4->GetModeData (Dhcp4, &Dhcp4ModeData); in IScsiParseDhcpAck()
286 Status = Dhcp4->Parse (Dhcp4, Dhcp4ModeData.ReplyPacket, &OptionCount, OptionList); in IScsiParseDhcpAck()
296 Status = Dhcp4->Parse (Dhcp4, Dhcp4ModeData.ReplyPacket, &OptionCount, OptionList); in IScsiParseDhcpAck()
359 EFI_DHCP4_PROTOCOL *Dhcp4; in IScsiDoDhcp() local
367 Dhcp4 = NULL; in IScsiDoDhcp()
395 (VOID **)&Dhcp4, in IScsiDoDhcp()
432 Status = Dhcp4->Configure (Dhcp4, &Dhcp4ConfigData); in IScsiDoDhcp()
437 Status = Dhcp4->Start (Dhcp4, NULL); in IScsiDoDhcp()
444 Status = IScsiParseDhcpAck (Dhcp4, ConfigData); in IScsiDoDhcp()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiDhcp.c280 IN EFI_DHCP4_PROTOCOL *Dhcp4, in IScsiParseDhcpAck() argument
291 Status = Dhcp4->GetModeData (Dhcp4, &Dhcp4ModeData); in IScsiParseDhcpAck()
309 Status = Dhcp4->Parse (Dhcp4, Dhcp4ModeData.ReplyPacket, &OptionCount, OptionList); in IScsiParseDhcpAck()
319 Status = Dhcp4->Parse (Dhcp4, Dhcp4ModeData.ReplyPacket, &OptionCount, OptionList); in IScsiParseDhcpAck()
383 EFI_DHCP4_PROTOCOL *Dhcp4; in IScsiDoDhcp() local
391 Dhcp4 = NULL; in IScsiDoDhcp()
419 (VOID **) &Dhcp4, in IScsiDoDhcp()
458 Status = Dhcp4->Configure (Dhcp4, &Dhcp4ConfigData); in IScsiDoDhcp()
463 Status = Dhcp4->Start (Dhcp4, NULL); in IScsiDoDhcp()
470 Status = IScsiParseDhcpAck (Dhcp4, ConfigData); in IScsiDoDhcp()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsDhcp.c38 Seed->Length = sizeof (Seed->Dhcp4); in DnsInitSeedPacket()
39 Header = &Seed->Dhcp4.Header; in DnsInitSeedPacket()
46 Seed->Dhcp4.Magik = DHCP4_MAGIC; in DnsInitSeedPacket()
47 Seed->Dhcp4.Option[0] = DHCP4_TAG_EOP; in DnsInitSeedPacket()
86 IN EFI_DHCP4_PROTOCOL *Dhcp4, in ParseDhcp4Ack() argument
105 Status = Dhcp4->Parse (Dhcp4, Packet, &OptionCount, OptionList); in ParseDhcp4Ack()
115 Status = Dhcp4->Parse (Dhcp4, Packet, &OptionCount, OptionList); in ParseDhcp4Ack()
277 EFI_DHCP4_PROTOCOL *Dhcp4; in GetDns4ServerFromDhcp4() local
297 Dhcp4 = NULL; in GetDns4ServerFromDhcp4()
382 (VOID **) &Dhcp4, in GetDns4ServerFromDhcp4()
[all …]
DDnsDhcp.h73 IN EFI_DHCP4_PROTOCOL *Dhcp4,
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/
DComponentName.c260 IN EFI_DHCP4_PROTOCOL *Dhcp4 in UpdateName() argument
266 if (Dhcp4 == NULL) { in UpdateName()
273 Status = Dhcp4->GetModeData (Dhcp4, &Dhcp4ModeData); in UpdateName()
386 EFI_DHCP4_PROTOCOL *Dhcp4; in DhcpComponentNameGetControllerName() local
413 (VOID **)&Dhcp4, in DhcpComponentNameGetControllerName()
425 Status = UpdateName (Dhcp4); in DhcpComponentNameGetControllerName()
DDhcp4Io.c396 DhcpSb->ClientAddr = EFI_NTOHL (DhcpSb->Selected->Dhcp4.Header.YourAddr); in DhcpLeaseAcquired()
705 Head = &Packet->Dhcp4.Header; in DhcpHandleRequest()
706 Selected = &DhcpSb->Selected->Dhcp4.Header; in DhcpHandleRequest()
797 Head = &Packet->Dhcp4.Header; in DhcpHandleRenewRebind()
798 Selected = &DhcpSb->Selected->Dhcp4.Header; in DhcpHandleRenewRebind()
878 Head = &Packet->Dhcp4.Header; in DhcpHandleReboot()
1005 Head = &Packet->Dhcp4.Header; in DhcpInput()
1026 (Packet->Dhcp4.Magik == DHCP_OPTION_MAGIC) && in DhcpInput()
1208 SeedHead = &Seed->Dhcp4.Header; in DhcpSendMessage()
1211 Head = &Packet->Dhcp4.Header; in DhcpSendMessage()
[all …]
DDhcp4Option.c402 Packet->Dhcp4.Option, in DhcpIterateOptions()
415 (UINT8 *) Packet->Dhcp4.Header.BootFileName, in DhcpIterateOptions()
429 (UINT8 *) Packet->Dhcp4.Header.ServerName, in DhcpIterateOptions()
872 CopyMem (&Packet->Dhcp4.Header, &SeedPacket->Dhcp4.Header, sizeof (Packet->Dhcp4.Header)); in DhcpBuild()
873 Packet->Dhcp4.Magik = DHCP_OPTION_MAGIC; in DhcpBuild()
874 Buf = Packet->Dhcp4.Option; in DhcpBuild()
884 + (UINT32) (Buf - Packet->Dhcp4.Option); in DhcpBuild()
DDhcp4Impl.c1149 if ((SeedPacket == NULL) || (SeedPacket->Dhcp4.Magik != DHCP_OPTION_MAGIC) || in EfiDhcp4Build()
1208 ClientAddr = EFI_NTOHL (Token->Packet->Dhcp4.Header.ClientAddr); in Dhcp4InstanceConfigUdpIo()
1363 Head = &Packet->Dhcp4.Header; in PxeDhcpInput()
1374 (Head->Xid != Token->Packet->Dhcp4.Header.Xid) || in PxeDhcpInput()
1375 …(CompareMem (&Token->Packet->Dhcp4.Header.ClientHwAddr[0], Head->ClientHwAddr, Head->HwAddrLen) !=… in PxeDhcpInput()
1383 (Packet->Dhcp4.Magik == DHCP_OPTION_MAGIC) && in PxeDhcpInput()
1515 if ((Token->Packet->Dhcp4.Magik != DHCP_OPTION_MAGIC) || in EfiDhcp4TransmitReceive()
1516 (NTOHL (Token->Packet->Dhcp4.Header.Xid) == Instance->Service->Xid) || in EfiDhcp4TransmitReceive()
1530 ClientAddr = EFI_NTOHL (Token->Packet->Dhcp4.Header.ClientAddr); in EfiDhcp4TransmitReceive()
1557 &Token->Packet->Dhcp4.Header.ClientHwAddr[0], in EfiDhcp4TransmitReceive()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootDhcp4.c237 CopyMem (&Dst->Dhcp4, &Src->Dhcp4, Src->Length); in HttpBootCacheDhcp4Packet()
288 Offer->Dhcp4.Option, 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()
370 (&Offer->Dhcp4.Header.BootFileName[0] - in HttpBootParseDhcp4Packet()
454 Cache4 = &Private->OfferBuffer[Private->OfferNum].Dhcp4; in HttpBootCacheDhcp4Offer()
[all …]
DHttpBootImpl.c129 Private->OfferBuffer[Index].Dhcp4.Packet.Offer.Size = HTTP_CACHED_DHCP4_PACKET_MAX_SIZE; in HttpBootStart()
359 Private->Dhcp4->Stop (Private->Dhcp4); in HttpBootStop()
360 Private->Dhcp4->Configure (Private->Dhcp4, NULL); in HttpBootStop()
363 if (Private->OfferBuffer[Index].Dhcp4.UriParser) { in HttpBootStop()
364 HttpUrlFreeParser (Private->OfferBuffer[Index].Dhcp4.UriParser); in HttpBootStop()
DHttpBootDxe.h113 HTTP_BOOT_DHCP4_PACKET_CACHE Dhcp4; member
157 EFI_DHCP4_PROTOCOL *Dhcp4; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.c54 Seed->Length = sizeof (Seed->Dhcp4); in PxeBcInitSeedPacket()
56 Header = &Seed->Dhcp4.Header; in PxeBcInitSeedPacket()
64 Seed->Dhcp4.Magik = PXEBC_DHCP4_MAGIC; in PxeBcInitSeedPacket()
65 Seed->Dhcp4.Option[0] = DHCP4_TAG_EOP; in PxeBcInitSeedPacket()
89 CopyMem (&Dst->Dhcp4, &Src->Dhcp4, Src->Length); in PxeBcCopyEfiDhcp4Packet()
126 CopyMem (&Mode->ProxyOffer, &Offer->Dhcp4, Offer->Length); in PxeBcCopyProxyOffer()
168 Offer->Dhcp4.Option, in PxeBcParseCachedDhcpPacket()
183 (UINT8 *) Offer->Dhcp4.Header.BootFileName, in PxeBcParseCachedDhcpPacket()
184 sizeof (Offer->Dhcp4.Header.BootFileName), in PxeBcParseCachedDhcpPacket()
194 (UINT8 *) Offer->Dhcp4.Header.ServerName, in PxeBcParseCachedDhcpPacket()
[all …]
DPxeBcImpl.c529 Private->Dhcp4->Stop (Private->Dhcp4); in EfiPxeBcStop()
530 Private->Dhcp4->Configure (Private->Dhcp4, NULL); in EfiPxeBcStop()
580 EFI_DHCP4_PROTOCOL *Dhcp4; in EfiPxeBcDhcp() local
596 Dhcp4 = Private->Dhcp4; in EfiPxeBcDhcp()
628 Status = Dhcp4->Configure (Dhcp4, &Dhcp4CfgData); in EfiPxeBcDhcp()
642 Status = Dhcp4->Start (Dhcp4, NULL); in EfiPxeBcDhcp()
650 Status = Dhcp4->GetModeData (Dhcp4, &Dhcp4Mode); in EfiPxeBcDhcp()
672 Dhcp4->Stop (Dhcp4); in EfiPxeBcDhcp()
673 Dhcp4->Configure (Dhcp4, NULL); in EfiPxeBcDhcp()
679 Dhcp4->Configure (Dhcp4, &Dhcp4CfgData); in EfiPxeBcDhcp()
[all …]
DPxeBcDhcp.h231 #define PXEBC_CACHED_DHCP4_PACKET_MAX_SIZE (OFFSET_OF (EFI_DHCP4_PACKET, Dhcp4) + PXEBC_DHCP4_MAX_…
251 #define IS_PROXY_DHCP_OFFER(Offer) EFI_IP4_EQUAL (&((Offer)->Dhcp4.Header.YourAddr), &mZeroIp4Addr)
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Config2Impl.c52 EFI_DHCP4_PROTOCOL *Dhcp4; in Ip4Config2DestroyDhcp4() local
54 Dhcp4 = Instance->Dhcp4; in Ip4Config2DestroyDhcp4()
55 ASSERT (Dhcp4 != NULL); in Ip4Config2DestroyDhcp4()
57 Dhcp4->Stop (Dhcp4); in Ip4Config2DestroyDhcp4()
58 Dhcp4->Configure (Dhcp4, NULL); in Ip4Config2DestroyDhcp4()
59 Instance->Dhcp4 = NULL; in Ip4Config2DestroyDhcp4()
650 if (Instance->Dhcp4 != NULL) { in Ip4Config2CleanDhcp4()
651 Instance->Dhcp4->Stop (Instance->Dhcp4); in Ip4Config2CleanDhcp4()
660 Instance->Dhcp4 = NULL; in Ip4Config2CleanDhcp4()
832 ASSERT (Instance->Dhcp4 != NULL); in Ip4Config2OnDhcp4Complete()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Dhcp4/
DDhcp4.c23 #include EFI_PROTOCOL_DEFINITION (Dhcp4)
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/
DEfiProtocolLib.inf74 Dhcp4/Dhcp4.h
75 Dhcp4/Dhcp4.c
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsFilePath.c1031 EFI_DHCP4_PROTOCOL *Dhcp4; in BdsTftpLoadImage() local
1053 Dhcp4 = NULL; in BdsTftpLoadImage()
1075 (VOID **) &Dhcp4, in BdsTftpLoadImage()
1128 Status = Dhcp4->Configure (Dhcp4, &Dhcp4CfgData); in BdsTftpLoadImage()
1140 Status = Dhcp4->Start (Dhcp4, NULL); in BdsTftpLoadImage()
1150 Status = Dhcp4->GetModeData (Dhcp4, &Dhcp4Mode); in BdsTftpLoadImage()
1258 if (Dhcp4 != NULL) { in BdsTftpLoadImage()
1260 Dhcp4->Stop (Dhcp4); in BdsTftpLoadImage()
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/WebServer/
DDhcpOptions.c189 (UINT8 *)&pDhcp4Packet->Dhcp4 ); in DhcpOptionsPage()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Include/
DEdkIIGlueUefi.h131 #include EFI_PROTOCOL_DEFINITION(Dhcp4)

12