Lines Matching refs:PxeOption
101 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()
144 VendorOption->DiscoverCtrl = *PxeOption->Data; in PxeBcParseVendorOptions()
149 CopyMem (&VendorOption->DiscoverMcastIp, PxeOption->Data, sizeof (EFI_IPv4_ADDRESS)); in PxeBcParseVendorOptions()
154 VendorOption->BootSvrLen = PxeOption->Length; in PxeBcParseVendorOptions()
155 VendorOption->BootSvr = (PXEBC_BOOT_SVR_ENTRY *) PxeOption->Data; in PxeBcParseVendorOptions()
160 VendorOption->BootMenuLen = PxeOption->Length; in PxeBcParseVendorOptions()
161 VendorOption->BootMenu = (PXEBC_BOOT_MENU_ENTRY *) PxeOption->Data; in PxeBcParseVendorOptions()
166 VendorOption->MenuPromptLen = PxeOption->Length; in PxeBcParseVendorOptions()
167 VendorOption->MenuPrompt = (PXEBC_MENU_PROMPT *) PxeOption->Data; in PxeBcParseVendorOptions()
172 CopyMem (&VendorOption->McastIpBase, PxeOption->Data, sizeof (EFI_IPv4_ADDRESS)); in PxeBcParseVendorOptions()
173 … CopyMem (&VendorOption->McastIpBlock, PxeOption->Data + 4, sizeof (VendorOption->McastIpBlock)); in PxeBcParseVendorOptions()
174 … CopyMem (&VendorOption->McastIpRange, PxeOption->Data + 6, sizeof (VendorOption->McastIpRange)); in PxeBcParseVendorOptions()
179 VendorOption->CredTypeLen = PxeOption->Length; in PxeBcParseVendorOptions()
180 VendorOption->CredType = (UINT32 *) PxeOption->Data; in PxeBcParseVendorOptions()
185 CopyMem (&VendorOption->BootSrvType, PxeOption->Data, sizeof (VendorOption->BootSrvType)); in PxeBcParseVendorOptions()
186 … CopyMem (&VendorOption->BootSrvLayer, PxeOption->Data + 2, sizeof (VendorOption->BootSrvLayer)); in PxeBcParseVendorOptions()
199 SET_VENDOR_OPTION_BIT_MAP (BitMap, PxeOption->OpCode); in PxeBcParseVendorOptions()
204 if (PxeOption->OpCode == PXEBC_DHCP4_TAG_PAD) { in PxeBcParseVendorOptions()
207 Offset = (UINT8) (Offset + PxeOption->Length + 2); in PxeBcParseVendorOptions()
210 PxeOption = (EFI_DHCP4_PACKET_OPTION *) (Dhcp4Option->Data + Offset); in PxeBcParseVendorOptions()