Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsDhcp.c240 UINT32 ServerCount; in ParseDhcp4Ack() local
245 ServerCount = 0; in ParseDhcp4Ack()
280 ServerCount = OptionList[Index]->Length/4; in ParseDhcp4Ack()
281 ServerList = AllocatePool (ServerCount * sizeof (EFI_IPv4_ADDRESS)); in ParseDhcp4Ack()
286 for(Count=0; Count < ServerCount; Count++){ in ParseDhcp4Ack()
290 *(DnsServerInfor->ServerCount) = ServerCount; in ParseDhcp4Ack()
331 UINT32 ServerCount; in ParseDhcp6Ack() local
337 ServerCount = 0; in ParseDhcp6Ack()
373 ServerCount = OptionList[Index]->OpLen/16; in ParseDhcp6Ack()
374 ServerList = AllocatePool (ServerCount * sizeof (EFI_IPv6_ADDRESS)); in ParseDhcp6Ack()
[all …]
DDnsDhcp.h44 UINT32 *ServerCount; member
52 UINT32 *ServerCount; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.c638 ASSERT (Private->ServerCount[OfferType] < PXEBC_MAX_OFFER_NUM); in PxeBcCacheDhcpOffer()
639 Private->OfferIndex[OfferType][Private->ServerCount[OfferType]] = Private->NumOffers; in PxeBcCacheDhcpOffer()
640 Private->ServerCount[OfferType]++; in PxeBcCacheDhcpOffer()
720 if (Private->ServerCount[DHCP4_PACKET_TYPE_PXE10] > 0) { in PxeBcSelectOffer()
726 } else if (Private->ServerCount[DHCP4_PACKET_TYPE_WFM11A] > 0) { in PxeBcSelectOffer()
733 (Private->ServerCount[DHCP4_PACKET_TYPE_DHCP_ONLY] > 0) in PxeBcSelectOffer()
742 (Private->ServerCount[DHCP4_PACKET_TYPE_DHCP_ONLY] > 0) in PxeBcSelectOffer()
750 } else if (Private->ServerCount[DHCP4_PACKET_TYPE_BINL] > 0) { in PxeBcSelectOffer()
757 (Private->ServerCount[DHCP4_PACKET_TYPE_DHCP_ONLY] > 0) in PxeBcSelectOffer()
769 for (Index = 0; Index < Private->ServerCount[DHCP4_PACKET_TYPE_DHCP_ONLY]; Index++) { in PxeBcSelectOffer()
DPxeBcImpl.h127 UINT32 ServerCount[DHCP4_PACKET_TYPE_MAX]; member
DPxeBcImpl.c637 ZeroMem (Private->ServerCount, sizeof (Private->ServerCount)); in EfiPxeBcDhcp()