Home
last modified time | relevance | path

Searched refs:PxeOption (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcDhcp4.c101 EFI_DHCP4_PACKET_OPTION *PxeOption; in PxeBcParseVendorOptions() local
106 PxeOption = (EFI_DHCP4_PACKET_OPTION *) &Dhcp4Option->Data[0]; in PxeBcParseVendorOptions()
109 ASSERT (PxeOption != NULL); in PxeBcParseVendorOptions()
111 while ((Offset < VendorOptionLen) && (PxeOption->OpCode != PXEBC_DHCP4_TAG_EOP)) { in PxeBcParseVendorOptions()
115 switch (PxeOption->OpCode) { in PxeBcParseVendorOptions()
119 CopyMem (&VendorOption->MtftpIp, PxeOption->Data, sizeof (EFI_IPv4_ADDRESS)); in PxeBcParseVendorOptions()
124 CopyMem (&VendorOption->MtftpCPort, PxeOption->Data, sizeof (VendorOption->MtftpCPort)); in PxeBcParseVendorOptions()
129 CopyMem (&VendorOption->MtftpSPort, PxeOption->Data, sizeof (VendorOption->MtftpSPort)); in PxeBcParseVendorOptions()
134 VendorOption->MtftpTimeout = *PxeOption->Data; in PxeBcParseVendorOptions()
139 VendorOption->MtftpDelay = *PxeOption->Data; in PxeBcParseVendorOptions()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.c1434 EFI_DHCP4_PACKET_OPTION *PxeOption; in PxeBcParseVendorOptions() local
1439 PxeOption = (EFI_DHCP4_PACKET_OPTION *) &Dhcp4Option->Data[0]; in PxeBcParseVendorOptions()
1442 while ((Offset < VendorOptionLen) && (PxeOption->OpCode != PXEBC_DHCP4_TAG_EOP)) { in PxeBcParseVendorOptions()
1446 switch (PxeOption->OpCode) { in PxeBcParseVendorOptions()
1450 CopyMem (&VendorOption->MtftpIp, PxeOption->Data, sizeof (EFI_IPv4_ADDRESS)); in PxeBcParseVendorOptions()
1455 CopyMem (&VendorOption->MtftpCPort, PxeOption->Data, sizeof (VendorOption->MtftpCPort)); in PxeBcParseVendorOptions()
1460 CopyMem (&VendorOption->MtftpSPort, PxeOption->Data, sizeof (VendorOption->MtftpSPort)); in PxeBcParseVendorOptions()
1465 VendorOption->MtftpTimeout = *PxeOption->Data; in PxeBcParseVendorOptions()
1470 VendorOption->MtftpDelay = *PxeOption->Data; in PxeBcParseVendorOptions()
1475 VendorOption->DiscoverCtrl = *PxeOption->Data; in PxeBcParseVendorOptions()
[all …]