Home
last modified time | relevance | path

Searched refs:ParaList (Results 1 – 11 of 11) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootDhcp4.c65 OptEnt.Para->ParaList[0] = DHCP4_TAG_NETMASK; in HttpBootBuildDhcp4Options()
66 OptEnt.Para->ParaList[1] = DHCP4_TAG_TIME_OFFSET; in HttpBootBuildDhcp4Options()
67 OptEnt.Para->ParaList[2] = DHCP4_TAG_ROUTER; in HttpBootBuildDhcp4Options()
68 OptEnt.Para->ParaList[3] = DHCP4_TAG_TIME_SERVER; in HttpBootBuildDhcp4Options()
69 OptEnt.Para->ParaList[4] = DHCP4_TAG_NAME_SERVER; in HttpBootBuildDhcp4Options()
70 OptEnt.Para->ParaList[5] = DHCP4_TAG_DNS_SERVER; in HttpBootBuildDhcp4Options()
71 OptEnt.Para->ParaList[6] = DHCP4_TAG_HOSTNAME; in HttpBootBuildDhcp4Options()
72 OptEnt.Para->ParaList[7] = DHCP4_TAG_BOOTFILE_LEN; in HttpBootBuildDhcp4Options()
73 OptEnt.Para->ParaList[8] = DHCP4_TAG_DOMAINNAME; in HttpBootBuildDhcp4Options()
74 OptEnt.Para->ParaList[9] = DHCP4_TAG_ROOTPATH; in HttpBootBuildDhcp4Options()
[all …]
DHttpBootDhcp4.h111 UINT8 ParaList[135]; member
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/
DIScsiDhcp.c385 EFI_DHCP4_PACKET_OPTION *ParaList; in IScsiDoDhcp() local
392 ParaList = NULL; in IScsiDoDhcp()
430 ParaList = AllocatePool (sizeof (EFI_DHCP4_PACKET_OPTION) + 3); in IScsiDoDhcp()
431 if (ParaList == NULL) { in IScsiDoDhcp()
439 ParaList->OpCode = DHCP4_TAG_PARA_LIST; in IScsiDoDhcp()
440 ParaList->Length = (UINT8) (NvData->TargetInfoFromDhcp ? 4 : 3); in IScsiDoDhcp()
441 ParaList->Data[0] = DHCP4_TAG_NETMASK; in IScsiDoDhcp()
442 ParaList->Data[1] = DHCP4_TAG_ROUTER; in IScsiDoDhcp()
443 ParaList->Data[2] = DHCP4_TAG_DNS_SERVER; in IScsiDoDhcp()
444 ParaList->Data[3] = DHCP4_TAG_ROOTPATH; in IScsiDoDhcp()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/
DIScsiDhcp.c361 EFI_DHCP4_PACKET_OPTION *ParaList; in IScsiDoDhcp() local
368 ParaList = NULL; in IScsiDoDhcp()
404 ParaList = AllocatePool (sizeof (EFI_DHCP4_PACKET_OPTION) + 3); in IScsiDoDhcp()
405 if (ParaList == NULL) { in IScsiDoDhcp()
412 ParaList->OpCode = DHCP4_TAG_PARA_LIST; in IScsiDoDhcp()
413 ParaList->Length = (UINT8) (ConfigData->NvData.TargetInfoFromDhcp ? 4 : 3); in IScsiDoDhcp()
414 Data = &ParaList->Data[0]; in IScsiDoDhcp()
422 Dhcp4ConfigData.OptionList = &ParaList; in IScsiDoDhcp()
448 if (ParaList != NULL) { in IScsiDoDhcp()
449 FreePool (ParaList); in IScsiDoDhcp()
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsDhcp.c283 EFI_DHCP4_PACKET_OPTION *ParaList[2]; in GetDns4ServerFromDhcp4() local
304 ZeroMem ((UINT8 *) ParaList, sizeof (ParaList)); in GetDns4ServerFromDhcp4()
457 ParaList[0] = AllocateZeroPool (sizeof (EFI_DHCP4_PACKET_OPTION)); in GetDns4ServerFromDhcp4()
458 if (ParaList[0] == NULL) { in GetDns4ServerFromDhcp4()
463 ParaList[0]->OpCode = DHCP4_TAG_TYPE; in GetDns4ServerFromDhcp4()
464 ParaList[0]->Length = 1; in GetDns4ServerFromDhcp4()
465 ParaList[0]->Data[0] = DHCP4_MSG_INFORM; in GetDns4ServerFromDhcp4()
467 ParaList[1] = AllocateZeroPool (sizeof (EFI_DHCP4_PACKET_OPTION)); in GetDns4ServerFromDhcp4()
468 if (ParaList[1] == NULL) { in GetDns4ServerFromDhcp4()
473 ParaList[1]->OpCode = DHCP4_TAG_PARA_LIST; in GetDns4ServerFromDhcp4()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcDhcp4.c271 OptEnt.Para->ParaList[0] = DHCP4_TAG_NETMASK; in PxeBcBuildDhcp4Options()
272 OptEnt.Para->ParaList[1] = DHCP4_TAG_TIME_OFFSET; in PxeBcBuildDhcp4Options()
273 OptEnt.Para->ParaList[2] = DHCP4_TAG_ROUTER; in PxeBcBuildDhcp4Options()
274 OptEnt.Para->ParaList[3] = DHCP4_TAG_TIME_SERVER; in PxeBcBuildDhcp4Options()
275 OptEnt.Para->ParaList[4] = DHCP4_TAG_NAME_SERVER; in PxeBcBuildDhcp4Options()
276 OptEnt.Para->ParaList[5] = DHCP4_TAG_DNS_SERVER; in PxeBcBuildDhcp4Options()
277 OptEnt.Para->ParaList[6] = DHCP4_TAG_HOSTNAME; in PxeBcBuildDhcp4Options()
278 OptEnt.Para->ParaList[7] = DHCP4_TAG_BOOTFILE_LEN; in PxeBcBuildDhcp4Options()
279 OptEnt.Para->ParaList[8] = DHCP4_TAG_DOMAINNAME; in PxeBcBuildDhcp4Options()
280 OptEnt.Para->ParaList[9] = DHCP4_TAG_ROOTPATH; in PxeBcBuildDhcp4Options()
[all …]
DPxeBcDhcp4.h169 UINT8 ParaList[135]; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.c1082 OptEnt.Para->ParaList[0] = DHCP4_TAG_NETMASK; in PxeBcBuildDhcpOptions()
1083 OptEnt.Para->ParaList[1] = DHCP4_TAG_TIME_OFFSET; in PxeBcBuildDhcpOptions()
1084 OptEnt.Para->ParaList[2] = DHCP4_TAG_ROUTER; in PxeBcBuildDhcpOptions()
1085 OptEnt.Para->ParaList[3] = DHCP4_TAG_TIME_SERVER; in PxeBcBuildDhcpOptions()
1086 OptEnt.Para->ParaList[4] = DHCP4_TAG_NAME_SERVER; in PxeBcBuildDhcpOptions()
1087 OptEnt.Para->ParaList[5] = DHCP4_TAG_DNS_SERVER; in PxeBcBuildDhcpOptions()
1088 OptEnt.Para->ParaList[6] = DHCP4_TAG_HOSTNAME; in PxeBcBuildDhcpOptions()
1089 OptEnt.Para->ParaList[7] = DHCP4_TAG_BOOTFILE_LEN; in PxeBcBuildDhcpOptions()
1090 OptEnt.Para->ParaList[8] = DHCP4_TAG_DOMAINNAME; in PxeBcBuildDhcpOptions()
1091 OptEnt.Para->ParaList[9] = DHCP4_TAG_ROOTPATH; in PxeBcBuildDhcpOptions()
[all …]
DPxeBcDhcp.h131 UINT8 ParaList[135]; member
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/
DBdsFilePath.c1035 DHCP4_OPTION ParaList; in BdsTftpLoadImage() local
1120 ParaList.Head.OpCode = DHCP_TAG_PARA_LIST; in BdsTftpLoadImage()
1121 ParaList.Head.Length = 2; in BdsTftpLoadImage()
1122 ParaList.Head.Data[0] = DHCP_TAG_NETMASK; in BdsTftpLoadImage()
1123 ParaList.Route = DHCP_TAG_ROUTER; in BdsTftpLoadImage()
1124 OptionList[0] = &ParaList.Head; in BdsTftpLoadImage()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Ip4Dxe/
DIp4Config2Impl.c920 IP4_CONFIG2_DHCP4_OPTION ParaList; in Ip4StartAutoConfig() local
997 ParaList.Head.OpCode = DHCP4_TAG_PARA_LIST; in Ip4StartAutoConfig()
998 ParaList.Head.Length = 3; in Ip4StartAutoConfig()
999 ParaList.Head.Data[0] = DHCP4_TAG_NETMASK; in Ip4StartAutoConfig()
1000 ParaList.Route = DHCP4_TAG_ROUTER; in Ip4StartAutoConfig()
1001 ParaList.Dns = DHCP4_TAG_DNS_SERVER; in Ip4StartAutoConfig()
1002 OptionList[0] = &ParaList.Head; in Ip4StartAutoConfig()