Home
last modified time | relevance | path

Searched refs:OptionList (Results 1 – 25 of 44) sorted by relevance

12

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiDhcp.c199 EFI_DHCP4_PACKET_OPTION **OptionList; in IScsiDhcpSelectOffer() local
213 OptionList = AllocatePool (OptionCount * sizeof (EFI_DHCP4_PACKET_OPTION *)); in IScsiDhcpSelectOffer()
214 if (OptionList == NULL) { in IScsiDhcpSelectOffer()
218 Status = This->Parse (This, Packet, &OptionCount, OptionList); in IScsiDhcpSelectOffer()
220 FreePool (OptionList); in IScsiDhcpSelectOffer()
225 if (OptionList[Index]->OpCode != DHCP4_TAG_ROOTPATH) { in IScsiDhcpSelectOffer()
230 (CHAR8 *) &OptionList[Index]->Data[0], in IScsiDhcpSelectOffer()
231 OptionList[Index]->Length, in IScsiDhcpSelectOffer()
242 FreePool (OptionList); in IScsiDhcpSelectOffer()
267 EFI_DHCP4_PACKET_OPTION **OptionList; in IScsiParseDhcpAck() local
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiDhcp.c217 EFI_DHCP4_PACKET_OPTION **OptionList; in IScsiDhcpSelectOffer() local
231 OptionList = AllocatePool (OptionCount * sizeof (EFI_DHCP4_PACKET_OPTION *)); in IScsiDhcpSelectOffer()
232 if (OptionList == NULL) { in IScsiDhcpSelectOffer()
236 Status = This->Parse (This, Packet, &OptionCount, OptionList); in IScsiDhcpSelectOffer()
238 FreePool (OptionList); in IScsiDhcpSelectOffer()
243 if (OptionList[Index]->OpCode != DHCP4_TAG_ROOTPATH) { in IScsiDhcpSelectOffer()
248 (CHAR8 *) &OptionList[Index]->Data[0], in IScsiDhcpSelectOffer()
249 OptionList[Index]->Length, in IScsiDhcpSelectOffer()
260 FreePool (OptionList); in IScsiDhcpSelectOffer()
287 EFI_DHCP4_PACKET_OPTION **OptionList; in IScsiParseDhcpAck() local
[all …]
DIScsiDhcp6.c251 EFI_DHCP6_PACKET_OPTION **OptionList; in IScsiDhcp6ParseReply() local
263 OptionList = AllocateZeroPool (OptionCount * sizeof (EFI_DHCP6_PACKET_OPTION *)); in IScsiDhcp6ParseReply()
264 if (OptionList == NULL) { in IScsiDhcp6ParseReply()
268 Status = This->Parse (This, Packet, &OptionCount, OptionList); in IScsiDhcp6ParseReply()
277 OptionList[Index]->OpCode = NTOHS (OptionList[Index]->OpCode); in IScsiDhcp6ParseReply()
278 OptionList[Index]->OpLen = NTOHS (OptionList[Index]->OpLen); in IScsiDhcp6ParseReply()
283 if (OptionList[Index]->OpCode == DHCP6_OPT_DNS_SERVERS) { in IScsiDhcp6ParseReply()
285 if (((OptionList[Index]->OpLen & 0xf) != 0) || (OptionList[Index]->OpLen == 0)) { in IScsiDhcp6ParseReply()
292 CopyMem (&ConfigData->PrimaryDns, &OptionList[Index]->Data[0], sizeof (EFI_IPv6_ADDRESS)); in IScsiDhcp6ParseReply()
294 if (OptionList[Index]->OpLen > 16) { in IScsiDhcp6ParseReply()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsDhcp.c93 EFI_DHCP4_PACKET_OPTION **OptionList; in ParseDhcp4Ack() local
103 OptionList = NULL; in ParseDhcp4Ack()
105 Status = Dhcp4->Parse (Dhcp4, Packet, &OptionCount, OptionList); in ParseDhcp4Ack()
110 OptionList = AllocatePool (OptionCount * sizeof (EFI_DHCP4_PACKET_OPTION *)); in ParseDhcp4Ack()
111 if (OptionList == NULL) { in ParseDhcp4Ack()
115 Status = Dhcp4->Parse (Dhcp4, Packet, &OptionCount, OptionList); in ParseDhcp4Ack()
117 gBS->FreePool (OptionList); in ParseDhcp4Ack()
127 if (OptionList[Index]->OpCode == DHCP4_TAG_DNS_SERVER) { in ParseDhcp4Ack()
129 if (((OptionList[Index]->Length & 0x3) != 0) || (OptionList[Index]->Length == 0)) { in ParseDhcp4Ack()
134 ServerCount = OptionList[Index]->Length/4; in ParseDhcp4Ack()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/
DMtftp4Option.c248 OUT EFI_MTFTP4_OPTION **OptionList OPTIONAL in Mtftp4ExtractOptions()
255 if (OptionList != NULL) { in Mtftp4ExtractOptions()
256 *OptionList = NULL; in Mtftp4ExtractOptions()
287 if (OptionList == NULL) { in Mtftp4ExtractOptions()
291 *OptionList = AllocatePool (*OptionCount * sizeof (EFI_MTFTP4_OPTION)); in Mtftp4ExtractOptions()
293 if (*OptionList == NULL) { in Mtftp4ExtractOptions()
297 Mtftp4FillOptions (Packet, PacketLen, OptionCount, *OptionList); in Mtftp4ExtractOptions()
517 EFI_MTFTP4_OPTION *OptionList; in Mtftp4ParseOptionOack() local
523 Status = Mtftp4ExtractOptions (Packet, PacketLen, &Count, &OptionList); in Mtftp4ParseOptionOack()
528 ASSERT (OptionList != NULL); in Mtftp4ParseOptionOack()
[all …]
DMtftp4Impl.c374 ((Token->OptionCount != 0) && (Token->OptionList == NULL))) { in Mtftp4Start()
426 Token->OptionList, in Mtftp4Start()
737 OUT EFI_MTFTP4_OPTION **OptionList OPTIONAL in EfiMtftp4ParseOptions()
748 Status = Mtftp4ExtractOptions (Packet, PacketLen, OptionCount, OptionList); in EfiMtftp4ParseOptions()
996 IN EFI_MTFTP4_OPTION *OptionList OPTIONAL, in EfiMtftp4GetInfo()
1006 ((OptionCount != 0) && (OptionList == NULL))) { in EfiMtftp4GetInfo()
1028 Token.OptionList = OptionList; in EfiMtftp4GetInfo()
DMtftp4Option.h62 OUT EFI_MTFTP4_OPTION **OptionList OPTIONAL
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/
DMtftp6Option.c346 OUT EFI_MTFTP6_OPTION **OptionList OPTIONAL in Mtftp6ParseStart()
357 if (OptionList != NULL) { in Mtftp6ParseStart()
358 *OptionList = NULL; in Mtftp6ParseStart()
392 if (OptionList == NULL) { in Mtftp6ParseStart()
399 *OptionList = AllocateZeroPool (*OptionCount * sizeof (EFI_MTFTP6_OPTION)); in Mtftp6ParseStart()
401 if (*OptionList == NULL) { in Mtftp6ParseStart()
409 Status = Mtftp6ParsePacketOption (Packet, PacketLen, OptionCount, *OptionList); in Mtftp6ParseStart()
DMtftp6Impl.c333 IN EFI_MTFTP6_OPTION *OptionList OPTIONAL, in EfiMtftp6GetInfo()
345 (OptionCount != 0 && OptionList == NULL) || in EfiMtftp6GetInfo()
370 Token.OptionList = OptionList; in EfiMtftp6GetInfo()
431 OUT EFI_MTFTP6_OPTION **OptionList OPTIONAL in EfiMtftp6ParseOptions()
438 return Mtftp6ParseStart (Packet, PacketLen, OptionCount, OptionList); in EfiMtftp6ParseOptions()
DMtftp6Impl.h257 IN EFI_MTFTP6_OPTION *OptionList OPTIONAL,
299 OUT EFI_MTFTP6_OPTION **OptionList OPTIONAL
DMtftp6Option.h145 OUT EFI_MTFTP6_OPTION **OptionList OPTIONAL
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/
DDhcp6Impl.c427 if (Dhcp6CfgData->OptionCount > 0 && Dhcp6CfgData->OptionList == NULL) { in EfiDhcp6Configure()
430 if (Dhcp6CfgData->OptionList != NULL) { in EfiDhcp6Configure()
432 if (Dhcp6CfgData->OptionList[Index]->OpCode == Dhcp6OptClientId || in EfiDhcp6Configure()
433 Dhcp6CfgData->OptionList[Index]->OpCode == Dhcp6OptRapidCommit || in EfiDhcp6Configure()
434 Dhcp6CfgData->OptionList[Index]->OpCode == Dhcp6OptReconfigureAccept || in EfiDhcp6Configure()
435 Dhcp6CfgData->OptionList[Index]->OpCode == Dhcp6OptIana || in EfiDhcp6Configure()
436 Dhcp6CfgData->OptionList[Index]->OpCode == Dhcp6OptIata in EfiDhcp6Configure()
596 IN EFI_DHCP6_PACKET_OPTION *OptionList[] OPTIONAL, in EfiDhcp6InfoRequest()
619 if (OptionCount > 0 && OptionList == NULL) { in EfiDhcp6InfoRequest()
623 if (OptionList != NULL) { in EfiDhcp6InfoRequest()
[all …]
DDhcp6Utility.c213 if (SorCfg->OptionList != NULL && SorCfg->OptionCount != 0) { in Dhcp6CopyConfigData()
216 DstCfg->OptionList = AllocateZeroPool (OptionListSize); in Dhcp6CopyConfigData()
218 if (DstCfg->OptionList == NULL) { in Dhcp6CopyConfigData()
227 OptionSize = NTOHS (SorCfg->OptionList[Index]->OpLen) + 4; in Dhcp6CopyConfigData()
228 DstCfg->OptionList[Index] = AllocateZeroPool (OptionSize); in Dhcp6CopyConfigData()
230 if (DstCfg->OptionList[Index] == NULL) { in Dhcp6CopyConfigData()
238 DstCfg->OptionList[Index], in Dhcp6CopyConfigData()
239 SorCfg->OptionList[Index], in Dhcp6CopyConfigData()
267 if (CfgData->OptionList != NULL) { in Dhcp6CleanupConfigData()
269 if (CfgData->OptionList[Index] != NULL) { in Dhcp6CleanupConfigData()
[all …]
DDhcp6Io.h159 IN EFI_DHCP6_PACKET_OPTION *OptionList[] OPTIONAL,
191 IN EFI_DHCP6_PACKET_OPTION *OptionList[],
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Config2Impl.c829 EFI_DHCP4_PACKET_OPTION **OptionList; in Ip4Config2OnDhcp4Complete() local
857 OptionList = NULL; in Ip4Config2OnDhcp4Complete()
859 …s = Instance->Dhcp4->Parse (Instance->Dhcp4, Dhcp4Mode.ReplyPacket, &OptionCount, OptionList); in Ip4Config2OnDhcp4Complete()
864 OptionList = AllocateZeroPool (OptionCount * sizeof (EFI_DHCP4_PACKET_OPTION *)); in Ip4Config2OnDhcp4Complete()
865 if (OptionList == NULL) { in Ip4Config2OnDhcp4Complete()
869 …Status = Instance->Dhcp4->Parse (Instance->Dhcp4, Dhcp4Mode.ReplyPacket, &OptionCount, OptionList); in Ip4Config2OnDhcp4Complete()
871 FreePool (OptionList); in Ip4Config2OnDhcp4Complete()
879 if (OptionList[Index]->OpCode == DHCP4_TAG_DNS_SERVER) { in Ip4Config2OnDhcp4Complete()
880 if (((OptionList[Index]->Length & 0x3) != 0) || (OptionList[Index]->Length == 0)) { in Ip4Config2OnDhcp4Complete()
884 … Ip4Config2SetDnsServerWorker (Instance, OptionList[Index]->Length, &OptionList[Index]->Data[0]); in Ip4Config2OnDhcp4Complete()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DMtftp6.h432 EFI_MTFTP6_OPTION *OptionList; member
583 IN EFI_MTFTP6_OPTION *OptionList OPTIONAL,
625 OUT EFI_MTFTP6_OPTION **OptionList OPTIONAL
DMtftp4.h361 IN EFI_MTFTP4_OPTION *OptionList,
395 OUT EFI_MTFTP4_OPTION **OptionList OPTIONAL
559 EFI_MTFTP4_OPTION *OptionList; member
DDhcp6.h354 EFI_DHCP6_PACKET_OPTION **OptionList; member
580 IN EFI_DHCP6_PACKET_OPTION *OptionList[] OPTIONAL,
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/Mtftp4/
DMtftp4.h230 IN EFI_MTFTP4_OPTION *OptionList,
243 OUT EFI_MTFTP4_OPTION **OptionList OPTIONAL
298 IN EFI_MTFTP4_OPTION *OptionList; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Dhcp4Dxe/
DDhcp4Impl.c437 if (Config->OptionList != NULL) { in DhcpCleanConfigure()
439 if (Config->OptionList[Index] != NULL) { in DhcpCleanConfigure()
440 FreePool (Config->OptionList[Index]); in DhcpCleanConfigure()
444 FreePool (Config->OptionList); in DhcpCleanConfigure()
476 Dst->OptionList = NULL; in DhcpCopyConfigure()
514 if (Src->OptionList != NULL) { in DhcpCopyConfigure()
516 Dst->OptionList = AllocateZeroPool (Len); in DhcpCopyConfigure()
518 if (Dst->OptionList == NULL) { in DhcpCopyConfigure()
522 DstOptions = Dst->OptionList; in DhcpCopyConfigure()
523 SrcOptions = Src->OptionList; in DhcpCopyConfigure()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DString.py843 OptionList = OptionString.split()
847 for Index in range(len(OptionList)):
848 Opt = OptionList[Index]
856 OptionList[Index] = ""
859 return " ".join(OptionList)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/PatchPcdValue/
DPatchPcdValue.py213 OptionList = [
234 …Parser = OptionParser(description=__copyright__, version=__version__, option_list=OptionList, usag…
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcMtftp.c287 Token.OptionList = ReqOpt; in PxeBcMtftp6ReadFile()
370 Token.OptionList = ReqOpt; in PxeBcMtftp6WriteFile()
445 Token.OptionList = ReqOpt; in PxeBcMtftp6ReadDirectory()
733 Token.OptionList = ReqOpt; in PxeBcMtftp4ReadFile()
816 Token.OptionList = ReqOpt; in PxeBcMtftp4WriteFile()
891 Token.OptionList = ReqOpt; in PxeBcMtftp4ReadDirectory()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcMtftp.c274 Token.OptionList = ReqOpt; in PxeBcTftpReadFile()
357 Token.OptionList = ReqOpt; in PxeBcTftpWriteFile()
431 Token.OptionList = ReqOpt; in PxeBcTftpReadDirectory()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Library/
DString.py701 OptionList = OptionString.split()
705 for Index in range(len(OptionList)):
706 Opt = OptionList[Index]
714 OptionList[Index] = ""
717 return " ".join(OptionList)

12