Lines Matching refs:Dns4CacheEntry
1164 EFI_DNS4_CACHE_ENTRY *Dns4CacheEntry; in ParseDnsResponse() local
1185 Dns4CacheEntry = NULL; in ParseDnsResponse()
1431 if (Dns4CacheEntry != NULL) { in ParseDnsResponse()
1432 if (Dns4CacheEntry->HostName != NULL) { in ParseDnsResponse()
1433 FreePool (Dns4CacheEntry->HostName); in ParseDnsResponse()
1436 if (Dns4CacheEntry->IpAddress != NULL) { in ParseDnsResponse()
1437 FreePool (Dns4CacheEntry->IpAddress); in ParseDnsResponse()
1440 FreePool (Dns4CacheEntry); in ParseDnsResponse()
1446 Dns4CacheEntry = AllocateZeroPool (sizeof (EFI_DNS4_CACHE_ENTRY)); in ParseDnsResponse()
1447 if (Dns4CacheEntry == NULL) { in ParseDnsResponse()
1451 … Dns4CacheEntry->HostName = AllocateZeroPool (2 * (StrLen(Dns4TokenEntry->QueryHostName) + 1)); in ParseDnsResponse()
1452 if (Dns4CacheEntry->HostName == NULL) { in ParseDnsResponse()
1456 …CopyMem (Dns4CacheEntry->HostName, Dns4TokenEntry->QueryHostName, 2 * (StrLen(Dns4TokenEntry->Quer… in ParseDnsResponse()
1457 Dns4CacheEntry->IpAddress = AllocateZeroPool (sizeof (EFI_IPv4_ADDRESS)); in ParseDnsResponse()
1458 if (Dns4CacheEntry->IpAddress == NULL) { in ParseDnsResponse()
1462 CopyMem (Dns4CacheEntry->IpAddress, AnswerData, sizeof (EFI_IPv4_ADDRESS)); in ParseDnsResponse()
1463 Dns4CacheEntry->Timeout = AnswerSection->Ttl; in ParseDnsResponse()
1465 UpdateDns4Cache (&mDriverData->Dns4CacheList, FALSE, TRUE, *Dns4CacheEntry); in ParseDnsResponse()
1585 if (Dns4CacheEntry != NULL) { in ParseDnsResponse()
1586 if (Dns4CacheEntry->HostName != NULL) { in ParseDnsResponse()
1587 FreePool (Dns4CacheEntry->HostName); in ParseDnsResponse()
1590 if (Dns4CacheEntry->IpAddress != NULL) { in ParseDnsResponse()
1591 FreePool (Dns4CacheEntry->IpAddress); in ParseDnsResponse()
1594 FreePool (Dns4CacheEntry); in ParseDnsResponse()