Lines Matching refs:Option
187 EFI_DHCP4_PACKET_OPTION *Option; in HttpBootParseDhcp4Options() local
190 Option = (EFI_DHCP4_PACKET_OPTION *) Buffer; in HttpBootParseDhcp4Options()
193 while (Offset < Length && Option->OpCode != DHCP4_TAG_EOP) { in HttpBootParseDhcp4Options()
195 if (Option->OpCode == OptTag) { in HttpBootParseDhcp4Options()
199 return Option; in HttpBootParseDhcp4Options()
205 if (Option->OpCode == DHCP4_TAG_PAD) { in HttpBootParseDhcp4Options()
208 Offset += Option->Length + 2; in HttpBootParseDhcp4Options()
211 Option = (EFI_DHCP4_PACKET_OPTION *) (Buffer + Offset); in HttpBootParseDhcp4Options()
260 EFI_DHCP4_PACKET_OPTION *Option; in HttpBootParseDhcp4Packet() local
288 Offer->Dhcp4.Option, in HttpBootParseDhcp4Packet()
297 Option = Options[HTTP_BOOT_DHCP4_TAG_INDEX_OVERLOAD]; in HttpBootParseDhcp4Packet()
298 if (Option != NULL) { in HttpBootParseDhcp4Packet()
299 if ((Option->Data[0] & HTTP_BOOT_DHCP4_OVERLOAD_FILE) != 0) { in HttpBootParseDhcp4Packet()
311 if ((Option->Data[0] & HTTP_BOOT_DHCP4_OVERLOAD_SERVER_NAME) != 0) { in HttpBootParseDhcp4Packet()
334 Option = Options[HTTP_BOOT_DHCP4_TAG_INDEX_CLASS_ID]; in HttpBootParseDhcp4Packet()
335 if ((Option != NULL) && (Option->Length >= 9) && in HttpBootParseDhcp4Packet()
336 (CompareMem (Option->Data, DEFAULT_CLASS_ID_DATA, 9) == 0)) { in HttpBootParseDhcp4Packet()
343 Option = Options[HTTP_BOOT_DHCP4_TAG_INDEX_DNS_SERVER]; in HttpBootParseDhcp4Packet()
344 if (Option != NULL) { in HttpBootParseDhcp4Packet()
623 Packet->Dhcp4.Option, in HttpBootDhcp4CallBack()