Home
last modified time | relevance | path

Searched refs:OptEnt (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/HttpBootDxe/
DHttpBootDhcp4.c52 HTTP_BOOT_DHCP4_OPTION_ENTRY OptEnt; in HttpBootBuildDhcp4Options() local
64 OptEnt.Para = (HTTP_BOOT_DHCP4_OPTION_PARA *) OptList[Index]->Data; in HttpBootBuildDhcp4Options()
65 OptEnt.Para->ParaList[0] = HTTP_BOOT_DHCP4_TAG_NETMASK; in HttpBootBuildDhcp4Options()
66 OptEnt.Para->ParaList[1] = HTTP_BOOT_DHCP4_TAG_TIME_OFFSET; in HttpBootBuildDhcp4Options()
67 OptEnt.Para->ParaList[2] = HTTP_BOOT_DHCP4_TAG_ROUTER; in HttpBootBuildDhcp4Options()
68 OptEnt.Para->ParaList[3] = HTTP_BOOT_DHCP4_TAG_TIME_SERVER; in HttpBootBuildDhcp4Options()
69 OptEnt.Para->ParaList[4] = HTTP_BOOT_DHCP4_TAG_NAME_SERVER; in HttpBootBuildDhcp4Options()
70 OptEnt.Para->ParaList[5] = HTTP_BOOT_DHCP4_TAG_DNS_SERVER; in HttpBootBuildDhcp4Options()
71 OptEnt.Para->ParaList[6] = HTTP_BOOT_DHCP4_TAG_HOSTNAME; in HttpBootBuildDhcp4Options()
72 OptEnt.Para->ParaList[7] = HTTP_BOOT_DHCP4_TAG_BOOTFILE_LEN; in HttpBootBuildDhcp4Options()
[all …]
DHttpBootDhcp6.c34 HTTP_BOOT_DHCP6_OPTION_ENTRY OptEnt; in HttpBootBuildDhcp6Options() local
46 OptEnt.Oro = (HTTP_BOOT_DHCP6_OPTION_ORO *) OptList[Index]->Data; in HttpBootBuildDhcp6Options()
47 OptEnt.Oro->OpCode[0] = HTONS(HTTP_BOOT_DHCP6_OPT_BOOT_FILE_URL); in HttpBootBuildDhcp6Options()
48 OptEnt.Oro->OpCode[1] = HTONS(HTTP_BOOT_DHCP6_OPT_BOOT_FILE_PARAM); in HttpBootBuildDhcp6Options()
49 OptEnt.Oro->OpCode[2] = HTONS(HTTP_BOOT_DHCP6_OPT_DNS_SERVERS); in HttpBootBuildDhcp6Options()
50 OptEnt.Oro->OpCode[3] = HTONS(HTTP_BOOT_DHCP6_OPT_VENDOR_CLASS); in HttpBootBuildDhcp6Options()
59 OptEnt.Undi = (HTTP_BOOT_DHCP6_OPTION_UNDI *) OptList[Index]->Data; in HttpBootBuildDhcp6Options()
62 OptEnt.Undi->Type = Private->Nii->Type; in HttpBootBuildDhcp6Options()
63 OptEnt.Undi->MajorVer = Private->Nii->MajorVer; in HttpBootBuildDhcp6Options()
64 OptEnt.Undi->MinorVer = Private->Nii->MinorVer; in HttpBootBuildDhcp6Options()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcDhcp4.c236 PXEBC_DHCP4_OPTION_ENTRY OptEnt; in PxeBcBuildDhcp4Options() local
248 OptEnt.Mesg = (PXEBC_DHCP4_OPTION_MESG *) OptList[Index]->Data; in PxeBcBuildDhcp4Options()
249 OptEnt.Mesg->Type = PXEBC_DHCP4_MSG_TYPE_REQUEST; in PxeBcBuildDhcp4Options()
258 OptEnt.MaxMesgSize = (PXEBC_DHCP4_OPTION_MAX_MESG_SIZE *) OptList[Index]->Data; in PxeBcBuildDhcp4Options()
260 CopyMem (&OptEnt.MaxMesgSize->Size, &Value, sizeof (UINT16)); in PxeBcBuildDhcp4Options()
270 OptEnt.Para = (PXEBC_DHCP4_OPTION_PARA *) OptList[Index]->Data; in PxeBcBuildDhcp4Options()
271 OptEnt.Para->ParaList[0] = PXEBC_DHCP4_TAG_NETMASK; in PxeBcBuildDhcp4Options()
272 OptEnt.Para->ParaList[1] = PXEBC_DHCP4_TAG_TIME_OFFSET; in PxeBcBuildDhcp4Options()
273 OptEnt.Para->ParaList[2] = PXEBC_DHCP4_TAG_ROUTER; in PxeBcBuildDhcp4Options()
274 OptEnt.Para->ParaList[3] = PXEBC_DHCP4_TAG_TIME_SERVER; in PxeBcBuildDhcp4Options()
[all …]
DPxeBcDhcp6.c85 PXEBC_DHCP6_OPTION_ENTRY OptEnt; in PxeBcBuildDhcp6Options() local
97 OptEnt.Oro = (PXEBC_DHCP6_OPTION_ORO *) OptList[Index]->Data; in PxeBcBuildDhcp6Options()
98 OptEnt.Oro->OpCode[0] = HTONS(PXEBC_DHCP6_OPT_BOOT_FILE_URL); in PxeBcBuildDhcp6Options()
99 OptEnt.Oro->OpCode[1] = HTONS(PXEBC_DHCP6_OPT_BOOT_FILE_PARAM); in PxeBcBuildDhcp6Options()
108 OptEnt.Undi = (PXEBC_DHCP6_OPTION_UNDI *) OptList[Index]->Data; in PxeBcBuildDhcp6Options()
111 OptEnt.Undi->Type = Private->Nii->Type; in PxeBcBuildDhcp6Options()
112 OptEnt.Undi->MajorVer = Private->Nii->MajorVer; in PxeBcBuildDhcp6Options()
113 OptEnt.Undi->MinorVer = Private->Nii->MinorVer; in PxeBcBuildDhcp6Options()
115 OptEnt.Undi->Type = DEFAULT_UNDI_TYPE; in PxeBcBuildDhcp6Options()
116 OptEnt.Undi->MajorVer = DEFAULT_UNDI_MAJOR; in PxeBcBuildDhcp6Options()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.c1001 PXEBC_DHCP4_OPTION_ENTRY OptEnt; in PxeBcBuildDhcpOptions() local
1013 OptEnt.Mesg = (PXEBC_DHCP4_OPTION_MESG *) OptList[Index]->Data; in PxeBcBuildDhcpOptions()
1014 OptEnt.Mesg->Type = PXEBC_DHCP4_MSG_TYPE_REQUEST; in PxeBcBuildDhcpOptions()
1023 OptEnt.MaxMesgSize = (PXEBC_DHCP4_OPTION_MAX_MESG_SIZE *) OptList[Index]->Data; in PxeBcBuildDhcpOptions()
1025 CopyMem (&OptEnt.MaxMesgSize->Size, &Value, sizeof (UINT16)); in PxeBcBuildDhcpOptions()
1034 OptEnt.Para = (PXEBC_DHCP4_OPTION_PARA *) OptList[Index]->Data; in PxeBcBuildDhcpOptions()
1035 OptEnt.Para->ParaList[0] = PXEBC_DHCP4_TAG_NETMASK; in PxeBcBuildDhcpOptions()
1036 OptEnt.Para->ParaList[1] = PXEBC_DHCP4_TAG_TIME_OFFSET; in PxeBcBuildDhcpOptions()
1037 OptEnt.Para->ParaList[2] = PXEBC_DHCP4_TAG_ROUTER; in PxeBcBuildDhcpOptions()
1038 OptEnt.Para->ParaList[3] = PXEBC_DHCP4_TAG_TIME_SERVER; in PxeBcBuildDhcpOptions()
[all …]