Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DDnsDhcp.c94 UINT32 ServerCount; in ParseDhcp4Ack() local
99 ServerCount = 0; in ParseDhcp4Ack()
134 ServerCount = OptionList[Index]->Length/4; in ParseDhcp4Ack()
135 ServerList = AllocatePool (ServerCount * sizeof (EFI_IPv4_ADDRESS)); in ParseDhcp4Ack()
140 for(Count=0; Count < ServerCount; Count++){ in ParseDhcp4Ack()
144 *(DnsServerInfor->ServerCount) = ServerCount; in ParseDhcp4Ack()
185 UINT32 ServerCount; in ParseDhcp6Ack() local
191 ServerCount = 0; in ParseDhcp6Ack()
227 ServerCount = OptionList[Index]->OpLen/16; in ParseDhcp6Ack()
228 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.c664 ASSERT (Private->ServerCount[OfferType] < PXEBC_MAX_OFFER_NUM); in PxeBcCacheDhcpOffer()
665 Private->OfferIndex[OfferType][Private->ServerCount[OfferType]] = Private->NumOffers; in PxeBcCacheDhcpOffer()
666 Private->ServerCount[OfferType]++; in PxeBcCacheDhcpOffer()
748 if (Private->ServerCount[DHCP4_PACKET_TYPE_PXE10] > 0) { in PxeBcSelectOffer()
754 } else if (Private->ServerCount[DHCP4_PACKET_TYPE_WFM11A] > 0) { in PxeBcSelectOffer()
761 (Private->ServerCount[DHCP4_PACKET_TYPE_DHCP_ONLY] > 0) in PxeBcSelectOffer()
770 (Private->ServerCount[DHCP4_PACKET_TYPE_DHCP_ONLY] > 0) in PxeBcSelectOffer()
778 } else if (Private->ServerCount[DHCP4_PACKET_TYPE_BINL] > 0) { in PxeBcSelectOffer()
785 (Private->ServerCount[DHCP4_PACKET_TYPE_DHCP_ONLY] > 0) in PxeBcSelectOffer()
797 for (Index = 0; Index < Private->ServerCount[DHCP4_PACKET_TYPE_DHCP_ONLY]; Index++) { in PxeBcSelectOffer()
DPxeBcImpl.h128 UINT32 ServerCount[DHCP4_PACKET_TYPE_MAX]; member
DPxeBcImpl.c639 ZeroMem (Private->ServerCount, sizeof (Private->ServerCount)); in EfiPxeBcDhcp()