Lines Matching refs:SelectIndex
486 Select an DHCPv4 or DHCP6 offer, and record SelectIndex and SelectProxyType.
496 Private->SelectIndex = 0;
507 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpDns][0] + 1;
511 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpIpUriDns][0] + 1;
515 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpNameUriDns][0] + 1;
519 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpOnly][0] + 1;
523 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpIpUri][0] + 1;
539 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpIpUri][0] + 1;
543 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpIpUriDns][0] + 1;
547 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpNameUriDns][0] + 1;
552 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpOnly][0] + 1;
558 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpDns][0] + 1;
564 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpDns][0] + 1;
570 Private->SelectIndex = Private->OfferIndex[HttpOfferTypeDhcpDns][0] + 1;
654 // Select offer according to the priority in UEFI spec, and record the SelectIndex
659 if (Private->SelectIndex == 0) {
662 *NewPacket = &Private->OfferBuffer[Private->SelectIndex - 1].Dhcp4.Packet.Offer;